cmdlineTests.sh: Suppress message about empty output to get consistent output on release and pre-release builds

This commit is contained in:
Kamil Śliwak 2021-08-05 17:11:58 +02:00
parent db85849648
commit dc4620d2be

View File

@ -169,6 +169,7 @@ EOF
rm "$stdout_path.bak"
else
sed -i.bak -e '/^Warning: This is a pre-release compiler version, please do not use it in production./d' "$stderr_path"
sed -i.bak -e '/^Compiler run successful, no output requested\.$/d' "$stderr_path"
sed -i.bak -e '/^Warning (3805): This is a pre-release compiler version, please do not use it in production./d' "$stderr_path"
sed -i.bak -e 's/\(^[ ]*auxdata: \)0x[0-9a-f]*$/\1<AUXDATA REMOVED>/' "$stdout_path"
sed -i.bak -e 's/ Consider adding "pragma .*$//' "$stderr_path"