List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:March 1 2011 2:28pm
Subject:bzr commit into mysql-trunk-mtr branch (bjorn.munch:3037)
View as plain text  
#At file:///home/bm136801/my/mtr-tr/ based on revid:bjorn.munch@stripped

 3037 Bjorn Munch	2011-03-01
      Try building regex unit tests so they work also in PB

    modified:
      regex/CMakeLists.txt
=== modified file 'regex/CMakeLists.txt'
--- a/regex/CMakeLists.txt	2010-10-05 06:33:15 +0000
+++ b/regex/CMakeLists.txt	2011-03-01 14:27:55 +0000
@@ -21,6 +21,9 @@ ADD_CONVENIENCE_LIBRARY(regex ${REGEX_SO
 ADD_EXECUTABLE(re main.c split.c debug.c)
 TARGET_LINK_LIBRARIES(re regex strings mysys)
 
-ADD_TEST(regex1 re     -i${CMAKE_CURRENT_SOURCE_DIR}/tests)
-ADD_TEST(regex2 re -el -i${CMAKE_CURRENT_SOURCE_DIR}/tests)
-ADD_TEST(regex3 re -er -i${CMAKE_CURRENT_SOURCE_DIR}/tests)
+CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/tests
+               ${CMAKE_CURRENT_BINARY_DIR}/re_tests COPYONLY)
+
+ADD_TEST(regex1 re     -i${CMAKE_CURRENT_BINARY_DIR}/re_tests)
+ADD_TEST(regex2 re -el -i${CMAKE_CURRENT_BINARY_DIR}/re_tests)
+ADD_TEST(regex3 re -er -i${CMAKE_CURRENT_BINARY_DIR}/re_tests)


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20110301142755-a7joz9wgbea3x4eo.bundle
Thread
bzr commit into mysql-trunk-mtr branch (bjorn.munch:3037) Bjorn Munch1 Mar