15615: Don't use -v for workbench_profile/benchmark.
authorTom Clegg <tclegg@veritasgenetics.com>
Thu, 12 Sep 2019 19:57:02 +0000 (15:57 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Thu, 12 Sep 2019 19:57:02 +0000 (15:57 -0400)
Verbose mode causes benchmarks to fail.

.../.gem/ruby/2.5.0/gems/railties-5.0.7.2/lib/rails/test_unit/reporter.rb:66:in
`%': can't convert nil into Float (TypeError)

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

build/run-tests.sh

index ea4d6e4bd219a00366352d6b94572717b91965f5..ec6ced222663a046090f1fbc9d89a26355964387 100755 (executable)
@@ -1107,13 +1107,13 @@ test_apps/workbench_integration() {
 test_apps/workbench_benchmark() {
     local TASK="test:benchmark"
     cd "$WORKSPACE/apps/workbench" \
-        && eval env RAILS_ENV=test ${short:+RAILS_TEST_SHORT=1} bundle exec rake ${TASK} TESTOPTS=\'-v -d\' ${testargs[apps/workbench_benchmark]}
+        && eval env RAILS_ENV=test ${short:+RAILS_TEST_SHORT=1} bundle exec rake ${TASK} ${testargs[apps/workbench_benchmark]}
 }
 
 test_apps/workbench_profile() {
     local TASK="test:profile"
     cd "$WORKSPACE/apps/workbench" \
-        && eval env RAILS_ENV=test ${short:+RAILS_TEST_SHORT=1} bundle exec rake ${TASK} TESTOPTS=\'-v -d\' ${testargs[apps/workbench_profile]}
+        && eval env RAILS_ENV=test ${short:+RAILS_TEST_SHORT=1} bundle exec rake ${TASK} ${testargs[apps/workbench_profile]}
 }
 
 install_deps() {