mirror of
https://github.com/glimpse-app/server.git
synced 2025-04-02 10:52:45 -04:00
another test image
This commit is contained in:
parent
09591858de
commit
18216291d4
2 changed files with 7 additions and 2 deletions
1
tests/image2.jpg
Normal file
1
tests/image2.jpg
Normal file
|
@ -0,0 +1 @@
|
|||
<EFBFBD>リ<EFBFBD><EFBFBD>
|
After Width: | Height: | Size: 5 B |
|
@ -2,6 +2,10 @@ import std/[unittest, os, osproc]
|
|||
|
||||
test "Run tests":
|
||||
copyFile("./tests/image.png", "./image.png")
|
||||
if execCmd("cd tests && bash -c ./test_1.sh") > 0:
|
||||
copyFile("./tests/image2.jpg", "./image2.jpg")
|
||||
|
||||
if execCmd("bash -c ./tests/test_1.sh") > 0:
|
||||
fail()
|
||||
removeFile("./image.png")
|
||||
|
||||
removeFile("./image.png")
|
||||
removeFile("./image2.jpg")
|
||||
|
|
Loading…
Add table
Reference in a new issue