mirror of
https://github.com/logos-storage/nim-chronos.git
synced 2026-05-28 04:29:26 +00:00
Merge branch 'nimble'
This commit is contained in:
commit
d63bfb4598
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
nimcache
|
||||||
|
|
||||||
@ -9,8 +9,6 @@ skipDirs = @["tests"]
|
|||||||
|
|
||||||
requires "nim > 0.18.0"
|
requires "nim > 0.18.0"
|
||||||
|
|
||||||
import ospaths
|
|
||||||
|
|
||||||
task test, "Run all tests":
|
task test, "Run all tests":
|
||||||
|
|
||||||
var testFiles = @[
|
var testFiles = @[
|
||||||
@ -41,13 +39,14 @@ task test, "Run all tests":
|
|||||||
if tfile == "testtime":
|
if tfile == "testtime":
|
||||||
for cmd in testCommands:
|
for cmd in testCommands:
|
||||||
for def in timerCommands:
|
for def in timerCommands:
|
||||||
var commandLine = (cmd & def & " tests") / tfile
|
var commandLine = cmd & def & " tests/" & tfile
|
||||||
echo "\n" & commandLine
|
echo "\n" & commandLine
|
||||||
exec commandLine
|
exec commandLine
|
||||||
rmFile("tests" / tfile.toExe())
|
rmFile("tests/" & tfile.toExe())
|
||||||
else:
|
else:
|
||||||
for cmd in testCommands:
|
for cmd in testCommands:
|
||||||
var commandLine = (cmd & " tests") / tfile
|
var commandLine = cmd & " tests/" & tfile
|
||||||
echo "\n" & commandLine
|
echo "\n" & commandLine
|
||||||
exec commandLine
|
exec commandLine
|
||||||
rmFile("tests" / tfile.toExe())
|
rmFile("tests/" & tfile.toExe())
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user