From a70412de32dd215966e507f6c3db399830420219 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 17 Nov 2015 00:57:55 +0100 Subject: torbrowser tests: new job to test tbb-l from sid on jessie --- bin/test_torbrowser-launcher.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'bin/test_torbrowser-launcher.sh') diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh index b5bb20b4..a8afe74b 100755 --- a/bin/test_torbrowser-launcher.sh +++ b/bin/test_torbrowser-launcher.sh @@ -261,6 +261,7 @@ if [ -z "$1" ] ; then exit 1 fi SUITE=$1 +UPGRADE_SUITE="" TMPDIR=$(mktemp -d) # where everything actually happens TBL_LOGFILE=$(mktemp) SESSION="tbb-launcher-$SUITE-$(basename $TMPDIR)" @@ -280,9 +281,11 @@ if [ "$2" = "git" ] ; then cp -r * $TMPDIR/git elif [ "$SUITE" = "experimental" ] || [ "$2" = "experimental" ] ; then SUITE=unstable - EXPERIMENTAL=yes + UPGRADE_SUITE=experimental elif [ "$2" = "backports" ] ; then - BACKPORTS=yes + UPGRADE_SUITE=$SUITE-backports +elif [ "$2" = "unstable" ] ; then + UPGRADE_SUITE=unstable fi WORKSPACE=$(pwd) RESULTS=$WORKSPACE/results @@ -299,10 +302,8 @@ echo "$(date -u) - testing torbrowser-launcher on $SUITE now." begin_session if [ "$2" = "git" ] ; then build_and_upgrade_to_git_version -elif [ "$EXPERIMENTAL" = "yes" ] ; then - upgrade_to_newer_packaged_version_in experimental -elif [ "$BACKPORTS" = "yes" ] ; then - upgrade_to_newer_packaged_version_in $SUITE-backports +elif [ -n "$UPGRADE_SUITE" ] ; then + upgrade_to_newer_packaged_version_in $UPGRADE_SUITE fi download_and_launch end_session -- cgit v1.2.3-70-g09d2