diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/run.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run.cmake b/test/run.cmake index 2b2c14e..635c27b 100644 --- a/test/run.cmake +++ b/test/run.cmake @@ -91,6 +91,7 @@ if(msg) set(update_xml "${actual_xml}") string(REGEX REPLACE "^<\\?xml version=\"1.0\"\\?>" "^<\\\\?xml version=\"1.0\"\\\\?>" update_xml "${update_xml}") string(REGEX REPLACE "([(*)])" "\\\\\\1" update_xml "${update_xml}") + string(REGEX REPLACE "<CastXML[^>]*>" "<CastXML[^>]*>" update_xml "${update_xml}") string(REGEX REPLACE "<GCC_XML[^>]*>" "<GCC_XML[^>]*>" update_xml "${update_xml}") string(REGEX REPLACE "mangled=\"[^\"]*\"" "mangled=\"[^\"]+\"" update_xml "${update_xml}") string(REGEX REPLACE "artificial=\"1\"( throw=\"\")?" "artificial=\"1\"( throw=\"\")?" update_xml "${update_xml}") @@ -100,6 +101,7 @@ if(msg) string(REGEX REPLACE "<Base type=\"([^\"]*)\" access=\"([^\"]*)\" virtual=\"0\" offset=\"[0-9]+\"/>" "<Base type=\"\\1\" access=\"\\2\" virtual=\"0\" offset=\"[0-9]+\"/>" update_xml "${update_xml}") endif() string(REGEX REPLACE "</GCC_XML>$" "</GCC_XML>$" update_xml "${update_xml}") + string(REGEX REPLACE "</CastXML>$" "</CastXML>$" update_xml "${update_xml}") file(WRITE "${expect_xml_file}" "${update_xml}\n") endif() |