summaryrefslogtreecommitdiff
path: root/test/run-sqlite.sh
blob: 666f88c2885b7717eaceafee6562a3fe6ab94cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

# Ensure test args are set.
ARGS=${@}; [ -z "$ARGS" ] && \
ARGS='./...'

# Run the SQLite tests.
GTS_DB_TYPE=sqlite \
GTS_DB_ADDRESS=':memory:' \
go test ${ARGS}