Skip to content

Commit

Permalink
feat:make test instead of check
Browse files Browse the repository at this point in the history
Signed-off-by: Sayan Paul <[email protected]>
  • Loading branch information
say-paul committed Oct 16, 2023
1 parent 400166f commit aacf22e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else
endif

.PHONY: all
all: build test
all: build check

$(RPM_SPECFILE):
mkdir -p $(CURDIR)/rpmbuild/SPECS
Expand All @@ -40,8 +40,8 @@ install: build
install -D -t ${DESTDIR}/usr/libexec "${TARGETDIR}/${PROFILE}/greenboot"
install -D -m 644 -t ${DESTDIR}/usr/lib/systemd/system dist/systemd/system/*.service

.PHONY: test
test:
.PHONY: check
check:
cargo test "--target-dir=${TARGETDIR}" -- --test-threads=1

.PHONY: srpm
Expand Down

0 comments on commit aacf22e

Please sign in to comment.