projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af9cec
)
Improvement for run-tests.sh: support multiple occurrences of the
author
Ward Vandewege <wvandewege@veritasgenetics.com>
Thu, 23 Aug 2018 21:39:56 +0000
(17:39 -0400)
committer
Ward Vandewege <wvandewege@veritasgenetics.com>
Thu, 23 Aug 2018 21:39:56 +0000
(17:39 -0400)
--only argument - syntax fix.
No issue #
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>
build/run-tests.sh
patch
|
blob
|
history
diff --git
a/build/run-tests.sh
b/build/run-tests.sh
index 90e804a108a08a5c319336457f1e1cc1734b691c..4ddbf89c1d7ccb286fcfe887fb941734bffbb519 100755
(executable)
--- a/
build/run-tests.sh
+++ b/
build/run-tests.sh
@@
-664,9
+664,9
@@
do_test() {
;;
esac
if [[ -z "${skip[$suite]}" && -z "${skip[$1]}" && \
- (${#only[@]} -eq 0 || ${only[$suite]}
=
1 || \
- ${only[$1]}
=
1) ||
- ${only[$2]}
=
1 ]]; then
+ (${#only[@]} -eq 0 || ${only[$suite]}
-eq
1 || \
+ ${only[$1]}
-eq
1) ||
+ ${only[$2]}
-eq
1 ]]; then
retry do_test_once ${@}
else
title "Skipping ${1} tests"