atlas tool: testing via mocking (#18588)

* atlas: refactoring
* Atlas: do some basic testing via mocking
This commit is contained in:
Andreas Rumpf 2021-07-26 18:00:03 +02:00 • committed by GitHub
commit 664dbb6bfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 387 additions and 58 deletions

View file

@ -594,6 +594,8 @@ proc runCI(cmd: string) =
when defined(posix):
execFold("Run nimsuggest tests", "nim r nimsuggest/tester")
execFold("Run atlas tests", "nim c -r -d:atlasTests tools/atlas/atlas.nim clone https://github.com/disruptek/balls")
when not defined(bsd):
if not doUseCpp:
# the BSDs are overwhelmed already, so only run this test on the other machines: