diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-01-27 15:41:22 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-01-27 15:50:18 -0800 |
commit | 9a4010da38a5763485b0bc1016703e0c31f703a3 (patch) | |
tree | 96a52d65a39a2f47e6ab99ae92bcb8e6cb9657b4 /tools | |
parent | a99687be96200652cf6c8a0559a3e31be022fb7c (diff) |
update run_portability script
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/jenkins/run_portability.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/jenkins/run_portability.sh b/tools/jenkins/run_portability.sh index f76dbd3144..82aaa935c6 100755 --- a/tools/jenkins/run_portability.sh +++ b/tools/jenkins/run_portability.sh @@ -48,12 +48,10 @@ curr_arch=${parts[1]} curr_compiler=${parts[2]} config='dbg' -maybe_build_only='--build_only' -if [ "$curr_platform" == "windows" ] +if [ "$curr_platform" == "linux" ] then - python tools/run_tests/run_tests.py -t -l $language -c $config --arch ${curr_arch} --compiler ${curr_compiler} ${maybe_build_only} -x report.xml $@ -else - echo "Unsupported scenario." - exit 1 + USE_DOCKER_MAYBE="--use_docker" fi + +python tools/run_tests/run_tests.py $USE_DOCKER_MAYBE -t -l $language -c $config --arch ${curr_arch} --compiler ${curr_compiler} -x report.xml -j 3 $@
\ No newline at end of file |