mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-01 21:02:33 +00:00
fix go vet errors, tests skeleton
This commit is contained in:
30
tests/run_tests
Executable file
30
tests/run_tests
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
source ../vendor/github.com/reconquest/import.bash/import.bash
|
||||
|
||||
import:use "github.com/reconquest/test-runner.bash"
|
||||
import:use "github.com/reconquest/go-test.bash"
|
||||
|
||||
:cleanup() {
|
||||
:
|
||||
}
|
||||
|
||||
:main() {
|
||||
trap :cleanup EXIT
|
||||
|
||||
cd ..
|
||||
|
||||
go-test:set-output-dir "$(pwd)"
|
||||
go-test:build mark
|
||||
|
||||
test-runner:set-local-setup tests/setup.sh
|
||||
test-runner:set-local-teardown tests/teardown.sh
|
||||
test-runner:set-testcases-dir tests/testcases
|
||||
|
||||
test-runner:run "${@}"
|
||||
}
|
||||
|
||||
:main "${@}"
|
||||
Reference in New Issue
Block a user