diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-09-20 17:13:11 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-09-20 17:13:11 -0700 |
commit | 8899727827ffe8eeb501413113c1dd1081f88f64 (patch) | |
tree | a93c9dd810b2225d1d4601237e706159d60feba6 | |
parent | 7d986946b7dca88823dcc3fbe004c14dd2dc863f (diff) |
Fix perf-tests.sh to skip building non-upb tests.
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | perf-tests.sh | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -295,6 +295,10 @@ BENCHMARKS=$(UPB_BENCHMARKS) \ upb_benchmarks: $(UPB_BENCHMARKS) benchmarks: $(BENCHMARKS) +upb_benchmark: $(UPB_BENCHMARKS) + @rm -f benchmarks/results + @rm -rf benchmarks/*.dSYM + @for test in benchmarks/b.* ; do ./$$test ; done benchmark: $(BENCHMARKS) @rm -f benchmarks/results @rm -rf benchmarks/*.dSYM diff --git a/perf-tests.sh b/perf-tests.sh index 7bdbee0..e3427f6 100755 --- a/perf-tests.sh +++ b/perf-tests.sh @@ -18,7 +18,7 @@ run_with_flags () { make clean echo "$FLAGS" > perf-cppflags make upb_benchmarks - make benchmark | sed -e "s/^/$NAME./g" | tee -a perf-tests.out + make upb_benchmark | sed -e "s/^/$NAME./g" | tee -a perf-tests.out } #if [ x`uname -m` = xx86_64 ]; then |