travis: make job line settings override setup file; add test
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
MODULES=""
|
||||
|
||||
BASE=R3.15.7
|
||||
BASE=${BASE:-R3.15.7}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
MODULES="sncseq asyn"
|
||||
|
||||
BASE=R3.15.6
|
||||
BASE=${BASE:-R3.15.6}
|
||||
ASYN=master
|
||||
SNCSEQ=R2-2-7
|
||||
|
||||
@@ -53,6 +53,9 @@ fn_exists add_dependency || die "function add_dependency missing from SCRIPTDIR/
|
||||
SETUP_DIRS= source_set test01 | grep -q "(SETUP_PATH) is empty" || die "empty search path not detected"
|
||||
source_set xxdoesnotexistxx | grep -q "does not exist" || die "missing setup file not detected"
|
||||
source_set test01 | grep -q "Loading setup file" || die "test01 setup file not found"
|
||||
BASE=foo
|
||||
source_set test01
|
||||
[ "$BASE" = "foo" ] || die "preset module (BASE) version does not override test01 setup file"
|
||||
|
||||
# test default settings file
|
||||
######################################################################
|
||||
|
||||
Reference in New Issue
Block a user