summary refs log tree commit diff stats
path: root/testament/categories.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-05-06 08:16:54 -0700
committerGitHub <noreply@github.com>2020-05-06 17:16:54 +0200
commit330b3c4453bbff572987ad7fe2f435b353529964 (patch)
tree1df721a817b23bd32f556c219480f69dbec38350 /testament/categories.nim
parentb8e6ea7547344389b5e45c3af249fee9642f028e (diff)
downloadNim-330b3c4453bbff572987ad7fe2f435b353529964.tar.gz
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
Diffstat (limited to 'testament/categories.nim')
-rw-r--r--testament/categories.nim2
1 files changed, 1 insertions, 1 deletions
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