testing: allow building without client-test
The nightly testing always built client-test. When compiling for EDS 3.6, we don't actually run any tests on the build platform, so in that case it was not immediately possible to build client-test (no cppunit installed). We could build it now, but there's simply no need for it, so save the time and skip it.
This commit is contained in:
parent
db5f24e10d
commit
6e47a118da
1 changed files with 11 additions and 5 deletions
|
@ -992,11 +992,17 @@ if options.prebuilt:
|
|||
compile.builddir = options.prebuilt
|
||||
compile.installdir = os.path.join(options.prebuilt, "../install")
|
||||
else:
|
||||
compile = SyncEvolutionBuild("compile",
|
||||
sync.basedir,
|
||||
"%s %s" % (options.configure, " ".join(source)),
|
||||
options.shell,
|
||||
[ libsynthesis.name, sync.name ])
|
||||
if enabled["compile"] == "no-tests":
|
||||
# Regular build.
|
||||
build = AutotoolsBuild
|
||||
else:
|
||||
# Also build client-test.
|
||||
build = SyncEvolutionBuild
|
||||
compile = build("compile",
|
||||
sync.basedir,
|
||||
"%s %s" % (options.configure, " ".join(source)),
|
||||
options.shell,
|
||||
[ libsynthesis.name, sync.name ])
|
||||
context.add(compile)
|
||||
|
||||
class SyncEvolutionCross(AutotoolsBuild):
|
||||
|
|
Loading…
Reference in a new issue