pass build env : (personality x fcdistro x pldistro) to test env for vserver creation
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 18 Sep 2008 18:44:30 +0000 (18:44 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 18 Sep 2008 18:44:30 +0000 (18:44 +0000)
vbuild-nightly.sh

index 8e86a3d..da86c9b 100755 (executable)
@@ -214,10 +214,11 @@ function runtest () {
     for config in ${TESTCONFIG} ; do
        configs="$configs --config $config"
     done
-    
+    test_env="-p $PERSONALITY -d $PLDISTRO -f $FCDISTRO"
+
     # need to proceed despite of set -e
     success=true
-    ssh 2>&1 -n ${TESTBOXSSH} ${testdir}/runtest --build ${SVNPATH} --url ${url} $configs --all || success=
+    ssh 2>&1 -n ${TESTBOXSSH} ${testdir}/runtest --build ${SVNPATH} --url ${url} $configs $test_env --all || success=
 
     # gather logs in the vserver
     mkdir -p /vservers/$BASE/build/testlogs