diff options
author | Edward Hervey <edward@centricular.com> | 2017-06-22 08:30:54 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-06-22 08:31:25 +0200 |
commit | cafe60725464e90e341a37f203aa6f8b189511ce (patch) | |
tree | 476321a3611dcb7fad91f20efae365872d590a44 | |
parent | d183b51716bf8da2522ed3053e2401dbe6c2876b (diff) |
ci-build: Allow specifying validate modules to run
With the VALIDATE_MODULES environment variable
-rwxr-xr-x | ci-build.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ci-build.sh b/ci-build.sh index d2ee441..da45cd4 100755 --- a/ci-build.sh +++ b/ci-build.sh @@ -92,6 +92,14 @@ else echo "Using specified validate HTTP port:" $VALIDATE_HTTP_PORT fi +if [ -z $VALIDATE_MODULES ]; +then + echo "Using default validate modules: validate ges" + VALIDATE_MODULES="validate ges" +else + echo "Using specified validate HTTP port:" $VALIDATE_MODULES +fi + if [ -z $WORKSPACE ]; then echo "Out-of-jenkins build" @@ -346,7 +354,7 @@ beach() build "gst-editing-services" cd $WORKSPACE mkdir -p "validate-output" - gst-validate-launcher validate ges -j3 -fs -m -n --check-bugs --fail-on-testlist-change -M $WORKSPACE/validate-output --xunit-file $WORKSPACE/xunit.xml --http-server-port $VALIDATE_HTTP_PORT + gst-validate-launcher $VALIDATE_MODULES -j3 -fs -m -n --check-bugs --fail-on-testlist-change -M $WORKSPACE/validate-output --xunit-file $WORKSPACE/xunit.xml --http-server-port $VALIDATE_HTTP_PORT fi echo |