Commit cf64dc6f authored by Bjorn Munch's avatar Bjorn Munch

A bit more intelligent processing of .in files in mysql-test/collections

parent 7cfc5962
...@@ -1313,6 +1313,7 @@ mysql-test/*.ds? ...@@ -1313,6 +1313,7 @@ mysql-test/*.ds?
mysql-test/*.vcproj mysql-test/*.vcproj
mysql-test/.DS_Store mysql-test/.DS_Store
mysql-test/collections/default.release mysql-test/collections/default.release
mysql-test/collections/default.release.done
mysql-test/funcs_1.log mysql-test/funcs_1.log
mysql-test/funcs_1.tar mysql-test/funcs_1.tar
mysql-test/gmon.out mysql-test/gmon.out
...@@ -3066,4 +3067,5 @@ info_macros.cmake ...@@ -3066,4 +3067,5 @@ info_macros.cmake
Docs/INFO_BIN Docs/INFO_BIN
Docs/INFO_SRC Docs/INFO_SRC
Testing Testing
FilesCopied
source_downloads source_downloads
# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
...@@ -150,8 +150,10 @@ ENDMACRO() ...@@ -150,8 +150,10 @@ ENDMACRO()
FILE(GLOB infiles "collections/*.in") FILE(GLOB infiles "collections/*.in")
FOREACH(collin ${infiles}) FOREACH(collin ${infiles})
STRING(REPLACE ".in" "" collection ${collin}) STRING(REPLACE ".in" "" collection ${collin})
STRING(REPLACE ".in" ".done" colldone ${collin})
# Only generate file once # Only generate file once
IF(NOT EXISTS ${collection}) IF(NOT EXISTS ${colldone})
PROCESS_COLLECTION_INCLUDE(${collin} ${collection}) PROCESS_COLLECTION_INCLUDE(${collin} ${collection})
FILE(APPEND ${colldone} "${collin}\n")
ENDIF() ENDIF()
ENDFOREACH() ENDFOREACH()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment