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 12 matching lines...) Expand all Loading... |
23 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ | 23 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
24 --dir="${OUTDIR}" \ | 24 --dir="${OUTDIR}" \ |
25 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 25 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
26 --test=mem_intrin.cpp \ | 26 --test=mem_intrin.cpp \ |
27 --driver=mem_intrin_main.cpp \ | 27 --driver=mem_intrin_main.cpp \ |
28 --output=mem_intrin_O${optlevel} | 28 --output=mem_intrin_O${optlevel} |
29 | 29 |
30 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ | 30 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
31 --dir="${OUTDIR}" \ | 31 --dir="${OUTDIR}" \ |
32 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 32 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
33 --test=test_arith.cpp --test=test_arith_frem.ll \ | 33 --test=test_arith.cpp \ |
| 34 --test=test_arith_frem.ll \ |
| 35 --test=test_arith_sqrt.ll \ |
34 --driver=test_arith_main.cpp \ | 36 --driver=test_arith_main.cpp \ |
35 --output=test_arith_O${optlevel} | 37 --output=test_arith_O${optlevel} |
36 | 38 |
37 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ | 39 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
38 --dir="${OUTDIR}" \ | 40 --dir="${OUTDIR}" \ |
39 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 41 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
40 --test=test_cast.cpp --test=test_cast_to_u1.ll \ | 42 --test=test_cast.cpp --test=test_cast_to_u1.ll \ |
41 --driver=test_cast_main.cpp \ | 43 --driver=test_cast_main.cpp \ |
42 --output=test_cast_O${optlevel} | 44 --output=test_cast_O${optlevel} |
43 | 45 |
(...skipping 22 matching lines...) Expand all Loading... |
66 | 68 |
67 for optlevel in ${OPTLEVELS} ; do | 69 for optlevel in ${OPTLEVELS} ; do |
68 "${OUTDIR}"/simple_loop_O${optlevel} | 70 "${OUTDIR}"/simple_loop_O${optlevel} |
69 "${OUTDIR}"/mem_intrin_O${optlevel} | 71 "${OUTDIR}"/mem_intrin_O${optlevel} |
70 "${OUTDIR}"/test_arith_O${optlevel} | 72 "${OUTDIR}"/test_arith_O${optlevel} |
71 "${OUTDIR}"/test_cast_O${optlevel} | 73 "${OUTDIR}"/test_cast_O${optlevel} |
72 "${OUTDIR}"/test_fcmp_O${optlevel} | 74 "${OUTDIR}"/test_fcmp_O${optlevel} |
73 "${OUTDIR}"/test_global_O${optlevel} | 75 "${OUTDIR}"/test_global_O${optlevel} |
74 "${OUTDIR}"/test_icmp_O${optlevel} | 76 "${OUTDIR}"/test_icmp_O${optlevel} |
75 done | 77 done |
OLD | NEW |