summaryrefslogtreecommitdiff
path: root/pcre
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-08-13 12:14:56 +0200
committerSergei Golubchik <serg@mariadb.org>2018-08-13 12:14:56 +0200
commita928751c78a8288e4490b27ef8ae6a39b9708f39 (patch)
treefd628ede7549140a9906f8d4b73f64aa3591f799 /pcre
parent5e7496e2eaf01d3be79fca3f199a8d3e597af208 (diff)
downloadmariadb-git-a928751c78a8288e4490b27ef8ae6a39b9708f39.tar.gz
fix bundled pcre unit tests
Diffstat (limited to 'pcre')
-rw-r--r--pcre/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre/CMakeLists.txt b/pcre/CMakeLists.txt
index ca60d9ed265..857a96b9ef9 100644
--- a/pcre/CMakeLists.txt
+++ b/pcre/CMakeLists.txt
@@ -377,7 +377,7 @@ MESSAGE(\" \")
IF(UNIX)
ADD_TEST(NAME pcre_test
- COMMAND sh pcre_test.sh
+ COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/pcre_test.sh
${PROJECT_SOURCE_DIR}
$<TARGET_FILE:pcretest>
$<TARGET_FILE_DIR:pcretest>
@@ -387,7 +387,7 @@ MESSAGE(\" \")
IF(PCRE_BUILD_PCREGREP)
IF(UNIX)
ADD_TEST(NAME pcre_grep_test
- COMMAND sh pcre_grep_test.sh
+ COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/pcre_grep_test.sh
${PROJECT_SOURCE_DIR}
$<TARGET_FILE:pcregrep>
$<TARGET_FILE:pcretest>