changeset 593:806e415df417

- aggr test suites output cosmetics on exceptions
author Tassilo Philipp
date Mon, 19 Sep 2022 18:24:40 +0200
parents f29db2bf3c0e
children 0bb9c03ff617
files test/call_suite_aggrs/main.c test/callback_suite_aggrs/main.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/call_suite_aggrs/main.c	Mon Sep 19 18:11:08 2022 +0200
+++ b/test/call_suite_aggrs/main.c	Mon Sep 19 18:24:40 2022 +0200
@@ -252,6 +252,8 @@
   dcReset(G_callvm);
   if(setjmp(jbuf) == 0)
     r = run_all();
+  else
+    printf("\n"); /* new line as current might be filled with garbage */
 
   /* free all DCaggrs created on the fly (backwards b/c they are interdependency-ordered */
   for(i=G_naggs-1; i>=0; --i)
--- a/test/callback_suite_aggrs/main.c	Mon Sep 19 18:11:08 2022 +0200
+++ b/test/callback_suite_aggrs/main.c	Mon Sep 19 18:24:40 2022 +0200
@@ -324,6 +324,8 @@
   init_test_data();
   if(setjmp(jbuf) == 0)
     r = run_all(from, to);
+  else
+    printf("\n"); /* new line as current might be filled with garbage */
 
   /* free all DCaggrs created on the fly (backwards b/c they are interdependency-ordered */
   for(i=G_naggs-1; i>=0; --i)