From 4e3585019813af7225289d0e002fabad957da964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Mon, 24 Jun 2024 18:17:05 -0400 Subject: [PATCH] BUG: Fix duplicate test output filename Fix duplicate test output filename: tests `IOOMEZarrNGFF_readTimeIndex0` and `IOOMEZarrNGFF_readTimeIndex1` were using the same outputfilenames, and some CI builds were failing probably because they were trying to read/write to the same location. Fixes: ``` Exception detected while reading ITKIOOMEZarrNGFF/build/ExternalData/test/Baseline/simple_tyx_t0.mha : Could not create IO object for reading file ITKIOOMEZarrNGFF/build/Testing/Temporary/IOOMEZarrNGFF/simple_tyx_t0.mha ``` raised for example at: https://github.com/InsightSoftwareConsortium/ITKIOOMEZarrNGFF/actions/runs/9648607798/job/26615199448#step:15:223 --- test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d13d939..a103f4b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -124,10 +124,10 @@ itk_add_test( COMMAND IOOMEZarrNGFFTestDriver --compare DATA{Baseline/simple_tyx_t1.mha} - ${ITK_TEST_OUTPUT_DIR}/simple_tyx_t0.mha + ${ITK_TEST_OUTPUT_DIR}/simple_tyx_t1.mha itkOMEZarrNGFFReadSliceTest DATA{Input/simple_tyx.zarr.zip} - ${ITK_TEST_OUTPUT_DIR}/simple_tyx_t0.mha + ${ITK_TEST_OUTPUT_DIR}/simple_tyx_t1.mha 2 1 )