Fix issues compiling and testing

This commit is contained in:
Joey Payne 2019-01-24 20:37:03 -07:00
commit 41a1a36dbf
6 changed files with 37 additions and 15 deletions

View file

@ -45,7 +45,7 @@ template withBackend(body: untyped): untyped =
import browsertests/[scenario1, threads, issue181, categories]
when isMainModule:
proc main() =
spawn runProcess("geckodriver -p 4444 --log config")
defer:
discard execCmd("killall geckodriver")
@ -71,3 +71,6 @@ when isMainModule:
except:
sleep(10000) # See if we can grab any more output.
raise
when isMainModule:
main()