mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42:02 +08:00
add test scripts
This commit is contained in:
parent
3d92efaef1
commit
6f2ec5d73f
10
scripts/unit_test.sh
Normal file
10
scripts/unit_test.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# bash scripts/unit_test.sh
|
||||
# check $? for success or failure
|
||||
go test -v -cover encoder_test.go encoder.go helper.go
|
||||
go test -v -cover helper_test.go helper.go
|
||||
|
||||
# if [[ $? -ne 0 ]] ; then
|
||||
# echo "TEST FAILED!!! PLEASE DOUBLE CHECK."
|
||||
# fi
|
Loading…
x
Reference in New Issue
Block a user