-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit tests run through Github Action outputs message and errors to st…
…andard streams * Add STDOUT= and STDERR= options to Makefile * Set these options in Github Action
- Loading branch information
1 parent
af4934b
commit b9124e1
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,31 @@ | ||
# Utility rules to run automation tasks | ||
|
||
ARGS := | ||
ifdef STDERR | ||
ARGS += --stderr $(STDERR) | ||
endif | ||
ifdef STDOUT | ||
ARGS += --stdout $(STDOUT) | ||
endif | ||
|
||
.PHONY: all tests parsers-tests php-tests xsh-tests xslt-tests | ||
|
||
all: tests | ||
|
||
tests: parsers-tests php-tests xsh-tests xslt-tests | ||
|
||
parsers-tests: | ||
@tools/sh/run-tests.sh parsers | ||
@echo Parsers | ||
@tools/sh/run-tests.sh parsers $(ARGS) | ||
|
||
php-tests: | ||
@tools/sh/run-tests.sh php | ||
@echo PHP | ||
@tools/sh/run-tests.sh php $(ARGS) | ||
|
||
xsh-tests: | ||
@tools/sh/run-tests.sh xsh | ||
@echo XSH library | ||
@tools/sh/run-tests.sh xsh $(ARGS) | ||
|
||
xslt-tests: | ||
@tools/sh/run-tests.sh xslt | ||
@echo XSLT library | ||
@tools/sh/run-tests.sh xslt $(ARGS) |