From 04a389ca22184133efe626dc83d8e8951c802551 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Sun, 11 Jan 2015 20:08:46 -0500 Subject: [PATCH] 3021: Add workbench_profile target. Rename _performance to _benchmark. These names match the rake tasks, test:benchmark and test:profile. --- jenkins/run-tests.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/jenkins/run-tests.sh b/jenkins/run-tests.sh index 14a0a69fa6..e561816f77 100755 --- a/jenkins/run-tests.sh +++ b/jenkins/run-tests.sh @@ -47,7 +47,8 @@ https://arvados.org/projects/arvados/wiki/Running_tests Available tests: apps/workbench -apps/workbench_performance +apps/workbench_benchmark +apps/workbench_profile doc services/api services/crunchstat @@ -170,6 +171,7 @@ sanity_checks() { declare -a failures declare -A skip declare -A testargs +skip[apps/workbench_profile]=1 while [[ -n "$1" ]] do @@ -562,11 +564,17 @@ test_workbench() { } do_test apps/workbench workbench -test_workbench_performance() { +test_workbench_benchmark() { cd "$WORKSPACE/apps/workbench" \ - && RAILS_ENV=test bundle exec rake test:benchmark + && RAILS_ENV=test bundle exec rake test:benchmark ${testargs[apps/workbench_benchmark]} } -do_test apps/workbench_performance workbench_performance +do_test apps/workbench_benchmark workbench_benchmark + +test_workbench_profile() { + cd "$WORKSPACE/apps/workbench" \ + && RAILS_ENV=test bundle exec rake test:profile ${testargs[apps/workbench_profile]} +} +do_test apps/workbench_profile workbench_profile report_outcomes clear_temp -- 2.30.2