Test tweaks.

git-svn-id: svn://localhost/ardour2/branches/3.0@9074 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-04 17:35:10 +00:00
parent cbf530b6b5
commit 98248aeb68
3 changed files with 5 additions and 1 deletions

View file

@ -15,6 +15,9 @@ export LD_LIBRARY_PATH=$libs/audiographer:$libs/vamp-sdk:$libs/surfaces:$libs/su
if [ "$1" == "--debug" ]
then
gdb ./libs/pbd/run-tests
elif [ "$1" == "--valgrind" ]
then
valgrind --tool="memcheck" ./libs/pbd/run-tests
else
./libs/pbd/run-tests
fi

View file

@ -43,5 +43,5 @@ ScalarPropertiesTest::testBasic ()
PropertyTemplate<int>* t = dynamic_cast<Property<int>*> (changes.begin()->second);
CPPUNIT_ASSERT (t);
CPPUNIT_ASSERT (t->val() == 4);
CPPUNIT_ASSERT (t->val() == 5);
}

View file

@ -134,6 +134,7 @@ def build(bld):
test/testrunner.cc
test/xpath.cc
test/scalar_properties.cc
test/signals_test.cc
'''.split()
testobj.target = 'run-tests'
testobj.includes = obj.includes + ['test', '../pbd']