mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
nre tests were just being compiled - changed so that a failure causes exit code to defer causing `tester` to report it as a failure
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
discard """
|
||||
# Since the tests for nre are all bundled together we treat failure in one test as an nre failure
|
||||
# When running 'tests/testament/tester' a failed check() in the test suite will cause the exit
|
||||
# codes to differ and be reported as a failure
|
||||
|
||||
output:
|
||||
'''[Suite] Test NRE initialization
|
||||
|
||||
[Suite] captures
|
||||
|
||||
[Suite] find
|
||||
|
||||
[Suite] string splitting
|
||||
|
||||
[Suite] match
|
||||
|
||||
[Suite] replace
|
||||
|
||||
[Suite] escape strings
|
||||
|
||||
[Suite] Misc tests'''
|
||||
"""
|
||||
import nre
|
||||
import nre.init
|
||||
import nre.captures
|
||||
|
||||
Reference in New Issue
Block a user