summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-05-23 12:15:10 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-05-23 12:16:38 +0200
commit6427476df0f51efcf9c0e88306c4b4e2bbee7059 (patch)
tree9f088e4e94f5cb69e4fef206d7d6c7f5113a5486
parentec89c47bbb546ff5a69048f89af91245ec92dad3 (diff)
downloadalpine-conf-6427476df0f51efcf9c0e88306c4b4e2bbee7059.zip
make: rename 'test' target to add 'check'
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d1d4024..75611ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ test-job:
stage: test
script:
- apk add make gcc musl-dev kyua
- - make -j $(nproc) test
+ - make -j $(nproc) check
tags:
- docker-alpine
- x86_64
diff --git a/Makefile b/Makefile
index 051cd5b..1e582ba 100644
--- a/Makefile
+++ b/Makefile
@@ -116,6 +116,6 @@ Kyuafile:
echo "test_suite('alpine-conf')" >> $@
echo "include('tests/Kyuafile')" >> $@
-test: $(SCRIPTS) $(BIN_FILES) tests/Kyuafile Kyuafile
+check: $(SCRIPTS) $(BIN_FILES) tests/Kyuafile Kyuafile
kyua test || (kyua report --verbose && exit 1)