Skip to content

Commit 4c08caa

Browse files
committed
Makefile: exit 1 for test cases that MISS too
Ref 686a177
1 parent 5122302 commit 4c08caa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ update:
4343
rm -f '$*.typ'; \
4444
if ! [ -e '$@' ]; then \
4545
echo 'MISS $(TEST_DIR)$* (run `make update`?)'; \
46+
exit 1; \
4647
elif diff -q '$@' '[email protected]' >/dev/null 2>&1; then \
4748
echo 'PASS $(TEST_DIR)$*'; \
4849
touch '$@'; \

README.typ

+2-2
Original file line numberDiff line numberDiff line change
@@ -890,8 +890,8 @@ is the total number of columns in the table.
890890
- New region options: #link-label(`bg`), #link-label(`colors`),
891891
#link-label(`fg`), and #link-label(`size`).
892892
- _Bugs fixed_
893-
- Test cases that fail to compile are now properly marked as
894-
failures.
893+
- Test cases that fail to compile or are missing now cause `make` to
894+
return with a non-zero exit status.
895895
- The test suite now operates correctly with Typst 0.6.0.
896896
- _Improvements_
897897
- A `typst.toml` file is provided to use `tbl.typ` as a local

0 commit comments

Comments
 (0)