Skeleton tests for BBT_Time.
git-svn-id: svn://localhost/ardour2/branches/3.0@5942 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
a2e73bc5f7
commit
c35eae34c3
@ -312,13 +312,14 @@ def build(bld):
|
||||
lang = os.path.basename (mo).replace ('.mo', '')
|
||||
bld.install_as (os.path.join (bld.env['PREFIX'], 'share', 'locale', lang, 'LC_MESSAGES', APPNAME + '.mo'), mo)
|
||||
|
||||
if bld.env['HAVE_CPPUNIT']:
|
||||
if bld.env['BUILD_TESTS'] and bld.env['HAVE_CPPUNIT']:
|
||||
# Unit tests
|
||||
testobj = bld.new_task_gen('cxx', 'program')
|
||||
testobj.source = '''
|
||||
interpolation.cc
|
||||
tests/interpolation-test.cc
|
||||
tests/testrunner.cpp
|
||||
test/BBTTest.cpp
|
||||
test/interpolation-test.cc
|
||||
test/testrunner.cpp
|
||||
'''
|
||||
testobj.includes = obj.includes + ['../pbd/']
|
||||
testobj.uselib = 'CPPUNIT SIGCPP JACK GLIBMM SAMPLERATE'
|
||||
@ -326,7 +327,6 @@ def build(bld):
|
||||
testobj.target = 'run-tests'
|
||||
testobj.install_path = ''
|
||||
|
||||
|
||||
def shutdown():
|
||||
autowaf.shutdown()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user