Tests/File_Archive: Relax stderr line matching

"Compression format unsupported" errors of this form can only possibly
come from `file(ARCHIVE_CREATE)`, so we don't need to track the line
number of the called function. Reduce the need to update these numbers
every time the test helper script is updated.
This commit is contained in:
Tyler Yankee
2026-04-14 15:48:36 -04:00
parent 77670de5e6
commit 6e638ce109
3 changed files with 3 additions and 3 deletions
@@ -1,4 +1,4 @@
CMake Error at roundtrip\.cmake:38 \(file\):
CMake Error at roundtrip\.cmake:[0-9]+ \(file\):
file PPMd compression is not supported for gnutar format
Call Stack \(most recent call first\):
gnutar-with-bad-compression\.cmake:6 \(include\)
@@ -1,4 +1,4 @@
CMake Error at roundtrip\.cmake:38 \(file\):
CMake Error at roundtrip\.cmake:[0-9]+ \(file\):
file archive format rar not supported
Call Stack \(most recent call first\):
unsupported-format\.cmake:5 \(include\)
@@ -1,4 +1,4 @@
CMake Error at roundtrip\.cmake:38 \(file\):
CMake Error at roundtrip\.cmake:[0-9]+ \(file\):
file PPMd compression is not supported for zip format
Call Stack \(most recent call first\):
zip-with-bad-compression\.cmake:6 \(include\)