dnote/scripts/test.sh
Sung Won Cho 2026415d6c
Fix added_on being reset upon sync (#169)
* Fix added_on being reset upon sync

* Configure semaphore ci
2019-04-09 17:09:00 +10:00

17 lines
359 B
Bash
Executable file

#!/bin/bash
# run_server_test.sh runs server test files sequentially
# https://stackoverflow.com/questions/23715302/go-how-to-run-tests-for-multiple-packages
set -e
# clear tmp dir in case not properly torn down
rm -rf $GOPATH/src/github.com/dnote/cli/tmp
# run test
pushd $GOPATH/src/github.com/dnote/cli
go test -a ./... \
-p 1\
--tags "fts5"
popd