poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[COMMITTED] testsuite: report unsupported MI-JSON tests as untested, not


From: Jose E. Marchesi
Subject: [COMMITTED] testsuite: report unsupported MI-JSON tests as untested, not as unresolved
Date: Sat, 29 Jan 2022 00:51:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

2022-01-29  Jose E. Marchesi  <jemarch@gnu.org>

        * testsuite/poke.mi-json/mi-json.c (test_json_file): When libjson
        is not modern enough, report the test as `untested' and not as
        `unresolved'.
---
 ChangeLog                        | 6 ++++++
 testsuite/poke.mi-json/mi-json.c | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d3c215c5..1fb16a37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-29  Jose E. Marchesi  <jemarch@gnu.org>
+
+       * testsuite/poke.mi-json/mi-json.c (test_json_file): When libjson
+       is not modern enough, report the test as `untested' and not as
+       `unresolved'.
+
 2022-01-28  Mohammad-Reza Nabipoor  <mnabipoor@gnu.org>
 
        * libpoke/pkl-typify.c (pkl_typify1_ps_trimmer): Restart the pass
diff --git a/testsuite/poke.mi-json/mi-json.c b/testsuite/poke.mi-json/mi-json.c
index 0e440835..8a5fc5d2 100644
--- a/testsuite/poke.mi-json/mi-json.c
+++ b/testsuite/poke.mi-json/mi-json.c
@@ -289,7 +289,7 @@ test_json_file (const char *filename, FILE *ifp)
   if (ret == J_NOK)
     goto error;
   else if (ret == J_UND)
-    goto unresolved;
+    goto untested;
 
   pass (filename);
   return;
@@ -301,8 +301,8 @@ error:
     fail (filename);
   return;
 
- unresolved:
-  unresolved (filename);
+ untested:
+  untested (filename);
 }
 
 void
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]