Fix run-tests.sh --only option for the workbench suite.
authorWard Vandewege <ward@curoverse.com>
Fri, 6 Jan 2017 19:17:20 +0000 (14:17 -0500)
committerWard Vandewege <ward@curoverse.com>
Fri, 6 Jan 2017 19:18:05 +0000 (14:18 -0500)
refs #8345

build/run-tests.sh

index 0e5a33e3a30bd3da6445e7be206d97f961cdcd5e..968cd6c9bdaf5a14c0928cd6684814eb6c507076 100755 (executable)
@@ -527,7 +527,8 @@ do_test() {
             ;;
     esac
     if [[ -z "${skip[$suite]}" && -z "${skip[$1]}" && \
-                (-z "${only}" || "${only}" == "${suite}") ]]; then
+                (-z "${only}" || "${only}" == "${suite}" || \
+                 "${only}" == "${1}") ]]; then
         retry do_test_once ${@}
     else
         title "Skipping ${1} tests"