CMake/Tests/RunCMake/ExternalData
Brad King c35961b010 ExternalData: Do not re-stage staged object files
The ExternalData_LINK_CONTENT option tells ExternalData to convert real
data files it finds into content links and to "stage" the original
content in a ".ExternalData_<algo>_<hash>" file.  However, after a data
object has been staged it is possible that a user-provided pattern in
the "REGEX:" option will later match the staged object file.  We must
not process staged object files even when a user pattern matches them.

Fix the implementation to not match a staged object file as a normal
data file for conversion.  Extend the RunCMake.ExternalData test to
cover this case.
2013-05-24 15:45:38 -04:00
..
Directory1 ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory2 ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory3 ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory4 ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
SubDirectory1 ExternalData: Collapse ../ components in DATA{} paths 2013-01-30 14:55:12 -05:00
BadHashAlgo1-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadHashAlgo1-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadHashAlgo1.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadHashAlgo1.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadOption1-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadOption1-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadOption1.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadOption2-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadOption2-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadOption2.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries1-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries1-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries1.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries2-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries2-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries2.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries3-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries3-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
BadSeries3.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
CMakeLists.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Data.txt.md5 ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory1-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory1-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory1.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory2-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory2-stderr.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory2.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory2.md5 ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory3-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory3-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory3.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
Directory4-result.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory4-stderr.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory4.cmake ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory5-result.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory5-stderr.txt ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
Directory5.cmake ExternalData: Allow DATA{} syntax to reference directories 2013-01-30 10:05:07 -05:00
LinkContentMD5-stdout.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
LinkContentMD5.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
LinkContentSHA1-stdout.txt ExternalData: Add support for SHA 1 and 2 hash algorithms 2013-01-30 10:05:07 -05:00
LinkContentSHA1.cmake ExternalData: Add support for SHA 1 and 2 hash algorithms 2013-01-30 10:05:07 -05:00
LinkDirectory1-stdout.txt ExternalData: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
LinkDirectory1.cmake ExternalData: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
MissingData-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
MissingData-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
MissingData.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NoLinkInSource-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NoLinkInSource-stdout.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NoLinkInSource.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NoURLTemplates-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NoURLTemplates-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NoURLTemplates.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NormalData1-stdout.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NormalData1.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NormalData2-stdout.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NormalData2.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NormalData3-stdout.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NormalData3.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NormalDataSub1-stdout.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NormalDataSub1.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NotUnderRoot-result.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NotUnderRoot-stderr.txt ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
NotUnderRoot.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00
RunCMakeTest.cmake ExternalData: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
Semicolon1-stdout.txt ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon1.cmake ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon2-stdout.txt ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon2.cmake ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon3-stdout.txt ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
Semicolon3.cmake ExternalData: Preserve escaped semicolons during argument expansion 2013-03-12 16:33:19 -04:00
SubDirectory1-stdout.txt ExternalData: Collapse ../ components in DATA{} paths 2013-01-30 14:55:12 -05:00
SubDirectory1.cmake ExternalData: Add tests covering interfaces and errors 2013-01-30 10:04:54 -05:00