From b7b409df591fc0162afc3cf5b12f3336a1445835 Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sat, 25 Jan 2003 18:07:23 +0000 Subject: [PATCH] Some extra messages in the output. --- t/output/write_gom_allged.ref | 2 ++ t/output/write_gom_ansel.ref | 2 ++ t/output/write_gom_ascii.ref | 2 ++ t/output/write_gom_dates.ref | 2 ++ t/output/write_gom_uhlbomcl.ref | 2 ++ t/output/write_gom_uhlcl.ref | 2 ++ t/output/write_gom_ulhbomcl.ref | 2 ++ t/output/write_gom_ulhc.ref | 2 ++ t/output/write_gom_ulhcl.ref | 2 ++ t/output/write_gom_ulhl.ref | 2 ++ t/output/write_gom_ulhlc.ref | 2 ++ t/src/gom_write.c | 5 ++++- 12 files changed, 26 insertions(+), 1 deletion(-) diff --git a/t/output/write_gom_allged.ref b/t/output/write_gom_allged.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_allged.ref +++ b/t/output/write_gom_allged.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_ansel.ref b/t/output/write_gom_ansel.ref index 196fe32..95a9538 100644 --- a/t/output/write_gom_ansel.ref +++ b/t/output/write_gom_ansel.ref @@ -1,2 +1,4 @@ +Writing file... WARNING: Warning on line 1: Forcing HEAD.CHAR value to 'ANSEL' +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_ascii.ref b/t/output/write_gom_ascii.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_ascii.ref +++ b/t/output/write_gom_ascii.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_dates.ref b/t/output/write_gom_dates.ref index a62e28b..c6af0d1 100644 --- a/t/output/write_gom_dates.ref +++ b/t/output/write_gom_dates.ref @@ -12,6 +12,8 @@ WARNING: Warning: Cross-reference @PERS08@ defined on line 42 is never used WARNING: Warning: Cross-reference @PERS06@ defined on line 34 is never used WARNING: Warning: Cross-reference @PERS05@ defined on line 30 is never used WARNING: Warning: Cross-reference @PERS03@ defined on line 22 is never used +Writing file... +Re-parsing file... WARNING: Warning: Cross-reference @PERS07@ defined on line 43 is never used WARNING: Warning: Cross-reference @PERS02@ defined on line 23 is never used WARNING: Warning: Cross-reference @PERS00@ defined on line 15 is never used diff --git a/t/output/write_gom_uhlbomcl.ref b/t/output/write_gom_uhlbomcl.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_uhlbomcl.ref +++ b/t/output/write_gom_uhlbomcl.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_uhlcl.ref b/t/output/write_gom_uhlcl.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_uhlcl.ref +++ b/t/output/write_gom_uhlcl.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_ulhbomcl.ref b/t/output/write_gom_ulhbomcl.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_ulhbomcl.ref +++ b/t/output/write_gom_ulhbomcl.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_ulhc.ref b/t/output/write_gom_ulhc.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_ulhc.ref +++ b/t/output/write_gom_ulhc.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_ulhcl.ref b/t/output/write_gom_ulhcl.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_ulhcl.ref +++ b/t/output/write_gom_ulhcl.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_ulhl.ref b/t/output/write_gom_ulhl.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_ulhl.ref +++ b/t/output/write_gom_ulhl.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/output/write_gom_ulhlc.ref b/t/output/write_gom_ulhlc.ref index 2fc8ba6..aeadab4 100644 --- a/t/output/write_gom_ulhlc.ref +++ b/t/output/write_gom_ulhlc.ref @@ -1 +1,3 @@ +Writing file... +Re-parsing file... Test succeeded diff --git a/t/src/gom_write.c b/t/src/gom_write.c index c04d069..a9f0284 100644 --- a/t/src/gom_write.c +++ b/t/src/gom_write.c @@ -250,9 +250,12 @@ int main(int argc, char* argv[]) } if (result == 0) result |= test_timestamps(); - if (result == 0) + if (result == 0) { + output(1, "Writing file...\n"); result |= gom_write_file(gedfilename, &total_conv_fails); + } if (result == 0 && total_conv_fails == 0) { + output(1, "Re-parsing file...\n"); result |= gom_parse_file(gedfilename); } if (result == 0) { -- 2.30.2