[llvm] ff67e85 - llvm: [NFC] Robustify testcase (#71120)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 03:58:06 PST 2023


Author: Nathan Sidwell
Date: 2023-11-06T06:58:01-05:00
New Revision: ff67e851826ccd535efce86db7c1a57e3f95d790

URL: https://github.com/llvm/llvm-project/commit/ff67e851826ccd535efce86db7c1a57e3f95d790
DIFF: https://github.com/llvm/llvm-project/commit/ff67e851826ccd535efce86db7c1a57e3f95d790.diff

LOG: llvm: [NFC] Robustify testcase (#71120)

Robustify the check-not to not trigger on llvm-as's pathname in its initial error message.

Added: 
    

Modified: 
    llvm/test/Verifier/alias.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Verifier/alias.ll b/llvm/test/Verifier/alias.ll
index 8d755ec6a91c6f9..42758cf2c7f37b5 100644
--- a/llvm/test/Verifier/alias.ll
+++ b/llvm/test/Verifier/alias.ll
@@ -1,5 +1,7 @@
-; RUN:  not llvm-as %s -o /dev/null 2>&1 | FileCheck %s --implicit-check-not=alias --implicit-check-not=Alias
+; RUN:  not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
 
+; CHECK: : assembly parsed, but does not verify as correct!
+; CHECK-NOT: {{(^A| a)lias(es)? }}
 
 declare void @f()
 @fa = alias void (), ptr @f


        


More information about the llvm-commits mailing list