diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-12-14 01:58:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 10:58:29 +0100 |
commit | 7e1ae35195c9b1397d569ebb3b3a0d11fdcb16f4 (patch) | |
tree | 40648877eb3800ac7f76d4ababf4193c77b7bbd4 /tests/ccgbugs | |
parent | 5514b299ebc1de4ef0c1c182d4f21a02e3c2fa90 (diff) | |
download | Nim-7e1ae35195c9b1397d569ebb3b3a0d11fdcb16f4.tar.gz |
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>
Diffstat (limited to 'tests/ccgbugs')
-rw-r--r-- | tests/ccgbugs/tmissingvolatile.nim | 2 | ||||
-rw-r--r-- | tests/ccgbugs/tprogmem.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ccgbugs/tmissingvolatile.nim b/tests/ccgbugs/tmissingvolatile.nim index 60b1771dc..1eccdc6b1 100644 --- a/tests/ccgbugs/tmissingvolatile.nim +++ b/tests/ccgbugs/tmissingvolatile.nim @@ -2,7 +2,7 @@ discard """ output: "1" cmd: r"nim c --hints:on $options -d:release $file" ccodecheck: "'NI volatile state;'" - target: "C" + targets: "c" """ # bug #1539 diff --git a/tests/ccgbugs/tprogmem.nim b/tests/ccgbugs/tprogmem.nim index 884ca158a..58a20583a 100644 --- a/tests/ccgbugs/tprogmem.nim +++ b/tests/ccgbugs/tprogmem.nim @@ -2,7 +2,7 @@ discard """ output: "5" cmd: r"nim c --hints:on $options -d:release $file" ccodecheck: "'/*PROGMEM*/ myLetVariable = {'" - target: "C" + targets: "c" """ var myLetVariable {.exportc, codegenDecl: "$# /*PROGMEM*/ $#".} = [1, 2, 3] |