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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_fcmp.pnacl.ll \ | 47 --test=test_fcmp.pnacl.ll \ |
48 --driver=test_fcmp_main.cpp \ | 48 --driver=test_fcmp_main.cpp \ |
49 --output=test_fcmp_O${optlevel} | 49 --output=test_fcmp_O${optlevel} |
50 | 50 |
51 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ | 51 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
52 --dir="${OUTDIR}" \ | 52 --dir="${OUTDIR}" \ |
53 --llvm-bin-path="${LLVM_BIN_PATH}" \ | 53 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
| 54 --test=test_global.cpp \ |
| 55 --driver=test_global_main.cpp \ |
| 56 --output=test_global_O${optlevel} |
| 57 |
| 58 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
| 59 --dir="${OUTDIR}" \ |
| 60 --llvm-bin-path="${LLVM_BIN_PATH}" \ |
54 --test=test_icmp.cpp \ | 61 --test=test_icmp.cpp \ |
55 --driver=test_icmp_main.cpp \ | 62 --driver=test_icmp_main.cpp \ |
56 --output=test_icmp_O${optlevel} | 63 --output=test_icmp_O${optlevel} |
57 | 64 |
58 done | 65 done |
59 | 66 |
60 for optlevel in ${OPTLEVELS} ; do | 67 for optlevel in ${OPTLEVELS} ; do |
61 "${OUTDIR}"/simple_loop_O${optlevel} | 68 "${OUTDIR}"/simple_loop_O${optlevel} |
62 "${OUTDIR}"/mem_intrin_O${optlevel} | 69 "${OUTDIR}"/mem_intrin_O${optlevel} |
63 "${OUTDIR}"/test_arith_O${optlevel} | 70 "${OUTDIR}"/test_arith_O${optlevel} |
64 "${OUTDIR}"/test_cast_O${optlevel} | 71 "${OUTDIR}"/test_cast_O${optlevel} |
65 "${OUTDIR}"/test_fcmp_O${optlevel} | 72 "${OUTDIR}"/test_fcmp_O${optlevel} |
| 73 "${OUTDIR}"/test_global_O${optlevel} |
66 "${OUTDIR}"/test_icmp_O${optlevel} | 74 "${OUTDIR}"/test_icmp_O${optlevel} |
67 done | 75 done |
OLD | NEW |