Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/sh | |
| 2 | |
|
JF
2014/05/01 00:16:55
Comment explaining when to add tests here. Maybe t
Jim Stichnoth
2014/05/05 07:03:55
Actually, this script is a stop-gap until I can wr
| |
| 3 set -x | |
|
JF
2014/05/01 00:16:55
You should also set -e and set -u, and then you ca
Jim Stichnoth
2014/05/05 07:03:55
Done.
| |
| 4 | |
| 5 OUTDIR=Output | |
| 6 mkdir -p "$OUTDIR" | |
| 7 | |
| 8 ./crosstest.py -Om1 --prefix=Subzero_ --target=X8632 --dir="$OUTDIR" \ | |
| 9 --test=simple_loop.c \ | |
| 10 --driver=simple_loop_main.c \ | |
| 11 --output=simple_loop_Om1 \ | |
| 12 || exit 1 | |
| 13 | |
| 14 ./crosstest.py -Om1 --prefix=Subzero_ --target=X8632 --dir="$OUTDIR" \ | |
| 15 --test=test_cast.cpp --test=test_cast_to_u1.ll \ | |
| 16 --driver=test_cast_main.cpp \ | |
| 17 --output=test_cast_Om1 \ | |
| 18 || exit 1 | |
| 19 | |
| 20 ./crosstest.py -Om1 --prefix=Subzero_ --target=X8632 --dir="$OUTDIR" \ | |
| 21 --test=test_fcmp.pnacl.ll \ | |
| 22 --driver=test_fcmp_main.cpp \ | |
| 23 --output=test_fcmp_Om1 \ | |
| 24 || exit 1 | |
| 25 | |
| 26 ./crosstest.py -Om1 --prefix=Subzero_ --target=X8632 --dir="$OUTDIR" \ | |
| 27 --test=test_icmp.cpp \ | |
| 28 --driver=test_icmp_main.cpp \ | |
| 29 --output=test_icmp_Om1 \ | |
| 30 || exit 1 | |
| 31 | |
| 32 ./crosstest.py -Om1 --prefix=Subzero_ --target=X8632 --dir="$OUTDIR" \ | |
| 33 --test=test_arith.cpp \ | |
| 34 --driver=test_arith_main.cpp \ | |
| 35 --output=test_arith_Om1 \ | |
| 36 || exit 1 | |
| 37 | |
| 38 "$OUTDIR"/simple_loop_Om1 | |
| 39 "$OUTDIR"/test_cast_Om1 | |
| 40 "$OUTDIR"/test_fcmp_Om1 | |
| 41 "$OUTDIR"/test_icmp_Om1 | |
| 42 "$OUTDIR"/test_arith_Om1 | |
| OLD | NEW |