fix #16576: honor matrix in testament by making such tests non joinable (#16577)

* refs #16576: honor matrix in testament by making such tests non joinable

* add tests + misc fixes

* fix test for i386 with -d:danger
This commit is contained in:
Timothee Cour 2021-01-04 10:45:46 -08:00 • committed by GitHub
commit 00144ee4e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 12 deletions

View file

@ -0,0 +1,7 @@
discard """
matrix:"-d:nimTest_t16576"
"""
# bug #16576
doAssert defined(nimTest_t16576)
doAssert not defined(nimMegatest)

View file

@ -0,0 +1,8 @@
discard """
output: "ok"
"""
# checks that this is joinable
doAssert defined(testing)
doAssert defined(nimMegatest)
echo "ok" # intentional to make sure this doesn't prevent `isJoinableSpec`