cedric pushed a commit to branch master.

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

commit b71229ac4720d4b252f5314b70ffa315c6b3595f
Author: michelle legrand <michelle.legr...@openwide.fr>
Date:   Fri Jan 30 10:49:54 2015 +0100

    check: fix tests suites on Windows
    
    Disable timeout because we cannot fork on Windows.
    
    @fix
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/tests/ecore_cxx/ecore_cxx_suite.cc   | 2 ++
 src/tests/edje/edje_suite.c              | 2 ++
 src/tests/eet_cxx/eet_cxx_suite.cc       | 2 ++
 src/tests/efreet/efreet_suite.c          | 2 ++
 src/tests/eina/eina_suite.c              | 2 ++
 src/tests/eina_cxx/eina_cxx_suite.cc     | 2 ++
 src/tests/eldbus/eldbus_suite.c          | 2 ++
 src/tests/eldbus_cxx/eldbus_cxx_suite.cc | 2 ++
 src/tests/eo/suite/eo_suite.c            | 2 ++
 src/tests/eolian/eolian_suite.c          | 2 ++
 src/tests/eolian_cxx/eolian_cxx_suite.cc | 2 ++
 src/tests/evas/evas_suite.c              | 2 ++
 12 files changed, 24 insertions(+)

diff --git a/src/tests/ecore_cxx/ecore_cxx_suite.cc 
b/src/tests/ecore_cxx/ecore_cxx_suite.cc
index d2888ef..4d2e721 100644
--- a/src/tests/ecore_cxx/ecore_cxx_suite.cc
+++ b/src/tests/ecore_cxx/ecore_cxx_suite.cc
@@ -60,7 +60,9 @@ ecore_build_suite(int argc, const char **argv)
            continue;
 
         tc = tcase_create(etc[i].test_case);
+#ifndef _WIN32
         tcase_set_timeout(tc, 0);
+#endif
 
         etc[i].build(tc);
         suite_add_tcase(s, tc);
diff --git a/src/tests/edje/edje_suite.c b/src/tests/edje/edje_suite.c
index 8621664..9284dbf 100644
--- a/src/tests/edje/edje_suite.c
+++ b/src/tests/edje/edje_suite.c
@@ -61,7 +61,9 @@ edje_suite_build(int argc, const char **argv)
        etc[i].build(tc);
 
        suite_add_tcase(s, tc);
+#ifndef _WIN32
        tcase_set_timeout(tc, 0);
+#endif
      }
 
    return s;
diff --git a/src/tests/eet_cxx/eet_cxx_suite.cc 
b/src/tests/eet_cxx/eet_cxx_suite.cc
index fa4465e..b1f66e6 100644
--- a/src/tests/eet_cxx/eet_cxx_suite.cc
+++ b/src/tests/eet_cxx/eet_cxx_suite.cc
@@ -62,7 +62,9 @@ eet_build_suite(int argc, const char **argv)
            continue;
 
         tc = tcase_create(etc[i].test_case);
+#ifndef _WIN32
         tcase_set_timeout(tc, 0);
+#endif
 
         etc[i].build(tc);
         suite_add_tcase(s, tc);
diff --git a/src/tests/efreet/efreet_suite.c b/src/tests/efreet/efreet_suite.c
index fcf9056..bbfd69c 100644
--- a/src/tests/efreet/efreet_suite.c
+++ b/src/tests/efreet/efreet_suite.c
@@ -65,7 +65,9 @@ efreet_suite_build(int argc, const char **argv)
        etc[i].build(tc);
 
        suite_add_tcase(s, tc);
+#ifndef _WIN32
        tcase_set_timeout(tc, 0);
+#endif
      }
 
    return s;
diff --git a/src/tests/eina/eina_suite.c b/src/tests/eina/eina_suite.c
index ae849a2..26e3048 100644
--- a/src/tests/eina/eina_suite.c
+++ b/src/tests/eina/eina_suite.c
@@ -116,7 +116,9 @@ eina_build_suite(int argc, const char **argv)
            continue;
 
         tc = tcase_create(etc[i].test_case);
+#ifndef _WIN32
         tcase_set_timeout(tc, 0);
+#endif
 
         etc[i].build(tc);
         suite_add_tcase(s, tc);
diff --git a/src/tests/eina_cxx/eina_cxx_suite.cc 
b/src/tests/eina_cxx/eina_cxx_suite.cc
index 9ee1082..3bb028d 100644
--- a/src/tests/eina_cxx/eina_cxx_suite.cc
+++ b/src/tests/eina_cxx/eina_cxx_suite.cc
@@ -83,7 +83,9 @@ eina_build_suite(int argc, const char **argv)
            continue;
 
         tc = tcase_create(etc[i].test_case);
+#ifndef _WIN32
         tcase_set_timeout(tc, 0);
+#endif
 
         etc[i].build(tc);
         suite_add_tcase(s, tc);
diff --git a/src/tests/eldbus/eldbus_suite.c b/src/tests/eldbus/eldbus_suite.c
index 3a47998..5c6743d 100644
--- a/src/tests/eldbus/eldbus_suite.c
+++ b/src/tests/eldbus/eldbus_suite.c
@@ -64,7 +64,9 @@ eldbus_suite_build(int argc, const char **argv)
        etc[i].build(tc);
 
        suite_add_tcase(s, tc);
+#ifndef _WIN32
        tcase_set_timeout(tc, 0);
+#endif
      }
 
    return s;
diff --git a/src/tests/eldbus_cxx/eldbus_cxx_suite.cc 
b/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
index b9a145d..c7b6b52 100644
--- a/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
+++ b/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
@@ -64,7 +64,9 @@ eldbus_build_suite(int argc, const char **argv)
            continue;
 
         tc = tcase_create(etc[i].test_case);
+#ifndef _WIN32
         tcase_set_timeout(tc, 0);
+#endif
 
         etc[i].build(tc);
         suite_add_tcase(s, tc);
diff --git a/src/tests/eo/suite/eo_suite.c b/src/tests/eo/suite/eo_suite.c
index 90f5577..0441ceb 100644
--- a/src/tests/eo/suite/eo_suite.c
+++ b/src/tests/eo/suite/eo_suite.c
@@ -66,7 +66,9 @@ eo_suite_build(int argc, const char **argv)
        etc[i].build(tc);
 
        suite_add_tcase(s, tc);
+#ifndef _WIN32
        tcase_set_timeout(tc, 0);
+#endif
      }
 
    return s;
diff --git a/src/tests/eolian/eolian_suite.c b/src/tests/eolian/eolian_suite.c
index 36cff51..ee73549 100644
--- a/src/tests/eolian/eolian_suite.c
+++ b/src/tests/eolian/eolian_suite.c
@@ -62,7 +62,9 @@ eolian_suite_build(int argc, const char **argv)
        etc[i].build(tc);
 
        suite_add_tcase(s, tc);
+#ifndef _WIN32
        tcase_set_timeout(tc, 0);
+#endif
      }
 
    return s;
diff --git a/src/tests/eolian_cxx/eolian_cxx_suite.cc 
b/src/tests/eolian_cxx/eolian_cxx_suite.cc
index 7af2de8..cace098 100644
--- a/src/tests/eolian_cxx/eolian_cxx_suite.cc
+++ b/src/tests/eolian_cxx/eolian_cxx_suite.cc
@@ -65,7 +65,9 @@ eolian_cxx_build_suite(int argc, const char **argv)
            continue;
 
         tc = tcase_create(etc[i].test_case);
+#ifndef _WIN32
         tcase_set_timeout(tc, 0);
+#endif
 
         etc[i].build(tc);
         suite_add_tcase(s, tc);
diff --git a/src/tests/evas/evas_suite.c b/src/tests/evas/evas_suite.c
index 5d37325..7b087bb 100644
--- a/src/tests/evas/evas_suite.c
+++ b/src/tests/evas/evas_suite.c
@@ -70,7 +70,9 @@ evas_suite_build(int argc, const char **argv)
        etc[i].build(tc);
 
        suite_add_tcase(s, tc);
+#ifndef _WIN32
        tcase_set_timeout(tc, 0);
+#endif
      }
 
    return s;

-- 


Reply via email to