make run the default action of a test in tester

This commit is contained in:
Arne Döring 2018-11-13 15:21:14 +01:00 • committed by Araq
commit 031bfdec6f
50 changed files with 313 additions and 46 deletions

View file

@ -1,3 +0,0 @@
# test the new endian magic
writeLine(stdout, repr(system.cpuEndian))

View file

@ -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

View file

@ -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