Skip to content

Commit 49029ff

Browse files
committed
use index instead of file name. seems like CI started putting there a full path
1 parent 4dec0b2 commit 49029ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

PDFWriterTesting/CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ endif(APPLE)
100100

101101
# Add all the ADD_TEST for each test (reusing the create_test_sourcelist list minus the generated executable)
102102
set (TestsToRun ${Tests})
103-
list(REMOVE_ITEM TestsToRun PDFWriterTesting.cpp)
104-
105-
message("${TestsToRun}")
103+
list(REMOVE_AT TestsToRun 0) # removing first item which is PDFWriterTesting. started getting a full path for it, so moved to REMOVE_AT instead of REMOVE_ITEM with the file name
106104

107105
foreach (test ${TestsToRun})
108106
get_filename_component (TName ${test} NAME_WE)

0 commit comments

Comments
 (0)