Testsuite, plugin: make testcase pattern more flexible
commita037992ca9831c8b8e8f6ac35569a5cca01e3680
authorFrancois-Xavier Coudert <fxcoudert@gmail.com>
Sun, 20 Aug 2023 17:35:18 +0000 (20 19:35 +0200)
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 20 Aug 2023 17:40:17 +0000 (20 19:40 +0200)
tree8555d2387e602dae1bbe842fcedfa9e8f1d4d1ff
parent791952ef4396da74370d28cc3200451080b5c65a
Testsuite, plugin: make testcase pattern more flexible

On Darwin, the message recorded in the sarif file contains:
  "message": {"text": "Segmentation fault: 11"}
which is different from, e.g., linux:
  "message": {"text": "Segmentation fault"}

Adjusting the testcase pattern to be a little more flexible.

gcc/testsuite/ChangeLog:
* gcc.dg/plugin/crash-test-write-though-null-sarif.c: Update
expected pattern.
gcc/testsuite/gcc.dg/plugin/crash-test-write-though-null-sarif.c