github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/build/teamcity-sqllogictest.sh (about) 1 #!/usr/bin/env bash 2 set -euxo pipefail 3 4 source "$(dirname "${0}")/teamcity-support.sh" 5 6 mkdir -p artifacts 7 8 # TestSqlLiteLogic needs the sqllogictest repo from the host's GOPATH, so we 9 # can't hide it like we do in the other teamcity build scripts. 10 # TODO(jordan) improve builder.sh to allow partial GOPATH hiding rather than 11 # the all-on/all-off strategy BUILDER_HIDE_GOPATH_SRC gives us. 12 export BUILDER_HIDE_GOPATH_SRC=0 13 14 # Run SqlLite tests. 15 # Need to specify the flex-types flag in order to skip past variations that have 16 # numeric typing differences. 17 run_json_test build/builder.sh \ 18 stdbuf -oL -eL \ 19 make test GOTESTFLAGS=-json TESTFLAGS="-v -bigtest -flex-types" TESTTIMEOUT='24h' PKG='./pkg/sql/logictest' TESTS='^TestSqlLiteLogic$$'