Skip to content

Commit 5ee20e8

Browse files
committed
Fixed pipefail issue that was preventing CI from reporting errors
1 parent bf78b09 commit 5ee20e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ASM := $(SRC:.c=.s)
1111

1212
TEST := $(patsubst tests/%.sh,%,$(wildcard tests/test_*))
1313

14+
SHELL = /bin/bash -o pipefail
15+
1416
ifdef DEBUG
1517
CFLAGS += -O0 -g3
1618
else
@@ -35,7 +37,7 @@ test: test_format test_dirs test_files test_seek test_parallel \
3537
test_alloc test_paths test_orphan test_move test_corrupt
3638
test_%: tests/test_%.sh
3739
ifdef QUIET
38-
./$< | sed '/^[^-=]/d'
40+
./$< | sed -n '/^[-=]/p'
3941
else
4042
./$<
4143
endif

0 commit comments

Comments
 (0)