activated more tests, allow input in test spec
This commit is contained in:
parent
e012eb1001
commit
9c2365d5c2
26 changed files with 223 additions and 124 deletions
|
|
@ -1,3 +1,14 @@
|
|||
discard """
|
||||
output: '''
|
||||
to stdout
|
||||
to stdout
|
||||
to stderr
|
||||
to stderr
|
||||
to stdout
|
||||
to stdout
|
||||
'''
|
||||
"""
|
||||
|
||||
# This file is prefixed with an "a", because other tests
|
||||
# depend on it and it must be compiled first.
|
||||
stdout.writeLine("to stdout")
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
exitcode: 1
|
||||
"""
|
||||
|
||||
# 'tafalse.nim' to ensure it is compiled before texitcode.nim
|
||||
import system
|
||||
quit(QuitFailure)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ discard """
|
|||
file: "texitcode.nim"
|
||||
output: ""
|
||||
"""
|
||||
|
||||
import osproc, os
|
||||
|
||||
const filename = when defined(Windows): "tafalse.exe" else: "tafalse"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue