summaryrefslogtreecommitdiffstats
path: root/bin/lvc/run_test_suite
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-04-28 18:21:04 +0200
committerHolger Levsen <holger@layer-acht.org>2016-04-28 21:52:10 +0200
commit268339aa08aebba31eba5ab49c79ca5c85c85b56 (patch)
tree3fb8bc5cd34f3fc088d7b9bdcbc52cca165d2ce0 /bin/lvc/run_test_suite
parentda080c472fc415b0ce918f4dd4a1ab143bb1bca4 (diff)
downloadjenkins.debian.net-268339aa08aebba31eba5ab49c79ca5c85c85b56.tar.xz
lvc based off of recent Tails
Diffstat (limited to 'bin/lvc/run_test_suite')
-rwxr-xr-xbin/lvc/run_test_suite17
1 files changed, 5 insertions, 12 deletions
diff --git a/bin/lvc/run_test_suite b/bin/lvc/run_test_suite
index 154a4a6c..5b40c389 100755
--- a/bin/lvc/run_test_suite
+++ b/bin/lvc/run_test_suite
@@ -264,20 +264,13 @@ fi
export SIKULI_HOME="/usr/share/java"
export SIKULI_IMAGE_PATH="/srv/jenkins/features/images/"
export RUBYLIB="/srv/jenkins"
-export FEATURE_PATH="/srv/jenkins/features"
export VM_XML_PATH="/srv/jenkins/features/domains"
export DISPLAY=${TARGET_DISPLAY}
-CUCUMBEROPTS="--verbose --backtrace --expand"
check_dependencies cucumber
-set -x
+# cludge ruby to stop buffering output
+RUBY_STDOUT_SYNC=$TMPDIR/.stdout-sync.rb
+echo STDOUT.sync = true > $RUBY_STDOUT_SYNC
+export RUBYOPT="-r $RUBY_STDOUT_SYNC"
-if [ -z "${*}" ]; then
- cucumber $CUCUMBEROPTS --format ExtraHooks::Pretty $FEATURE_PATH
-else
- FEATURES=""
- for f in ${*} ; do
- FEATURES="$FEATURES $FEATURE_PATH/$f"
- done
- cucumber $CUCUMBEROPTS --format ExtraHooks::Pretty $FEATURE_PATH/step_definitions $FEATURE_PATH/support $FEATURES
-fi
+cucumber ${@}