mirror of
https://github.com/dnote/dnote
synced 2026-03-15 23:15:50 +01:00
* Implement login and logout * Add encrypt util * Use v2 * Abstract common interface between db and tx * Fix test * Check login * Fix test * Fix login * Fix path * Improve test * Fix output
17 lines
356 B
Bash
Executable file
17 lines
356 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 ./... \
|
|
-p 1\
|
|
--tags "fts5"
|
|
|
|
popd
|