mirror of
https://github.com/kovetskiy/mark.git
synced 2025-06-03 20:42:41 +08:00
33 lines
664 B
Bash
Executable File
33 lines
664 B
Bash
Executable File
#!/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"
|
|
import:use "github.com/reconquest/blank.bash"
|
|
import:use "github.com/reconquest/coproc.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 "${@}"
|