summaryrefslogtreecommitdiff
path: root/src/tests/eo
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-19 14:35:49 -0400
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-06-25 17:03:05 +0200
commitb2e3c483a8fcf434900d23c9e906901df0bb0d65 (patch)
tree4e1729caf24a3bf6fdcaadbb70b59ee95b30150f /src/tests/eo
parent2ce15216c7b7387c9f404a70649b00b40e503266 (diff)
downloadefl-b2e3c483a8fcf434900d23c9e906901df0bb0d65.tar.gz
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
Diffstat (limited to 'src/tests/eo')
-rw-r--r--src/tests/eo/suite/eo_test_general.c2
1 files changed, 2 insertions, 0 deletions
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;