summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2012-12-07 20:05:32 +0100
committerPatrick Ohly <patrick.ohly@intel.com>2012-12-07 20:09:08 +0100
commit677f2efd185718730b506af0dd283f58623f0f81 (patch)
tree1da7ad6e528b4346ea44737b5d1689308b176af8 /test
parentcabcfedae747b8a1f842e68848ddc6b22c1f0118 (diff)
testing: support --enable dist=<configure flags>
Allow the runtest.py caller to choose which kind of distcheck is done. When "dist" has parameters, then those are used as distcheck configure flags instead of trying out a set of default ones.
Diffstat (limited to 'test')
-rwxr-xr-xtest/runtests.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/runtests.py b/test/runtests.py
index ecaa6053..894a6e54 100755
--- a/test/runtests.py
+++ b/test/runtests.py
@@ -1032,9 +1032,12 @@ class SyncEvolutionDist(AutotoolsBuild):
break
if self.binsuffix:
context.runCommand("%s %s BINSUFFIX=%s distbin" % (self.runner, context.make, self.binsuffix))
- context.runCommand("%s %s distcheck" % (self.runner, context.make))
- context.runCommand("%s %s DISTCHECK_CONFIGURE_FLAGS=--enable-gui distcheck" % (self.runner, context.make))
- context.runCommand("%s %s 'DISTCHECK_CONFIGURE_FLAGS=--disable-ecal --disable-ebook' distcheck" % (self.runner, context.make))
+ if enabled["dist"] == None:
+ context.runCommand("%s %s distcheck" % (self.runner, context.make))
+ context.runCommand("%s %s DISTCHECK_CONFIGURE_FLAGS=--enable-gui distcheck" % (self.runner, context.make))
+ context.runCommand("%s %s 'DISTCHECK_CONFIGURE_FLAGS=--disable-ecal --disable-ebook' distcheck" % (self.runner, context.make))
+ else:
+ context.runCommand("%s %s 'DISTCHECK_CONFIGURE_FLAGS=%s' distcheck" % (self.runner, context.make, enabled["dist"]))
dist = SyncEvolutionDist("dist",
options.binsuffix,