tests: disable loading of the scim module as this can causes hangs of the tests
authorStefan Schmidt <stefan@osg.samsung.com>
Fri, 4 Mar 2016 14:36:01 +0000 (15:36 +0100)
committerStefan Schmidt <stefan@osg.samsung.com>
Fri, 4 Mar 2016 14:41:42 +0000 (15:41 +0100)
With scim installed we can run into hangs of the test suite when the ecore_imf
scim module tries to connect to the scim on the system. This has happened again
and again on different installations and made the test suite really fragile.

We would need to make sure that scim is configured on the host before we could
run this test. It might be a candidate for skipped tests where we check if the
env has all we need to run the test and if not skip it. We don not have all the
needed pieces in place for this so the best we can do to make the test runs less
fragile is disabling scim module loading for now.

src/tests/ecore/ecore_test_ecore_imf.c

index f1ca873..486aa46 100644 (file)
@@ -21,7 +21,10 @@ static const char *built_modules[] = {
   "ibus",
 #endif
 #ifdef BUILD_ECORE_IMF_SCIM
-  "scim",
+/* The scim module needs some configuration on the host or it might just block
+ * the whole test suite when it tries to load the module. Disabling it as we
+ * do not have control over the host.
+  "scim", */
 #endif
   NULL
 };