aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas@google.com>2017-09-22 13:13:22 +0200
committerGitHub <noreply@github.com>2017-09-22 13:13:22 +0200
commitbf6a6cda567e26cc147d7878b2aa05e28e7cb9ad (patch)
tree0217d44756fc65cff5cbeca43b48c482d3673164 /tests
parent7748a1dc69abab0fb39563fb3681e9bc2afc9af0 (diff)
downloadbrotli-bf6a6cda567e26cc147d7878b2aa05e28e7cb9ad.zip
brotli-bf6a6cda567e26cc147d7878b2aa05e28e7cb9ad.tar.gz
brotli-bf6a6cda567e26cc147d7878b2aa05e28e7cb9ad.tar.bz2
Fix parallel test execution
Diffstat (limited to 'tests')
-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}"