Fix issues compiling and testing
This commit is contained in:
parent
4e1b906b49
commit
41a1a36dbf
6 changed files with 37 additions and 15 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue