Skip to content

Commit

Permalink
test: use make to run the tests
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <[email protected]>
  • Loading branch information
felipec committed Mar 27, 2023
1 parent 51db3b4 commit 90c6ad5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
submodules: 'recursive'

- name: Run tests
run: ./run-tests
run: make -C t
12 changes: 12 additions & 0 deletions t/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
T = $(wildcard *.t)

test: $(T)
@$(MAKE) --silent clean

$(T): clean
./$@ $(TEST_OPTS)

clean:
@rm -fr test-results

.PHONY: test $(T) clean

0 comments on commit 90c6ad5

Please sign in to comment.