Skip to content

Commit

Permalink
allow tester to overwrite hasturTests (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Jan 6, 2025
1 parent 72cd3be commit 74964db
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/tester.nim
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# It supports overwriting tested results using `--overwrite`

import std / [os, strutils]
import "../src/lib" / [nifreader, nifbuilder, nif_linkedtree]
Expand Down Expand Up @@ -217,7 +218,7 @@ proc testNifGram(overwrite: bool) =

testNifGram(overwrite)

proc hasturTests() =
exec "nim c -r src/hastur"
proc hasturTests(overwrite: bool) =
exec "nim c -r src/hastur --overwrite"

hasturTests()
hasturTests(overwrite)

0 comments on commit 74964db

Please sign in to comment.