Vsperf CI: Fix setting of Python3 environment 87/5587/1
authorRadek Zetik <radekx.zetik@intel.com>
Tue, 5 Jan 2016 14:57:39 +0000 (14:57 +0000)
committerRadek Zetik <radekx.zetik@intel.com>
Tue, 5 Jan 2016 14:57:39 +0000 (14:57 +0000)
The patch contains new calling of 'scl' utility.
The 'bash' must have been replaced by direct calling.

JIRA: VSPERF-156

Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Aric Gardner <agardner@linuxfoundation.org>
Reviewed-by: Xinyu Zhao(Jerry) <zhaoxinyu@huawei.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Reviewed-by: Ulrich Kleber <Ulrich.Kleber@huawei.com>
jjb/vswitchperf/vswitchperf.yml

index 3344e18..16b7d9e 100644 (file)
             make
             # run basic sanity test
             make sanity
-            scl enable python33 bash
-            source ~/vsperfenv/bin/activate
             cd ../ci
-            ./build-vsperf.sh daily
+            scl enable python33 "source ~/vsperfenv/bin/activate ; ./build-vsperf.sh daily"
 
 - job-template:
     name: 'vswitchperf-verify-{stream}'