Mercurial > hg > piper-vamp-js
changeset 124:a8d054ec22ac
Update C++ test program as well
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 10 Nov 2016 13:49:58 +0000 |
parents | 5f6ac1f98965 |
children | f5f92e8dd2c3 |
files | Makefile.inc test/Makefile test/quick-test.cpp |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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"
--- /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
--- 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) {