# HG changeset patch # User Chris Cannam # Date 1478785798 0 # Node ID a8d054ec22ac09ce064f66a9b80289d272605a57 # Parent 5f6ac1f989658cf0154f627278143898f9244601 Update C++ test program as well diff -r 5f6ac1f98965 -r a8d054ec22ac Makefile.inc --- a/Makefile.inc Thu Nov 10 13:36:01 2016 +0000 +++ b/Makefile.inc Thu Nov 10 13:49:58 2016 +0000 @@ -8,7 +8,7 @@ @echo "$$ make em" @echo " - build Javascript module using Emscripten" @echo "$$ make linux" - @echo " - build native-code module on Linux (mostly for testing)" + @echo " - build native-code module on Linux (currently this is mostly for testing)" @echo "$$ make clean" @echo " - remove intermediate build files, but not targets" @echo "$$ make distclean" diff -r 5f6ac1f98965 -r a8d054ec22ac test/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/Makefile Thu Nov 10 13:49:58 2016 +0000 @@ -0,0 +1,7 @@ + +LDFLAGS += -ldl + +test: quick-test + ./quick-test + +quick-test: quick-test.cpp diff -r 5f6ac1f98965 -r a8d054ec22ac test/quick-test.cpp --- a/test/quick-test.cpp Thu Nov 10 13:36:01 2016 +0000 +++ b/test/quick-test.cpp Thu Nov 10 13:49:58 2016 +0000 @@ -6,7 +6,7 @@ int main(int, char **) { - string example = "./example.so"; + string example = "../examples/VampExamplePlugins.so"; void *lib = dlopen(example.c_str(), RTLD_LAZY | RTLD_LOCAL); if (!lib) {