diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-28 16:15:38 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-28 16:15:38 +0100 |
| commit | 4d236db3a9d0a7a4f9d07bd1204c24c58d5ac759 (patch) | |
| tree | e440d90d2bffd502271a58299f7310868b9e63c9 /core | |
| parent | 18c7f3223bc3bb8085c4b35a04c4dafaa88a4dd8 (diff) | |
| download | vis-4d236db3a9d0a7a4f9d07bd1204c24c58d5ac759.tar.gz vis-4d236db3a9d0a7a4f9d07bd1204c24c58d5ac759.tar.xz | |
test/core: make tap.h replacement output work outside of tis-interpreter
Diffstat (limited to 'core')
| -rw-r--r-- | core/tap.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |
