Skip to content

Commit

Permalink
test: allow passing go test flags to test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bevzzz committed Oct 27, 2024
1 parent 95c4a8e commit e04de83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/dbtest/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ trap 'docker-compose down -v' EXIT
docker-compose down -v
docker-compose up -d
sleep 30
CGO_ENABLED=0 TZ= go test
CGO_ENABLED=1 TZ= go test -tags cgosqlite
CGO_ENABLED=0 TZ= go test "$@"
CGO_ENABLED=1 TZ= go test -tags cgosqlite "$@"

0 comments on commit e04de83

Please sign in to comment.