aboutsummaryrefslogtreecommitdiff
path: root/tests/run-compatibility-test.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-compatibility-test.cmake')
-rw-r--r--tests/run-compatibility-test.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run-compatibility-test.cmake b/tests/run-compatibility-test.cmake
index d77f77f..fd49db8 100644
--- a/tests/run-compatibility-test.cmake
+++ b/tests/run-compatibility-test.cmake
@@ -1,5 +1,6 @@
string(REGEX REPLACE "([a-zA-Z0-9\\.]+)\\.compressed(\\.[0-9]+)?$" "\\1" REFERENCE_DATA "${INPUT}")
-get_filename_component(OUTPUT_NAME "${REFERENCE_DATA}" NAME)
+string(REGEX REPLACE "\\.compressed" "" OUTPUT_FILE "${INPUT}")
+get_filename_component(OUTPUT_NAME "${OUTPUT_FILE}" NAME)
execute_process(
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"