Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: crosstest/runtests.sh

Issue 265703002: Add Om1 lowering with no optimizations (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Merge changed from Karl's committed CL Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « crosstest/crosstest.py ('k') | crosstest/simple_loop.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 # TODO: Retire this script and move the individual tests into the lit
4 # framework, to leverage parallel testing and other lit goodness.
5
6 set -eux
7
8 OPTLEVELS="m1"
9 OUTDIR=Output
10 # Clean the output directory to avoid reusing stale results.
11 rm -rf "${OUTDIR}"
12 mkdir -p "${OUTDIR}"
13
14 for optlevel in ${OPTLEVELS} ; do
15
16 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
17 --dir="${OUTDIR}" \
18 --llvm-bin-path="${LLVM_BIN_PATH}" \
19 --test=simple_loop.c \
20 --driver=simple_loop_main.c \
21 --output=simple_loop_O${optlevel}
22
23 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
24 --dir="${OUTDIR}" \
25 --llvm-bin-path="${LLVM_BIN_PATH}" \
26 --test=test_cast.cpp --test=test_cast_to_u1.ll \
27 --driver=test_cast_main.cpp \
28 --output=test_cast_O${optlevel}
29
30 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
31 --dir="${OUTDIR}" \
32 --llvm-bin-path="${LLVM_BIN_PATH}" \
33 --test=test_fcmp.pnacl.ll \
34 --driver=test_fcmp_main.cpp \
35 --output=test_fcmp_O${optlevel}
36
37 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
38 --dir="${OUTDIR}" \
39 --llvm-bin-path="${LLVM_BIN_PATH}" \
40 --test=test_icmp.cpp \
41 --driver=test_icmp_main.cpp \
42 --output=test_icmp_O${optlevel}
43
44 ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \
45 --dir="${OUTDIR}" \
46 --llvm-bin-path="${LLVM_BIN_PATH}" \
47 --test=test_arith.cpp --test=test_arith_frem.ll \
48 --driver=test_arith_main.cpp \
49 --output=test_arith_O${optlevel}
50
51 done
52
53 for optlevel in ${OPTLEVELS} ; do
54 "${OUTDIR}"/simple_loop_O${optlevel}
55 "${OUTDIR}"/test_cast_O${optlevel}
56 "${OUTDIR}"/test_fcmp_O${optlevel}
57 "${OUTDIR}"/test_icmp_O${optlevel}
58 "${OUTDIR}"/test_arith_O${optlevel}
59 done
OLDNEW
« no previous file with comments | « crosstest/crosstest.py ('k') | crosstest/simple_loop.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698