From 72778f16c9c5acc9aed7fdfe1e03880a8fee3c33 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 18 Jan 2024 00:58:37 -0500 Subject: [PATCH] BUG: Ensure DICOM tests all read/write from different sqlite database --- Libs/DICOM/Core/Testing/Cpp/CMakeLists.txt | 4 ++-- Libs/DICOM/Widgets/Testing/Cpp/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Libs/DICOM/Core/Testing/Cpp/CMakeLists.txt b/Libs/DICOM/Core/Testing/Cpp/CMakeLists.txt index c5106c7884..93829122d4 100644 --- a/Libs/DICOM/Core/Testing/Cpp/CMakeLists.txt +++ b/Libs/DICOM/Core/Testing/Cpp/CMakeLists.txt @@ -48,7 +48,7 @@ SIMPLE_TEST(ctkDICOMIndexerTest1 ) # ctkDICOMModel SIMPLE_TEST(ctkDICOMModelTest1 - ${CMAKE_CURRENT_BINARY_DIR}/dicom.db + ${CMAKE_CURRENT_BINARY_DIR}/Testing/Temporary/ctkDICOMModelTest1-dicom.db ${CMAKE_CURRENT_SOURCE_DIR}/../../Resources/dicom-sample.sql ) SIMPLE_TEST(ctkDICOMPersonNameTest1) @@ -71,7 +71,7 @@ set_property(TEST "ctkDICOMRetrieveTest2" PROPERTY RESOURCE_LOCK "dcmqrscp") # ctkDICOMCore SIMPLE_TEST( ctkDICOMCoreTest1 - ${CMAKE_CURRENT_BINARY_DIR}/dicom.db + ${CMAKE_CURRENT_BINARY_DIR}/Testing/Temporary/ctkDICOMCoreTest1-dicom.db ${CMAKE_CURRENT_SOURCE_DIR}/../../Resources/dicom-sample.sql ) diff --git a/Libs/DICOM/Widgets/Testing/Cpp/CMakeLists.txt b/Libs/DICOM/Widgets/Testing/Cpp/CMakeLists.txt index 8434d43437..1430d1a149 100644 --- a/Libs/DICOM/Widgets/Testing/Cpp/CMakeLists.txt +++ b/Libs/DICOM/Widgets/Testing/Cpp/CMakeLists.txt @@ -51,13 +51,13 @@ SIMPLE_TEST(ctkDICOMDirectoryListWidgetTest1) SIMPLE_TEST(ctkDICOMImportWidgetTest1) SIMPLE_TEST(ctkDICOMListenerWidgetTest1) SIMPLE_TEST(ctkDICOMModelTest2 - ${CMAKE_CURRENT_BINARY_DIR}/dicom.db + ${CMAKE_CURRENT_BINARY_DIR}/Testing/Temporary/ctkDICOMModelTest2-dicom.db ${CMAKE_CURRENT_SOURCE_DIR}/../../../Core/Resources/dicom-sample.sql ) SIMPLE_TEST(ctkDICOMQueryRetrieveWidgetTest1) SIMPLE_TEST(ctkDICOMQueryResultsTabWidgetTest1) SIMPLE_TEST(ctkDICOMThumbnailListWidgetTest1 - ${CMAKE_CURRENT_BINARY_DIR}/dicom.db + ${CMAKE_CURRENT_BINARY_DIR}/Testing/Temporary/ctkDICOMThumbnailListWidgetTest1-dicom.db ${CMAKE_CURRENT_SOURCE_DIR}/../../../Core/Resources/dicom-sample.sql )