projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b9fef1
)
"arvbox run test" is --interactive if not run with any other arguments.
author
Peter Amstutz <pamstutz@veritasgenetics.com>
Mon, 17 Jun 2019 14:53:56 +0000
(10:53 -0400)
committer
Peter Amstutz <pamstutz@veritasgenetics.com>
Mon, 17 Jun 2019 14:53:56 +0000
(10:53 -0400)
no issue #
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
tools/arvbox/bin/arvbox
patch
|
blob
|
history
diff --git
a/tools/arvbox/bin/arvbox
b/tools/arvbox/bin/arvbox
index 3e829522af24de67e134166e8dc227b2ba7b9b61..efcad7f44c976e5118027e87e4e4d8d0ac100f5d 100755
(executable)
--- a/
tools/arvbox/bin/arvbox
+++ b/
tools/arvbox/bin/arvbox
@@
-275,6
+275,11
@@
run() {
/var/lib/arvbox/service/api/run-service --only-setup
fi
+ interactive=""
+ if [[ -z "$@" ]] ; then
+ interactive=--interactive
+ fi
+
docker exec -ti \
-e LINES=$(tput lines) \
-e COLUMNS=$(tput cols) \
@@
-285,6
+290,7
@@
run() {
/usr/local/lib/arvbox/runsu.sh \
/usr/src/arvados/build/run-tests.sh \
--temp /var/lib/arvados/test \
+ $interactive \
"$@"
elif [[ "$CONFIG" = devenv ]] ; then
if [[ $need_setup = 1 ]] ; then