Always build dummy backend if building tests
The libardour tests require the dummy backend to be present.
This commit is contained in:
parent
7d2ed46b63
commit
4c92d75cbe
4
wscript
4
wscript
@ -1138,8 +1138,10 @@ int main () { return 0; }
|
|||||||
if opts.no_threaded_waveviews:
|
if opts.no_threaded_waveviews:
|
||||||
conf.define('NO_THREADED_WAVEVIEWS', 1)
|
conf.define('NO_THREADED_WAVEVIEWS', 1)
|
||||||
conf.env['NO_THREADED_WAVEVIEWS'] = True
|
conf.env['NO_THREADED_WAVEVIEWS'] = True
|
||||||
|
|
||||||
backends = opts.with_backends.split(',')
|
backends = opts.with_backends.split(',')
|
||||||
|
if opts.build_tests and 'dummy' not in backends:
|
||||||
|
backends += ['dummy']
|
||||||
|
|
||||||
if not backends:
|
if not backends:
|
||||||
print("Must configure and build at least one backend")
|
print("Must configure and build at least one backend")
|
||||||
|
Loading…
Reference in New Issue
Block a user