aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-lava-jobs-submit.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-05-01 15:57:56 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2019-05-01 15:57:56 +0200
commit498dd4a921bfc0dc4e457d72f08c6687e60a9a18 (patch)
tree2a9b8cd28dd8fc4d2d54e7b6d830445526cd795a /jjb/common/include-agl-lava-jobs-submit.sh
parent8ed94f54d94a5fbd0a50c30517ecd3f541050199 (diff)
Add test scripts for CIBT cases
and adapt the common job to not use '' . Change-Id: I15b4fa1a4ab181c55c53885fb746cfd56403c698 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-lava-jobs-submit.sh')
-rw-r--r--jjb/common/include-agl-lava-jobs-submit.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh
index ae980424..bac0c701 100644
--- a/jjb/common/include-agl-lava-jobs-submit.sh
+++ b/jjb/common/include-agl-lava-jobs-submit.sh
@@ -4,7 +4,12 @@
# Submit LAVA YAML job file (default testjob.yaml) to first available LAVA lab
# with matching device-type
#
-JOB_FILE=${1:-testjob.yaml}
+#JOB_FILE=${1:-testjob.yaml}
+JOB_FILE=testjob.yaml
+
+if [ ! -e $JOB_FILE ]; then
+ JOB_FILE=$1
+fi
if [ ! -e $JOB_FILE ]; then
echo "ERROR: LAVA job file $JOB_FILE not present."