From f60c9d52dc4c3d59f6a269a0a1b435581135d408 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 13 Nov 2011 13:32:01 +0000 Subject: [PATCH] Fix some bits of the libardour unit tests. git-svn-id: svn://localhost/ardour2/branches/3.0@10564 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/run-tests.sh | 2 +- libs/ardour/test/mantis_3356.cc | 4 ++-- libs/ardour/test/resampled_source.cc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ardour/run-tests.sh b/libs/ardour/run-tests.sh index e1330c64f1..379678c968 100755 --- a/libs/ardour/run-tests.sh +++ b/libs/ardour/run-tests.sh @@ -9,7 +9,7 @@ if [ ! -f './tempo.cc' ]; then fi srcdir=`pwd` -cd ../../build/default +cd ../../build libs='libs' diff --git a/libs/ardour/test/mantis_3356.cc b/libs/ardour/test/mantis_3356.cc index 30472692bc..2a68fca352 100644 --- a/libs/ardour/test/mantis_3356.cc +++ b/libs/ardour/test/mantis_3356.cc @@ -30,7 +30,7 @@ Mantis3356Test::test () MIDI::Manager::create (engine.jack ()); CPPUNIT_ASSERT (engine.start () == 0); - Session session (engine, "../../libs/ardour/test/data/mantis_3356", "mantis_3356"); + Session session (engine, "../libs/ardour/test/data/mantis_3356", "mantis_3356"); engine.set_session (&session); Session::SourceMap sources = session.get_sources (); @@ -47,7 +47,7 @@ Mantis3356Test::test () result << *i << "\n"; } - ifstream ref ("../../libs/ardour/test/data/mantis_3356.ref"); + ifstream ref ("../libs/ardour/test/data/mantis_3356.ref"); while (1) { string a; diff --git a/libs/ardour/test/resampled_source.cc b/libs/ardour/test/resampled_source.cc index 00842c811e..bb8cd76f56 100644 --- a/libs/ardour/test/resampled_source.cc +++ b/libs/ardour/test/resampled_source.cc @@ -9,7 +9,7 @@ using namespace ARDOUR; void ResampledSourceTest::seekTest () { - boost::shared_ptr s (new SndFileImportableSource ("../../libs/ardour/test/data/test.wav")); + boost::shared_ptr s (new SndFileImportableSource ("../libs/ardour/test/data/test.wav")); ResampledImportableSource r (s, 48000, SrcBest); /* Make sure that seek (0) has the desired effect, ie that