[libgda] InputParsers: Time parsing check version for testing



commit f1c561464e4a6705c2150d925d3b9af39c48fc54
Author: Daniel Espinosa <esodan gmail com>
Date:   Wed Mar 18 18:15:28 2020 -0600

    InputParsers: Time parsing check version for testing

 tests/test-input-parsers.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/tests/test-input-parsers.c b/tests/test-input-parsers.c
index 39421bb06..ad9feb1cc 100644
--- a/tests/test-input-parsers.c
+++ b/tests/test-input-parsers.c
@@ -292,7 +292,11 @@ test_date_handler (void)
 TestTime timedata2[] = {
        {"112256Z",TRUE, 11, 22, 56, 0, 0},
        {"012256Z",TRUE, 1, 22, 56, 0, 0},
+#ifdef GLIB_VERSION_2_62
        {"012260Z",FALSE, 1, 22, 59, 0, 0},
+#else
+       {"012260Z",TRUE, 1, 22, 59, 0, 0},
+#endif
        {"016045Z",FALSE, 1, 0, 0, 0, 0},
        {"242345Z",FALSE, 0, 0, 0, 0, 0},
        {"235959Z",TRUE, 23, 59, 59, 0, 0},


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