summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2020-03-20 16:01:08 +0100
committerMichael Adam <obnox@samba.org>2020-03-20 19:44:13 +0100
commit77ed63ddd654fc16cc1044777ba27be495490081 (patch)
treee103e6830c50f2203e7aab6b7708f399e74b3492
parent57b86f4559f5c7293eddb484f783c67539e6f898 (diff)
downloadsamba-integration-77ed63ddd654fc16cc1044777ba27be495490081.tar.gz
samba-integration-77ed63ddd654fc16cc1044777ba27be495490081.tar.xz
samba-integration-77ed63ddd654fc16cc1044777ba27be495490081.zip
centos-ci: run "make test" instead of true
With https://github.com/gluster/samba-integration/pull/6, a Makefile with target "test" should be added. Once we use that, we don't have to modify this script any more to change what tests are run. Signed-off-by: Michael Adam <obnox@samba.org>
-rwxr-xr-xsamba-integration-centos-ci-tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/samba-integration-centos-ci-tests.sh b/samba-integration-centos-ci-tests.sh
index 6593bd7..ce23e00 100755
--- a/samba-integration-centos-ci-tests.sh
+++ b/samba-integration-centos-ci-tests.sh
@@ -12,6 +12,7 @@ set -x
GIT_REPO_NAME="samba-integration"
GIT_REPO_URL="https://github.com/gluster/${GIT_REPO_NAME}.git"
+TEST_TARGET="test"
# enable additional sources for yum
# (SCL repository for Vagrant, epel for ansible)
@@ -73,8 +74,9 @@ scl enable sclo-vagrant1 -- \
# time to run the tests:
+make "${TEST_TARGET}"
# TODO: add real tests to execute
-true
+# When the tests use vagrant, run them like so:
#echo make "${TEST_TARGET}" | scl enable sclo-vagrant1 bash
# END