Always build dummy backend if building tests

The libardour tests require the dummy backend to be present.
This commit is contained in:
David Robillard 2016-12-04 15:13:19 -05:00
parent 7d2ed46b63
commit 4c92d75cbe
1 changed files with 3 additions and 1 deletions

View File

@ -1140,6 +1140,8 @@ int main () { return 0; }
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")