[llvm] a1cf20f - [llvm-dis][test] Fix error case on Windows

Keith Smiley via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 11:30:49 PDT 2022


Author: Keith Smiley
Date: 2022-05-19T11:30:30-07:00
New Revision: a1cf20f012baef53ad734d4489d3a967d7ee4f80

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

LOG: [llvm-dis][test] Fix error case on Windows

The `N` case in the error differs across platforms.

Added: 
    

Modified: 
    llvm/test/tools/llvm-dis/errors.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-dis/errors.test b/llvm/test/tools/llvm-dis/errors.test
index 47bd655263e0..27c37b2186a3 100644
--- a/llvm/test/tools/llvm-dis/errors.test
+++ b/llvm/test/tools/llvm-dis/errors.test
@@ -1,3 +1,3 @@
-# RUN: not llvm-dis missing-file-path 2>&1 | FileCheck %s --check-prefix=MISSING
+# RUN: not llvm-dis missing-file-path 2>&1 | FileCheck %s --check-prefix=MISSING --ignore-case
 
-# MISSING: error: missing-file-path: No such file or directory
+# MISSING: error: missing-file-path: no such file or directory


        


More information about the llvm-commits mailing list