From 287dec06aee803c45161603a899d8e343c1766a9 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Thu, 14 Jan 2021 01:19:20 -0800 Subject: [PATCH] disable hint:processing in tests (#16713) * disable hint:processing in tests * fix test --- tests/config.nims | 3 +++ tests/pragmas/twarning_off.nim | 1 + 2 files changed, 4 insertions(+) diff --git a/tests/config.nims b/tests/config.nims index e0b8502ee..e330e097c 100644 --- a/tests/config.nims +++ b/tests/config.nims @@ -14,3 +14,6 @@ switch("define", "nimUnittestOutputLevel:PRINT_FAILURES") switch("define", "nimUnittestColor:off") switch("define", "nimLegacyTypeMismatch") + +hint("Processing", off) + # dots can cause annoyances; instead, a single test can test `hintProcessing` diff --git a/tests/pragmas/twarning_off.nim b/tests/pragmas/twarning_off.nim index d5d31d4c2..bada2999b 100644 --- a/tests/pragmas/twarning_off.nim +++ b/tests/pragmas/twarning_off.nim @@ -1,4 +1,5 @@ discard """ + matrix: "--hint:processing" nimout: ''' compile start ..