Skip to content

Commit

Permalink
cmake: remove KURENTO_DOT_DIR, make GST_DEBUG_DUMP_DOT_DIR dir to work
Browse files Browse the repository at this point in the history
  • Loading branch information
j1elo committed Aug 2, 2021
1 parent 0b6993e commit 7a1ae52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion tests/check/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ set_property(TARGET kmstestutils
)

include(TestHelpers)

set(GST_DEBUG_DUMP_DOT_DIR "${CMAKE_BINARY_DIR}/debug/dots" CACHE PATH "Sets the directory where dot files will be dumped")
file(MAKE_DIRECTORY "${GST_DEBUG_DUMP_DOT_DIR}")

set(TEST_VARIABLES
"GST_PLUGIN_PATH=$ENV{GST_PLUGIN_PATH}:${CMAKE_BINARY_DIR}"
"GST_DEBUG_DUMP_DOT_DIR=${GST_DEBUG_DUMP_DOT_DIR}"
"GST_PLUGIN_PATH=${CMAKE_BINARY_DIR}:$ENV{GST_PLUGIN_PATH}"
"CK_DEFAULT_TIMEOUT=50"
)
set(VALGRIND_TEST_VARIABLES
Expand Down
2 changes: 1 addition & 1 deletion tests/server/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(TEST_VARIABLES
"GST_PLUGIN_PATH=$ENV{GST_PLUGIN_PATH}:${CMAKE_BINARY_DIR}"
"GST_PLUGIN_PATH=${CMAKE_BINARY_DIR}:$ENV{GST_PLUGIN_PATH}"
)
set(VALGRIND_TEST_VARIABLES
"${TEST_VARIABLES}"
Expand Down

0 comments on commit 7a1ae52

Please sign in to comment.