Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Side by Side Diff: buildbot/buildbot_pnacl2.sh

Issue 6665045: Added new config for pnacl2 bot to test spec 2k in train mode for all platfor... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | buildbot/buildbot_selector.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Script assumed to be run in native_client/
4 if [[ $(pwd) != */native_client ]]; then
5 echo "ERROR: must be run in native_client!"
6 exit 1
7 fi
8
9 set -x
10 set -e
11 set -u
12
13
14 SCONS_COMMON="./scons --mode=opt-linux --verbose bitcode=1 -j8 -k"
15 SPEC_HARNESS=${SPEC_HARNESS:-/home/chrome-bot/cpu2000-redhat64-ia32}
16 SETUPS="SetupPnaclArmOpt SetupPnaclX8632Opt SetupPnaclX8664Opt SetupPnaclTransla torX8632Opt"
17
18 # Rought test running time classification for ARM which is our bottleneck
jvoung - send to chromium... 2011/03/16 22:28:30 s/Rought/Rough/
19 FAST_ARM="176.gcc 179.art 181.mcf 186.crafty 197.parser 254.gap 255.vortex 300.t wolf"
20 MEDIUM_ARM="164.gzip 175.vpr 252.eon 256.bzip2"
21 SLOW_ARM="177.mesa 183.equake 188.ammp 253.perlbmk"
22
23 # TODO(robertm): consider increasing coverage
24 TEST_TO_BUILD="${FAST_ARM} 252.eon"
25 TEST_TO_RUN="${FAST_ARM} 252.eon"
26
27 echo @@@BUILD_STEP clobber@@@
28 rm -rf scons-out toolchain compiler hg ../xcodebuild ../sconsbuild ../out \
29 src/third_party/nacl_sdk/arm-newlib
30
31 echo @@@BUILD_STEP gclient_runhooks@@@
32 gclient runhooks --force
33
34 for platform in arm x86-32 x86-64 ; do
35 echo @@@BUILD_STEP scons sel_ldr [${platform}]@@@
36 ${SCONS_COMMON} platform=${platform} sel_ldr sel_universal
37 done
38
39 cd tests/spec2k/
40
41
42
43 for setup in ${SETUPS}; do
44 echo @@@BUILD_STEP spec2k build [${setup}] [train]@@@
45 ./run_all.sh CleanBenchmarks
46 ./run_all.sh PopulateFromSpecHarness ${SPEC_HARNESS}
47 ./run_all.sh BuildBenchmarks 0 ${setup} ${TEST_TO_BUILD}
48
49 echo @@@BUILD_STEP spec2k run [${setup}] [train]@@@
50 case ${setup} in
51 SetupPnaclArmOpt)
52 # we expect arm to diverge
53 ./run_all.sh RunBenchmarks ${setup} train ${TEST_TO_RUN}
54 ;;
55 SetupPnaclTranslatorX8632Opt)
56 ./run_all.sh RunBenchmarks ${setup} train 176.gcc
57 ;;
58 *)
59 ./run_all.sh RunBenchmarks ${setup} ${TEST_TO_RUN}
60 ;;
61 esac
62 done
OLDNEW
« no previous file with comments | « no previous file | buildbot/buildbot_selector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698