summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-03-25 16:18:12 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2021-03-29 09:34:45 +0800
commitb1b2e287dd3890eb2192294139a39a7047160307 (patch)
treeb4c38f91d9371a37e026f417546a92429841fe6e
parent1362537c55a2f78fa3ea254b08bd762054361328 (diff)
downloadhaskell-b1b2e287dd3890eb2192294139a39a7047160307.tar.gz
[testlib] ignore strip warnings
-rw-r--r--testsuite/driver/testlib.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index c4d122ee3b..0eeda3e97e 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -2141,6 +2141,8 @@ def normalise_errmsg(s: str) -> str:
s = re.sub('You are using an unsupported version of LLVM!.*\n','',s)
s = re.sub('Currently only [\.0-9]+ is supported. System LLVM version: [\.0-9]+.*\n','',s)
s = re.sub('We will try though\.\.\..*\n','',s)
+ # ignore warning about strip invalidating signatures
+ s = re.sub('.*strip: changes being made to the file will invalidate the code signature in.*\n','',s)
return s
# normalise a .prof file, so that we can reasonably compare it against
@@ -2222,6 +2224,8 @@ def normalise_output( s: str ) -> str:
s = re.sub('You are using an unsupported version of LLVM!.*\n','',s)
s = re.sub('Currently only [\.0-9]+ is supported. System LLVM version: [\.0-9]+.*\n','',s)
s = re.sub('We will try though\.\.\..*\n','',s)
+ # ignore warning about strip invalidating signatures
+ s = re.sub('.*strip: changes being made to the file will invalidate the code signature in.*\n','',s)
return s