From 3063e8717e65222bc2ff71c8c892643f0bb879b5 Mon Sep 17 00:00:00 2001 From: "benjamin.drung@gmail.com" Date: Tue, 19 Nov 2013 02:42:17 +0000 Subject: [PATCH] libsoxr: Add 'make check' target for integration into GNU Autotools. --- lib-src/audacity-patches.txt | 1 + lib-src/libsoxr/CMakeLists.txt | 6 ++++++ lib-src/libsoxr/add-make-check-support.patch | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 lib-src/libsoxr/add-make-check-support.patch diff --git a/lib-src/audacity-patches.txt b/lib-src/audacity-patches.txt index 05da4baf3..dffaa895b 100644 --- a/lib-src/audacity-patches.txt +++ b/lib-src/audacity-patches.txt @@ -120,6 +120,7 @@ http://sourceforge.net/p/soxr/wiki/Home/ Version in Audacity SVN: 0.1.1 Patches: * "libsoxr/configure" file: modified cmake params + * add-make-check-support.patch: Add a check target for GNU Autotools integration. Upstream Version: 0.1.1 libvamp diff --git a/lib-src/libsoxr/CMakeLists.txt b/lib-src/libsoxr/CMakeLists.txt index 8a24952a4..a810e7561 100644 --- a/lib-src/libsoxr/CMakeLists.txt +++ b/lib-src/libsoxr/CMakeLists.txt @@ -201,6 +201,12 @@ endif () +# Add 'make check' target for integration into GNU Autotools. + +add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) + + + # Top-level: set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) diff --git a/lib-src/libsoxr/add-make-check-support.patch b/lib-src/libsoxr/add-make-check-support.patch new file mode 100644 index 000000000..ce2d8c2c4 --- /dev/null +++ b/lib-src/libsoxr/add-make-check-support.patch @@ -0,0 +1,17 @@ +Index: CMakeLists.txt +=================================================================== +--- CMakeLists.txt (revision 12955) ++++ CMakeLists.txt (working copy) +@@ -201,6 +201,12 @@ + + + ++# Add 'make check' target for integration into GNU Autotools. ++ ++add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) ++ ++ ++ + # Top-level: + + set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})