OLD | NEW |
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 # since the native LLVM backend does not understand how to | 75 # since the native LLVM backend does not understand how to |
76 # lower NaCl-specific intrinsics. | 76 # lower NaCl-specific intrinsics. |
77 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ | 77 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
78 --dir="${OUTDIR}" \ | 78 --dir="${OUTDIR}" \ |
79 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 79 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
80 --test=test_sync_atomic.cpp \ | 80 --test=test_sync_atomic.cpp \ |
81 --crosstest-bitcode=0 \ | 81 --crosstest-bitcode=0 \ |
82 --driver=test_sync_atomic_main.cpp \ | 82 --driver=test_sync_atomic_main.cpp \ |
83 --output=test_sync_atomic_O${optlevel} | 83 --output=test_sync_atomic_O${optlevel} |
84 | 84 |
| 85 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
| 86 --dir="${OUTDIR}" \ |
| 87 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
| 88 --test=test_vector_ops.ll \ |
| 89 --driver=test_vector_ops_main.cpp \ |
| 90 --output=test_vector_ops_O${optlevel} |
| 91 |
85 done | 92 done |
86 | 93 |
87 for optlevel in ${OPTLEVELS} ; do | 94 for optlevel in ${OPTLEVELS} ; do |
88 "${OUTDIR}"/simple_loop_O${optlevel} | 95 "${OUTDIR}"/simple_loop_O${optlevel} |
89 "${OUTDIR}"/mem_intrin_O${optlevel} | 96 "${OUTDIR}"/mem_intrin_O${optlevel} |
90 "${OUTDIR}"/test_arith_O${optlevel} | 97 "${OUTDIR}"/test_arith_O${optlevel} |
91 "${OUTDIR}"/test_bitmanip_O${optlevel} | 98 "${OUTDIR}"/test_bitmanip_O${optlevel} |
92 "${OUTDIR}"/test_cast_O${optlevel} | 99 "${OUTDIR}"/test_cast_O${optlevel} |
93 "${OUTDIR}"/test_fcmp_O${optlevel} | 100 "${OUTDIR}"/test_fcmp_O${optlevel} |
94 "${OUTDIR}"/test_global_O${optlevel} | 101 "${OUTDIR}"/test_global_O${optlevel} |
95 "${OUTDIR}"/test_icmp_O${optlevel} | 102 "${OUTDIR}"/test_icmp_O${optlevel} |
96 "${OUTDIR}"/test_sync_atomic_O${optlevel} | 103 "${OUTDIR}"/test_sync_atomic_O${optlevel} |
| 104 "${OUTDIR}"/test_vector_ops_O${optlevel} |
97 done | 105 done |
OLD | NEW |