bu5hm4n pushed a commit to branch master.

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

commit b2e3c483a8fcf434900d23c9e906901df0bb0d65
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Jun 19 14:35:49 2018 -0400

    tests: ensure class constructor is called in eo_domain test
    
    failing to call this prior to the thread invocation would result in a CRI
    from class initialization in a thread
    
    ref T7003
    
    Differential Revision: https://phab.enlightenment.org/D6333
---
 src/tests/eo/suite/eo_test_general.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tests/eo/suite/eo_test_general.c 
b/src/tests/eo/suite/eo_test_general.c
index f3f428a966..e5f649f93d 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -1554,6 +1554,8 @@ EFL_START_TEST(eo_domain)
    domain_a_set(objs, 1234);
    fail_if(domain_a_get(objs) != 1234);
 
+   ck_assert(SIMPLE_CLASS);
+
    Eina_Thread t;
    Data data;
    data.obj = obj;

-- 


Reply via email to