From 330b3c4453bbff572987ad7fe2f435b353529964 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Wed, 6 May 2020 08:16:54 -0700 Subject: fix regression: -d:nimHasLibFFI was not being tested anymore (#14234) * * fix regression: -d:nimHasLibFFI was not being tested anymore, in part because testament was silently treating some errors as easy to overlook messages * turned that message into an error * -d:nimHasLibFFI is now being tested with nim cpp * use correct signatures for importc procs * workaround for openbsd to unblock ctffi testing --- testament/categories.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testament/categories.nim') diff --git a/testament/categories.nim b/testament/categories.nim index e1519468f..3affe0699 100644 --- a/testament/categories.nim +++ b/testament/categories.nim @@ -545,7 +545,7 @@ proc processSingleTest(r: var TResults, cat: Category, options, test: string) = if existsFile(test): testSpec r, makeTest(test, options, cat), {target} else: - echo "[Warning] - ", test, " test does not exist" + doAssert false, test & " test does not exist" proc isJoinableSpec(spec: TSpec): bool = result = not spec.sortoutput and -- cgit 1.4.1-2-gfad0