mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Test tweaks.
git-svn-id: svn://localhost/ardour2/branches/3.0@9074 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cbf530b6b5
commit
98248aeb68
3 changed files with 5 additions and 1 deletions
|
|
@ -15,6 +15,9 @@ export LD_LIBRARY_PATH=$libs/audiographer:$libs/vamp-sdk:$libs/surfaces:$libs/su
|
||||||
if [ "$1" == "--debug" ]
|
if [ "$1" == "--debug" ]
|
||||||
then
|
then
|
||||||
gdb ./libs/pbd/run-tests
|
gdb ./libs/pbd/run-tests
|
||||||
|
elif [ "$1" == "--valgrind" ]
|
||||||
|
then
|
||||||
|
valgrind --tool="memcheck" ./libs/pbd/run-tests
|
||||||
else
|
else
|
||||||
./libs/pbd/run-tests
|
./libs/pbd/run-tests
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -43,5 +43,5 @@ ScalarPropertiesTest::testBasic ()
|
||||||
|
|
||||||
PropertyTemplate<int>* t = dynamic_cast<Property<int>*> (changes.begin()->second);
|
PropertyTemplate<int>* t = dynamic_cast<Property<int>*> (changes.begin()->second);
|
||||||
CPPUNIT_ASSERT (t);
|
CPPUNIT_ASSERT (t);
|
||||||
CPPUNIT_ASSERT (t->val() == 4);
|
CPPUNIT_ASSERT (t->val() == 5);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,7 @@ def build(bld):
|
||||||
test/testrunner.cc
|
test/testrunner.cc
|
||||||
test/xpath.cc
|
test/xpath.cc
|
||||||
test/scalar_properties.cc
|
test/scalar_properties.cc
|
||||||
|
test/signals_test.cc
|
||||||
'''.split()
|
'''.split()
|
||||||
testobj.target = 'run-tests'
|
testobj.target = 'run-tests'
|
||||||
testobj.includes = obj.includes + ['test', '../pbd']
|
testobj.includes = obj.includes + ['test', '../pbd']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue