From d5fe9d7d345458ab3fe3de2630692244ba06b69f Mon Sep 17 00:00:00 2001 From: Brian Atkinson Date: Thu, 27 Jul 2023 14:27:48 -0600 Subject: [PATCH] Cleaning up based on PR feedback SQAUSH before merging I overlooked cleaning up the CMakeLists.txt in the debug test case directory. This fixes that oversight. Signed-off-by: Brian Atkinson --- tests/debug/CMakeLists.txt | 32 ------------------------------ tests/debug/test_xdd_debug_init.sh | 1 - 2 files changed, 33 deletions(-) diff --git a/tests/debug/CMakeLists.txt b/tests/debug/CMakeLists.txt index dce2be6c..9f4f7b81 100644 --- a/tests/debug/CMakeLists.txt +++ b/tests/debug/CMakeLists.txt @@ -1,39 +1,7 @@ -#configure_file(common.sh common.sh) - set(DEBUG_TESTS test_xdd_debug_init.sh ) -# original tests depended on xdd being installed -option(TEST_INSTALLED "Use installed xdd for tests" ON) -if (TEST_INSTALLED) - set(XDD_EXEC "$") -else() - set(XDD_EXEC "${CMAKE_BINARY_DIR}/bin/xdd") -endif() - -# configurable output directory -#set(TESTDIR "${CMAKE_BINARY_DIR}/test-dir" CACHE PATH "Where to place test files") -#add_custom_target(mk-test-dir ALL -# COMMAND "${CMAKE_COMMAND}" -E make_directory "${TESTDIR}") - -# not configurable -#set(TESTDIR_TESTS "${TESTDIR}/tests") -#add_custom_target(mk-test-tests ALL -# COMMAND "${CMAKE_COMMAND}" -E make_directory "${TESTDIR_TESTS}" -# DEPENDS mk-test-dir) -#set(TESTDIR_LOGS "${TESTDIR}/logs") -#add_custom_target(mk-test-logs ALL -# COMMAND "${CMAKE_COMMAND}" -E make_directory "${TESTDIR_LOGS}" -# DEPENDS mk-test-dir) - -# generate config file -#file(GENERATE -# OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test_config" -# CONTENT "XDDTEST_XDD_EXE=${XDD_EXEC} -#XDDTEST_LOCAL_MOUNT=${TESTDIR}/tests -#XDDTEST_OUTPUT_DIR=${TESTDIR}/logs" -#) foreach(TEST ${DEBUG_TESTS}) configure_file("${TEST}" "${TEST}" COPYONLY) add_test(NAME "${TEST}" diff --git a/tests/debug/test_xdd_debug_init.sh b/tests/debug/test_xdd_debug_init.sh index d0f0ce1a..73d720d7 100755 --- a/tests/debug/test_xdd_debug_init.sh +++ b/tests/debug/test_xdd_debug_init.sh @@ -21,7 +21,6 @@ ${xdd_cmd} 2>&1 | grep "bound to NUMA node" if [[ $? -ne 0 ]]; then # test failed - echo "We are here with $? which is not equal to zero..." finalize_test 1 fi