testament: error instead of silently ignore invalid targets; remove pointless alias target vs targets; document matrix; DRY (#16343)

* testament: error instead of silently ignore invalid targets
* s/target/targets/
* fix test; refs #16344
* address comments
* Update testament/specs.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
Timothee Cour
2020-12-14 01:58:29 -08:00
committed by GitHub
parent 5514b299eb
commit 7e1ae35195
24 changed files with 33 additions and 39 deletions

View File

@@ -1,6 +1,5 @@
discard """
cmd: "nim cpp --cppCompileToNamespace:foo $options -r $file"
target: cpp
"""
# Theoretically nim could just ignore the flag cppCompileToNamespace