jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=351090f95de447c0d820bb02eb40889ab78b0736

commit 351090f95de447c0d820bb02eb40889ab78b0736
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Jun 18 19:15:16 2015 +0900

    Evas tests: Fix failing test due to API change
    
    The new Lua color function is more lax than before, and
    invalid color names will default to black without failing.
---
 src/tests/evas/evas_test_filters.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/tests/evas/evas_test_filters.c 
b/src/tests/evas/evas_test_filters.c
index 0b72d7c..ac40d05 100644
--- a/src/tests/evas/evas_test_filters.c
+++ b/src/tests/evas/evas_test_filters.c
@@ -183,12 +183,15 @@ START_TEST(evas_filter_parser)
       "White"
    };
 
+#if 0
+   // New color class defaults to black
    static const char *colors_bad[] = {
       "newcolor",
       "ABC",
       "#ZZZ",
       "#-10"
    };
+#endif
 
    for (size_t c = 0; c < sizeof(colors) / sizeof(colors[0]); c++)
      {
@@ -197,6 +200,7 @@ START_TEST(evas_filter_parser)
         CHKGOOD(buf);
      }
 
+#if 0
    fprintf(stderr, "Evas filters tests: start invalid cases. Ignore the 
following ERRs.\n");
    for (size_t c = 0; c < sizeof(colors_bad) / sizeof(colors_bad[0]); c++)
      {
@@ -205,6 +209,7 @@ START_TEST(evas_filter_parser)
         CHKBAAD(buf);
      }
    fprintf(stderr, "Evas filters tests: end of invalid cases.\n");
+#endif
 
    // fillmodes are parsed when converting from instructions to commands
 }

-- 


Reply via email to