From 4d236db3a9d0a7a4f9d07bd1204c24c58d5ac759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 28 Dec 2016 16:15:38 +0100 Subject: test/core: make tap.h replacement output work outside of tis-interpreter --- core/tap.h | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3