diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-12-17 13:12:57 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2014-03-14 21:16:51 +0000 |
commit | 38bfbc174c8098ed9c247ecf4af0242538521228 (patch) | |
tree | 6ac58d1bf14c50f5331f8936e2003cc4d4187428 | |
parent | 8be0f8c5b56c66851bb8cd67721c0b66ca78ef31 (diff) |
Conditionalize tinderbox differences on TINDERBOX env var
Conditionalize tinderbox differences on TINDERBOX env var, which is set in the
tinderbox cron script
-rwxr-xr-x | cronscript | 2 | ||||
-rw-r--r-- | jhbuildrc | 11 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,5 @@ +export TINDERBOX=1 + # bring xorg.modules up-to-date cd /jhbuild/checkout/xorg/util/modular/ git pull --rebase --quiet >/dev/null @@ -3,7 +3,10 @@ # moduleset = '/jhbuild/xorg.modules' -modules = [ 'xwin', 'xorg', 'extras', 'tests' ] +if 'TINDERBOX' in os.environ: + modules = [ 'xwin', 'xorg', 'extras', 'tests' ] +else: + modules = [ 'xwin', 'xorg' ] # skip building stuff which isn't appropriate for target # skip building all drivers apart from xf86-video-dummy and xf86-video-nested @@ -55,7 +58,8 @@ skip = [ 'appplewmproto', 'libAppleWM', 'xf86-video-xgixp' ] build_policy = 'updated-deps' -nopoison = True +if 'TINDERBOX' in os.environ: + nopoison = True # source checkout, build and install directories checkoutroot = '/jhbuild/checkout' @@ -107,4 +111,5 @@ module_autogenargs['pixman'] = autogenargs + ' --disable-openmp' noxvfb = True # always run 'make check' -makecheck = True +if 'TINDERBOX' in os.environ: + makecheck = True |