diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2010-01-29 05:17:44 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2010-01-29 05:17:44 +0000 |
commit | 0c6c45fc689c0e50b2b13f153369a4fc82542053 (patch) | |
tree | 7b0074637ccaca8fe3f4562cca359ac1318971bc /libs | |
parent | d978f102f56ae583d6107b3b29a6bcdd3fe55784 (diff) |
* add waf option to enable compilation of unit tests
* libs/ardour: make filenames of unit tests compy with the convention
git-svn-id: svn://localhost/ardour2/branches/3.0@6583 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rwxr-xr-x | libs/ardour/run-tests.sh | 7 | ||||
-rw-r--r-- | libs/ardour/test/bbt_test.cpp (renamed from libs/ardour/test/BBTTest.cpp) | 2 | ||||
-rw-r--r-- | libs/ardour/test/bbt_test.h (renamed from libs/ardour/test/BBTTest.hpp) | 0 | ||||
-rw-r--r-- | libs/ardour/test/interpolation_test.cpp (renamed from libs/ardour/test/InterpolationTest.cpp) | 2 | ||||
-rw-r--r-- | libs/ardour/test/interpolation_test.h (renamed from libs/ardour/test/InterpolationTest.h) | 0 | ||||
-rw-r--r-- | libs/ardour/wscript | 4 |
6 files changed, 8 insertions, 7 deletions
diff --git a/libs/ardour/run-tests.sh b/libs/ardour/run-tests.sh index 9bcaca6f5c..3fc79920fd 100755 --- a/libs/ardour/run-tests.sh +++ b/libs/ardour/run-tests.sh @@ -10,7 +10,8 @@ cd ../../build/default libs='libs' -export LD_LIBRARY_PATH=$libs/vamp-sdk:$libs/surfaces:$libs/surfaces/control_protocol:$libs/ardour:$libs/midi++2:$libs/pbd:$libs/rubberband:$libs/soundtouch:$libs/gtkmm2ext:$libs/sigc++2:$libs/glibmm2:$libs/gtkmm2/atk:$libs/gtkmm2/pango:$libs/gtkmm2/gdk:$libs/gtkmm2/gtk:$libs/libgnomecanvasmm:$libs/libsndfile:$libs/appleutility:$libs/cairomm:$libs/taglib:$libs/evoral:$libs/evoral/src/libsmf:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$libs/audiographer:$libs/vamp-sdk:$libs/surfaces:$libs/surfaces/control_protocol:$libs/ardour:$libs/midi++2:$libs/pbd:$libs/rubberband:$libs/soundtouch:$libs/gtkmm2ext:$libs/sigc++2:$libs/glibmm2:$libs/gtkmm2/atk:$libs/gtkmm2/pango:$libs/gtkmm2/gdk:$libs/gtkmm2/gtk:$libs/libgnomecanvasmm:$libs/libsndfile:$libs/appleutility:$libs/cairomm:$libs/taglib:$libs/evoral:$libs/evoral/src/libsmf:$LD_LIBRARY_PATH -echo $LD_LIBRARY_PATH -./libs/ardour/run-tests +echo LD_LIBRARY_PATH = $LD_LIBRARY_PATH + +gdb ./libs/ardour/run-tests diff --git a/libs/ardour/test/BBTTest.cpp b/libs/ardour/test/bbt_test.cpp index 5f5f18b629..be1605a75f 100644 --- a/libs/ardour/test/BBTTest.cpp +++ b/libs/ardour/test/bbt_test.cpp @@ -1,6 +1,6 @@ #include <cassert> #include "ardour/tempo.h" -#include "BBTTest.hpp" +#include "bbt_test.h" CPPUNIT_TEST_SUITE_REGISTRATION(BBTTest); diff --git a/libs/ardour/test/BBTTest.hpp b/libs/ardour/test/bbt_test.h index b823b2a071..b823b2a071 100644 --- a/libs/ardour/test/BBTTest.hpp +++ b/libs/ardour/test/bbt_test.h diff --git a/libs/ardour/test/InterpolationTest.cpp b/libs/ardour/test/interpolation_test.cpp index 7fd8a72f89..107d373101 100644 --- a/libs/ardour/test/InterpolationTest.cpp +++ b/libs/ardour/test/interpolation_test.cpp @@ -1,5 +1,5 @@ #include <sigc++/sigc++.h> -#include "InterpolationTest.h" +#include "interpolation_test.h" CPPUNIT_TEST_SUITE_REGISTRATION(InterpolationTest); diff --git a/libs/ardour/test/InterpolationTest.h b/libs/ardour/test/interpolation_test.h index a051990e85..a051990e85 100644 --- a/libs/ardour/test/InterpolationTest.h +++ b/libs/ardour/test/interpolation_test.h diff --git a/libs/ardour/wscript b/libs/ardour/wscript index dfa05ba752..a6ea97ec0d 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -321,8 +321,8 @@ def build(bld): # Unit tests testobj = bld.new_task_gen('cxx', 'program') testobj.source = ''' - test/BBTTest.cpp - test/InterpolationTest.cpp + test/bbt_test.cpp + test/interpolation_test.cpp test/testrunner.cpp '''.split() testobj.includes = obj.includes + ['../pbd/'] |