Ignore libsamplerate UT.

ms-refactor-gui-code
Mooneer Salem 2024-01-14 22:08:26 -08:00
parent 73df560eb7
commit e462cd4060
4 changed files with 22 additions and 1 deletions

View File

@ -78,6 +78,9 @@ message(STATUS "Compilation date = XX${DATE_RESULT}XX")
#
configure_file(cmake/version.h.in src/version.h @ONLY)
# Generate custom CTest config
configure_file(cmake/CTestCustom.cmake ${CMAKE_BINARY_DIR})
# Set default build type
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Debug")

View File

@ -62,5 +62,5 @@ if [ -d .git ]; then
git pull
fi
mkdir -p build_osx && cd build_osx && rm -Rf *
cmake -DBUILD_OSX_UNIVERSAL=1 -DCMAKE_BUILD_TYPE=Debug -DBOOTSTRAP_WXWIDGETS=1 -DUSE_STATIC_SPEEXDSP=1 -DUSE_STATIC_PORTAUDIO=1 -DUSE_STATIC_SAMPLERATE=1 -DUSE_STATIC_SNDFILE=1 -DHAMLIB_INCLUDE_DIR=${HAMLIBDIR}/include -DHAMLIB_LIBRARY=${HAMLIBDIR}/lib/libhamlib.dylib -DCODEC2_BUILD_DIR=$CODEC2DIR/build_osx -DLPCNET_BUILD_DIR=$LPCNETDIR/build_osx ..
cmake -DBUILD_OSX_UNIVERSAL=1 -DUNITTEST=$UT_ENABLE -DCMAKE_BUILD_TYPE=Debug -DBOOTSTRAP_WXWIDGETS=1 -DUSE_STATIC_SPEEXDSP=1 -DUSE_STATIC_PORTAUDIO=1 -DUSE_STATIC_SAMPLERATE=1 -DUSE_STATIC_SNDFILE=1 -DHAMLIB_INCLUDE_DIR=${HAMLIBDIR}/include -DHAMLIB_LIBRARY=${HAMLIBDIR}/lib/libhamlib.dylib -DCODEC2_BUILD_DIR=$CODEC2DIR/build_osx -DLPCNET_BUILD_DIR=$LPCNETDIR/build_osx ..
make VERBOSE=1 -j8

View File

@ -1,5 +1,7 @@
set(SAMPLERATE_VERSION "0.2.2")
set(BUILD_TESTING OFF CACHE BOOL "Enable unit tests for libsamplerate")
include(FetchContent)
FetchContent_Declare(
samplerate

View File

@ -0,0 +1,16 @@
# Set of tests to ignore. On some platforms, libsamplerate's tests somehow get included
# with our own, so it causes problems with e.g. CI builds to keep these.
set(CTEST_CUSTOM_TESTS_IGNORE
misc_test
termination_test
callback_hang_test
downsample_test
simple_test
callback_test
reset_test
clone_test
nullptr_test
multi_channel_test
varispeed_test
float_short_test
snr_bw_test)