[llvm] 8394157 - llvm-rc: Relax error message checked in test (#129243)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 1 18:26:48 PST 2025


Author: Matt Arsenault
Date: 2025-03-02T09:26:45+07:00
New Revision: 83941577cf82d0831d2e363438b6517ff2421e5c

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

LOG: llvm-rc: Relax error message checked in test (#129243)

In the fork path, it does not print the piece about posix_spawn failed

Part of #129208

Added: 
    

Modified: 
    llvm/test/tools/llvm-rc/windres-preproc.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-rc/windres-preproc.test b/llvm/test/tools/llvm-rc/windres-preproc.test
index df0a674ef0132..423ad0252f0ab 100644
--- a/llvm/test/tools/llvm-rc/windres-preproc.test
+++ b/llvm/test/tools/llvm-rc/windres-preproc.test
@@ -20,7 +20,7 @@
 ;; Test error messages when unable to execute the preprocessor.
 
 ; RUN: not llvm-windres --preprocessor intentionally-missing-executable %p/Inputs/empty.rc %t.res 2>&1 | FileCheck -DMSG=%errc_ENOENT %s --check-prefix=CHECK4
-; CHECK4: llvm-rc: Preprocessing failed: posix_spawn failed: [[MSG]]
+; CHECK4: llvm-rc: Preprocessing failed: {{(posix_spawn failed: )?}}[[MSG]]
 
 ;; Test --preprocessor with an argument with spaces.
 


        


More information about the llvm-commits mailing list