make run the default action of a test in tester
This commit is contained in:
parent
610283b9b0
commit
031bfdec6f
50 changed files with 313 additions and 46 deletions
|
|
@ -1,3 +0,0 @@
|
|||
# test the new endian magic
|
||||
|
||||
writeLine(stdout, repr(system.cpuEndian))
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
#
|
||||
import times, os
|
||||
|
||||
var start = epochTime()
|
||||
os.sleep(1000)
|
||||
|
||||
echo epochTime() - start #OUT 1000
|
||||
let diff = abs(epochTime() - start - 1.0)
|
||||
doAssert diff < 0.005
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
# Hallo
|
||||
discard """
|
||||
action: compile
|
||||
"""
|
||||
|
||||
# noted this seems to be an old test file designed for manual testing.
|
||||
|
||||
import
|
||||
os, strutils, macros
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue