llvm-reduce: Don't check tool name in error message check
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 28 Apr 2022 13:09:41 +0000 (09:09 -0400)
committerMatt Arsenault <arsenm2@gmail.com>
Thu, 28 Apr 2022 13:10:19 +0000 (09:10 -0400)
Windows is being difficult and I don't know how to check the program name here

llvm/test/tools/llvm-reduce/mir/infer-triple-unknown-target.mir

index 612e30e..251dd90 100644 (file)
@@ -1,6 +1,6 @@
 # RUN: not llvm-reduce --test FileCheck %s -o /dev/null 2>&1 | FileCheck %s
 
-# CHECK: {{.*}}llvm-reduce{{.*}}: error: unable to get target for 'omgwtfbbqcpu64--', see --version and --triple.
+# CHECK: error: unable to get target for 'omgwtfbbqcpu64--', see --version and --triple.
 
 --- |
   target triple = "omgwtfbbqcpu64--"