File: gen_tests.sh

package info (click to toggle)
golang-gopkg-rethinkdb-rethinkdb-go.v6 6.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,736 kB
  • sloc: python: 1,382; makefile: 16; sh: 9
file content (15 lines) | stat: -rwxr-xr-x 212 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

set -e

if [[ $REQL_TEST_DIR == "" ]]
then
    echo "\$REQL_TEST_DIR must be specified"
    exit 1
fi

../gen_tests/gen_tests.py --test-dir=$REQL_TEST_DIR

goimports -w . > /dev/null

exit 0