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

Side by Side Diff: crosstest/runtests.sh

Issue 321993002: Add a few Subzero intrinsics (not the atomic ones yet). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: add variable length version too Created 6 years, 6 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
« no previous file with comments | « crosstest/mem_intrin_main.cpp ('k') | src/IceGlobalContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # TODO: Retire this script and move the individual tests into the lit 3 # TODO: Retire this script and move the individual tests into the lit
4 # framework, to leverage parallel testing and other lit goodness. 4 # framework, to leverage parallel testing and other lit goodness.
5 5
6 set -eux 6 set -eux
7 7
8 OPTLEVELS="m1 2" 8 OPTLEVELS="m1 2"
9 OUTDIR=Output 9 OUTDIR=Output
10 # Clean the output directory to avoid reusing stale results. 10 # Clean the output directory to avoid reusing stale results.
(...skipping 30 matching lines...) Expand all
41 --driver=test_icmp_main.cpp \ 41 --driver=test_icmp_main.cpp \
42 --output=test_icmp_O${optlevel} 42 --output=test_icmp_O${optlevel}
43 43
44 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ 44 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
45 --dir="${OUTDIR}" \ 45 --dir="${OUTDIR}" \
46 --llvm-bin-path="${LLVM_BIN_PATH}" \ 46 --llvm-bin-path="${LLVM_BIN_PATH}" \
47 --test=test_arith.cpp --test=test_arith_frem.ll \ 47 --test=test_arith.cpp --test=test_arith_frem.ll \
48 --driver=test_arith_main.cpp \ 48 --driver=test_arith_main.cpp \
49 --output=test_arith_O${optlevel} 49 --output=test_arith_O${optlevel}
50 50
51 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
52 --dir="${OUTDIR}" \
53 --llvm-bin-path="${LLVM_BIN_PATH}" \
54 --test=mem_intrin.cpp \
55 --driver=mem_intrin_main.cpp \
56 --output=mem_intrin_O${optlevel}
57
51 done 58 done
52 59
53 for optlevel in ${OPTLEVELS} ; do 60 for optlevel in ${OPTLEVELS} ; do
54 "${OUTDIR}"/simple_loop_O${optlevel} 61 "${OUTDIR}"/simple_loop_O${optlevel}
55 "${OUTDIR}"/test_cast_O${optlevel} 62 "${OUTDIR}"/test_cast_O${optlevel}
56 "${OUTDIR}"/test_fcmp_O${optlevel} 63 "${OUTDIR}"/test_fcmp_O${optlevel}
57 "${OUTDIR}"/test_icmp_O${optlevel} 64 "${OUTDIR}"/test_icmp_O${optlevel}
58 "${OUTDIR}"/test_arith_O${optlevel} 65 "${OUTDIR}"/test_arith_O${optlevel}
66 "${OUTDIR}"/mem_intrin_O${optlevel}
jvoung (off chromium) 2014/06/16 20:51:59 Should I put "test_" prefix? Keep it sorted?
Jim Stichnoth 2014/06/16 23:05:16 I guess I have no real preference here (except to
jvoung (off chromium) 2014/06/17 17:36:18 Alright, I'll leave the filename alone for now, to
59 done 67 done
OLDNEW
« no previous file with comments | « crosstest/mem_intrin_main.cpp ('k') | src/IceGlobalContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698