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

Side by Side Diff: crosstest/runtests.sh

Issue 362463002: Subzero: lower the rest of the atomic operations. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: comment cleanup Created 6 years, 5 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 --driver=test_global_main.cpp \ 55 --driver=test_global_main.cpp \
56 --output=test_global_O${optlevel} 56 --output=test_global_O${optlevel}
57 57
58 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ 58 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
59 --dir="${OUTDIR}" \ 59 --dir="${OUTDIR}" \
60 --llvm-bin-path="${LLVM_BIN_PATH}" \ 60 --llvm-bin-path="${LLVM_BIN_PATH}" \
61 --test=test_icmp.cpp \ 61 --test=test_icmp.cpp \
62 --driver=test_icmp_main.cpp \ 62 --driver=test_icmp_main.cpp \
63 --output=test_icmp_O${optlevel} 63 --output=test_icmp_O${optlevel}
64 64
65 # Compile the non-subzero object files straight from source
66 # since the native LLVM backend does not understand how to
67 # lower NaCl-specific intrinsics.
68 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
69 --dir="${OUTDIR}" \
70 --llvm-bin-path="${LLVM_BIN_PATH}" \
71 --test=test_sync_atomic.cpp \
72 --crosstest-bitcode=0 \
73 --driver=test_sync_atomic_main.cpp \
74 --output=test_sync_atomic_O${optlevel}
75
65 done 76 done
66 77
67 for optlevel in ${OPTLEVELS} ; do 78 for optlevel in ${OPTLEVELS} ; do
68 "${OUTDIR}"/simple_loop_O${optlevel} 79 "${OUTDIR}"/simple_loop_O${optlevel}
69 "${OUTDIR}"/mem_intrin_O${optlevel} 80 "${OUTDIR}"/mem_intrin_O${optlevel}
70 "${OUTDIR}"/test_arith_O${optlevel} 81 "${OUTDIR}"/test_arith_O${optlevel}
71 "${OUTDIR}"/test_cast_O${optlevel} 82 "${OUTDIR}"/test_cast_O${optlevel}
72 "${OUTDIR}"/test_fcmp_O${optlevel} 83 "${OUTDIR}"/test_fcmp_O${optlevel}
73 "${OUTDIR}"/test_global_O${optlevel} 84 "${OUTDIR}"/test_global_O${optlevel}
74 "${OUTDIR}"/test_icmp_O${optlevel} 85 "${OUTDIR}"/test_icmp_O${optlevel}
86 "${OUTDIR}"/test_sync_atomic_O${optlevel}
75 done 87 done
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698