diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000..6d1c4f708d --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +# Copyright (c) 2020 Intel Corporation +# +# SPDX-License-Identifier: Apache-2.0 +# + +test: + bash ci/go-test.sh diff --git a/ci/go-test.sh b/ci/go-test.sh new file mode 100755 index 0000000000..e6881f0051 --- /dev/null +++ b/ci/go-test.sh @@ -0,0 +1,11 @@ +# +# Copyright (c) 2020 Intel Corporation +# +# SPDX-License-Identifier: Apache-2.0 + +set -e + +cidir=$(dirname "$0") +source "${cidir}/lib.sh" + +run_go_test diff --git a/ci/lib.sh b/ci/lib.sh index 2b69144ce0..63dce9c3ba 100644 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -33,3 +33,9 @@ run_rust_test() clone_tests_repo bash "$tests_repo_dir/.ci/rust-test.sh" } + +run_go_test() +{ + clone_tests_repo + bash "$tests_repo_dir/.ci/go-test.sh" +}