aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-28 16:15:38 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-28 16:15:38 +0100
commit4d236db3a9d0a7a4f9d07bd1204c24c58d5ac759 (patch)
treee440d90d2bffd502271a58299f7310868b9e63c9
parent18c7f3223bc3bb8085c4b35a04c4dafaa88a4dd8 (diff)
downloadvis-4d236db3a9d0a7a4f9d07bd1204c24c58d5ac759.tar.gz
vis-4d236db3a9d0a7a4f9d07bd1204c24c58d5ac759.tar.xz
test/core: make tap.h replacement output work outside of tis-interpreter
-rw-r--r--core/tap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/tap.h b/core/tap.h
index 98f5a35..f3f934d 100644
--- a/core/tap.h
+++ b/core/tap.h
@@ -16,6 +16,7 @@ static int exit_status() {
bool _e = (e); \
printf("%sok %d - ", _e ? "" : "not ", ++test_count); \
printf(__VA_ARGS__); \
+ puts(""); \
if (!_e) { \
failures++; \
printf(" Failed test (%s:%s() at line %d)\n", __FILE__, __func__, __LINE__); \
@@ -31,6 +32,7 @@ static int exit_status() {
while (_n--) { \
printf("ok %d # skip ", ++test_count); \
printf(__VA_ARGS__); \
+ puts(""); \
} \
} while (0)