[PATCH] D111320: [test] Use host platform specific error message substitution

Abhina Sree via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 8 10:52:46 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7d7b139042e8: [test] Use host platform specific error message substitution (authored by abhina.sreeskantharajan).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111320/new/

https://reviews.llvm.org/D111320

Files:
  llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test


Index: llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test
===================================================================
--- llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test
+++ llvm/test/tools/llvm-tapi-diff/tapi-diff-misspelled-tbd.test
@@ -1,5 +1,5 @@
-; RUN: not llvm-tapi-diff %S/Inputs/v4A.tbd %S/Inputs/v4.tbd 2>&1 | FileCheck %s
+; RUN: not llvm-tapi-diff %S/Inputs/v4A.tbd %S/Inputs/v4.tbd 2>&1 | FileCheck %s -DMSG=%errc_ENOENT
 
-; CHECK: {{.*}}: error: {{.*}}v4.tbd: {{[Nn]}}o such file or directory
+; CHECK: {{.*}}: error: {{.*}}v4.tbd: [[MSG]]
 ; CHECK-NOT: error:
 ; CHECK-NOT: warning:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111320.378309.patch
Type: text/x-patch
Size: 630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211008/ee23dde0/attachment.bin>


More information about the llvm-commits mailing list