feat(errors): enable verrors=context globally (#20576)

Signed-off-by: royalpinto007 <royalpinto007@gmail.com>
This commit is contained in:
Royal Simpson Pinto 2025-01-03 02:47:59 +05:30 committed by GitHub
parent c57da0cf59
commit 45e4a09a3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 87 additions and 52 deletions

View file

@ -687,7 +687,7 @@ bool gatherTestParameters(ref TestArgs testArgs, string input_dir, string input_
// tests can override -verrors by using REQUIRED_ARGS
if (testArgs.mode == TestMode.FAIL_COMPILE)
testArgs.requiredArgs = "-verrors=0 " ~ testArgs.requiredArgs;
testArgs.requiredArgs = "-verrors=simple -verrors=0 " ~ testArgs.requiredArgs;
{
string argSetsStr;