blob: f0e0f6c53c007ef26d9f195c575012ca6b67ae80 [file] [edit]
# The module name should have underscores, not hyphens.
if(NOT actual_stdout MATCHES "-module-name L_hyphen")
string(APPEND RunCMake_TEST_FAILED
"Expected '-module-name L_hyphen', hyphens should be replaced with underscores.\n")
endif()
if(actual_stdout MATCHES "-module-name L-hyphen")
string(APPEND RunCMake_TEST_FAILED
"Found '-module-name L-hyphen', hyphens are not valid in Swift module names.\n")
endif()