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 21 matching lines...) Expand all Loading... |
32 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 32 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
33 --test=test_arith.cpp \ | 33 --test=test_arith.cpp \ |
34 --test=test_arith_frem.ll \ | 34 --test=test_arith_frem.ll \ |
35 --test=test_arith_sqrt.ll \ | 35 --test=test_arith_sqrt.ll \ |
36 --driver=test_arith_main.cpp \ | 36 --driver=test_arith_main.cpp \ |
37 --output=test_arith_O${optlevel} | 37 --output=test_arith_O${optlevel} |
38 | 38 |
39 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ | 39 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
40 --dir="${OUTDIR}" \ | 40 --dir="${OUTDIR}" \ |
41 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 41 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
| 42 --test=test_bitmanip.cpp --test=test_bitmanip_intrin.ll \ |
| 43 --driver=test_bitmanip_main.cpp \ |
| 44 --output=test_bitmanip_O${optlevel} |
| 45 |
| 46 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
| 47 --dir="${OUTDIR}" \ |
| 48 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
42 --test=test_cast.cpp --test=test_cast_to_u1.ll \ | 49 --test=test_cast.cpp --test=test_cast_to_u1.ll \ |
43 --driver=test_cast_main.cpp \ | 50 --driver=test_cast_main.cpp \ |
44 --output=test_cast_O${optlevel} | 51 --output=test_cast_O${optlevel} |
45 | 52 |
46 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ | 53 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
47 --dir="${OUTDIR}" \ | 54 --dir="${OUTDIR}" \ |
48 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 55 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
49 --test=test_fcmp.pnacl.ll \ | 56 --test=test_fcmp.pnacl.ll \ |
50 --driver=test_fcmp_main.cpp \ | 57 --driver=test_fcmp_main.cpp \ |
51 --output=test_fcmp_O${optlevel} | 58 --output=test_fcmp_O${optlevel} |
(...skipping 22 matching lines...) Expand all Loading... |
74 --crosstest-bitcode=0 \ | 81 --crosstest-bitcode=0 \ |
75 --driver=test_sync_atomic_main.cpp \ | 82 --driver=test_sync_atomic_main.cpp \ |
76 --output=test_sync_atomic_O${optlevel} | 83 --output=test_sync_atomic_O${optlevel} |
77 | 84 |
78 done | 85 done |
79 | 86 |
80 for optlevel in ${OPTLEVELS} ; do | 87 for optlevel in ${OPTLEVELS} ; do |
81 "${OUTDIR}"/simple_loop_O${optlevel} | 88 "${OUTDIR}"/simple_loop_O${optlevel} |
82 "${OUTDIR}"/mem_intrin_O${optlevel} | 89 "${OUTDIR}"/mem_intrin_O${optlevel} |
83 "${OUTDIR}"/test_arith_O${optlevel} | 90 "${OUTDIR}"/test_arith_O${optlevel} |
| 91 "${OUTDIR}"/test_bitmanip_O${optlevel} |
84 "${OUTDIR}"/test_cast_O${optlevel} | 92 "${OUTDIR}"/test_cast_O${optlevel} |
85 "${OUTDIR}"/test_fcmp_O${optlevel} | 93 "${OUTDIR}"/test_fcmp_O${optlevel} |
86 "${OUTDIR}"/test_global_O${optlevel} | 94 "${OUTDIR}"/test_global_O${optlevel} |
87 "${OUTDIR}"/test_icmp_O${optlevel} | 95 "${OUTDIR}"/test_icmp_O${optlevel} |
88 "${OUTDIR}"/test_sync_atomic_O${optlevel} | 96 "${OUTDIR}"/test_sync_atomic_O${optlevel} |
89 done | 97 done |
OLD | NEW |