mirror of
https://github.com/kovetskiy/mark.git
synced 2025-06-08 07:22:40 +08:00
31 lines
571 B
Plaintext
31 lines
571 B
Plaintext
![]() |
#!/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 "${@}"
|