aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/jenkins/run_portability.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jenkins/run_portability.sh')
-rwxr-xr-xtools/jenkins/run_portability.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/jenkins/run_portability.sh b/tools/jenkins/run_portability.sh
index 82aaa935c6..6f15da73f4 100755
--- a/tools/jenkins/run_portability.sh
+++ b/tools/jenkins/run_portability.sh
@@ -41,6 +41,14 @@ set -ex -o igncr || set -ex
echo "building $scenario"
+# If scenario has _bo suffix, add --build_only flag.
+# Short suffix name had to been chosen due to path length limit on Windows.
+if [ "$scenario" != "${scenario%_bo}" ]
+then
+ scenario="${scenario%_bo}"
+ BUILD_ONLY_MAYBE="--build_only"
+fi
+
parts=($(echo $scenario | tr '_' ' ')) # split scenario into parts
curr_platform=${parts[0]} # variable named 'platform' breaks the windows build
@@ -54,4 +62,4 @@ then
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
+python tools/run_tests/run_tests.py $USE_DOCKER_MAYBE $BUILD_ONLY_MAYBE -t -l $language -c $config --arch ${curr_arch} --compiler ${curr_compiler} -x report.xml -j 3 $@