summaryrefslogtreecommitdiffstats
path: root/tests/docker/common.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docker/common.rc')
-rwxr-xr-xtests/docker/common.rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc
index e6f8cee0d6..9a33df2832 100755
--- a/tests/docker/common.rc
+++ b/tests/docker/common.rc
@@ -63,12 +63,12 @@ check_qemu()
{
# default to make check unless the caller specifies
if [ $# = 0 ]; then
- INVOCATION="check"
+ INVOCATION="${TEST_COMMAND:-make $MAKEFLAGS check}"
else
- INVOCATION="$@"
+ INVOCATION="make $MAKEFLAGS $@"
fi
- make $MAKEFLAGS $INVOCATION
+ $INVOCATION
}
test_fail()