13
0

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

View File

@ -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")