add framing format test runner
This commit is contained in:
parent
bb20886854
commit
71b24a6d15
|
@ -12,6 +12,6 @@ requires "nim >= 0.19.0",
|
|||
"stew"
|
||||
|
||||
task test, "Run all tests":
|
||||
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -r tests/test"
|
||||
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -d:release -r tests/test"
|
||||
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" --threads:on -d:release -r tests/test"
|
||||
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -r tests/all_tests"
|
||||
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" -d:release -r tests/all_tests"
|
||||
exec "nim c --passL:\"-lsnappy -L./tests -lstdc++\" --threads:on -d:release -r tests/all_tests"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import
|
||||
test_codec,
|
||||
test_framing_format
|
|
@ -0,0 +1,10 @@
|
|||
import
|
||||
unittest, os,
|
||||
../snappy/framing
|
||||
|
||||
proc main() =
|
||||
suite "framing":
|
||||
test "uncompress":
|
||||
check true
|
||||
|
||||
main()
|
Loading…
Reference in New Issue