summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2013-06-07 08:59:22 (GMT)
committer Vincent Sanders <vincent.sanders@collabora.co.uk>2013-06-07 08:59:22 (GMT)
commit2c7eb2a9710710079c39419c4838d81a320c1a70 (patch)
tree3ef1e04d777502c75fcf2aa4b2aa8773fd4d2945
parent396c5a5ff53acd5042600ec72368ec139f9345e5 (diff)
downloadbuildsystem-2c7eb2a9710710079c39419c4838d81a320c1a70.tar.gz
buildsystem-2c7eb2a9710710079c39419c4838d81a320c1a70.tar.bz2
make jenkins ci build script diferentiate between default and explicit test-install
-rwxr-xr-xcitools/jenkins-build.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/citools/jenkins-build.sh b/citools/jenkins-build.sh
index cfed262..90ac9b1 100755
--- a/citools/jenkins-build.sh
+++ b/citools/jenkins-build.sh
@@ -73,7 +73,14 @@ case "$1" in
export CCACHE=
;;
- "test-install"|"")
+ "test-install")
+ # Perfom test if being executed on native target
+ TARGET_TEST=${NATIVE_TARGET}
+ TARGET_INSTALL=${TARGET}
+ ;;
+
+ "")
+ # default is test only on Linux and install
# Currently most tests do not work on targets except for Linux
# TARGET_TEST=${NATIVE_TARGET}
TARGET_TEST="Linux"