aboutsummaryrefslogtreecommitdiff
path: root/test/wopl-file/CMakeLists.txt
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2021-06-10 12:23:10 +0300
committerWohlstand <admin@wohlnet.ru>2021-06-10 12:23:10 +0300
commitd1270566785345a60e6f7063afbebb001cc493f3 (patch)
tree1cecdb0ca25e51af8591ec98e78723cb9cb31005 /test/wopl-file/CMakeLists.txt
parent02497ad59c7a26807a9fea09dc11ff161518f38a (diff)
downloadlibADLMIDI-d1270566785345a60e6f7063afbebb001cc493f3.tar.gz
libADLMIDI-d1270566785345a60e6f7063afbebb001cc493f3.tar.bz2
libADLMIDI-d1270566785345a60e6f7063afbebb001cc493f3.zip
Fixed broken unit tests
#245
Diffstat (limited to 'test/wopl-file/CMakeLists.txt')
-rw-r--r--test/wopl-file/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wopl-file/CMakeLists.txt b/test/wopl-file/CMakeLists.txt
index e969419..dc57b59 100644
--- a/test/wopl-file/CMakeLists.txt
+++ b/test/wopl-file/CMakeLists.txt
@@ -7,8 +7,8 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../common
add_executable(WoplFile
wopl_file.cpp
- ${libADLMIDI_SOURCE_DIR}/src/wopl/wopl_file.c
+ ${libADLMIDI_SOURCE_DIR}/src/wopl/wopl_file.c
$<TARGET_OBJECTS:Catch-objects>)
target_compile_definitions(WoplFile PRIVATE GSL_THROW_ON_CONTRACT_VIOLATION)
-add_test(NAME WoplFileTest COMMAND WoplFile)
+add_test(NAME WoplFileTest COMMAND WoplFile WORKING_DIRECTORY "${libADLMIDI_SOURCE_DIR}")