testament: introduce 'matrix' for testing multiple options (#13343)

This commit is contained in:
Miran 2020-02-07 16:45:49 +01:00 • committed by GitHub
commit cdedb86348
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 19 deletions

View file

@ -1,5 +1,7 @@
discard """
cmd: "nim c -d:danger -r $file"
cmd: "nim $target $options -r $file"
targets: "c cpp"
matrix: "-d:danger; -d:release"
output: '''
a
b