summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-12-04 15:13:19 -0500
committerDavid Robillard <d@drobilla.net>2016-12-04 15:13:19 -0500
commit4c92d75cbe1689fac3158c775a15a3f693417d52 (patch)
treefdd4a20358d02c12ab965e16e51d92cfc750729f /wscript
parent7d2ed46b63821cc9d9bdd5d2366eaaf00726d3fc (diff)
Always build dummy backend if building tests
The libardour tests require the dummy backend to be present.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/wscript b/wscript
index a7dd5e2c2c..0c9b235c13 100644
--- a/wscript
+++ b/wscript
@@ -1138,8 +1138,10 @@ int main () { return 0; }
if opts.no_threaded_waveviews:
conf.define('NO_THREADED_WAVEVIEWS', 1)
conf.env['NO_THREADED_WAVEVIEWS'] = True
-
+
backends = opts.with_backends.split(',')
+ if opts.build_tests and 'dummy' not in backends:
+ backends += ['dummy']
if not backends:
print("Must configure and build at least one backend")