summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-07-26 20:32:49 +0200
committervarac <varacanero@zeromail.org>2016-07-26 20:32:49 +0200
commite8b614abd7850b8359930087d84b21515c970a71 (patch)
tree858cab951da09bbe4bd46753ba252b1c443f26ac
parentf32ca60553114813aecec1b1bd2d7827de05d86f (diff)
test cmd should use TAG
-rwxr-xr-xleap-platform-test5
1 files changed, 2 insertions, 3 deletions
diff --git a/leap-platform-test b/leap-platform-test
index eb97eb8..bbe7b85 100755
--- a/leap-platform-test
+++ b/leap-platform-test
@@ -462,12 +462,11 @@ run_tests () {
if $verbose
then
- #$LEAP_CMD $OPTS -v 2 deploy "$vm" 2>&1 | tee -a "$LOG1" "$LOG2"
- $LEAP_CMD $OPTS test --continue 2>&1 | tee -a "$TEST_LOG1" "$TEST_LOG2"
+ $LEAP_CMD $OPTS test "$TAG" --continue 2>&1 | tee -a "$TEST_LOG1" "$TEST_LOG2"
test_failure=${PIPESTATUS[0]}
egrep -iv "$TEST_FILTER" $TEST_LOG2 | tee -a "$TEST_LOG1" "$TEST_LOG2" > /dev/null
else
- $LEAP_CMD $OPTS test --continue 2>&1 | egrep -iv "$TEST_FILTER" | tee -a "$TEST_LOG1" "$TEST_LOG2"
+ $LEAP_CMD $OPTS test "$TAG" --continue 2>&1 | egrep -iv "$TEST_FILTER" | tee -a "$TEST_LOG1" "$TEST_LOG2"
test_failure=${PIPESTATUS[0]}
fi