aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-31 16:19:18 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-31 16:19:18 +0200
commit76898b9c9a13036690c6270388f0389172321ff9 (patch)
treebdadc6a72f309ee68b84fb06092a555a6f7df6a3
parentefl_ui_table_layout: calculate cell size with colspan, rowspan property (diff)
downloadefl-devs/bu5hm4n/yolo-fixes.tar.gz
#YouDoNotSimplyBreakTheCompilerdevs/bu5hm4n/yolo-fixes
-rw-r--r--src/tests/efl_check.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tests/efl_check.h b/src/tests/efl_check.h
index d5b0d2fcc2..7cbb79c485 100644
--- a/src/tests/efl_check.h
+++ b/src/tests/efl_check.h
@@ -326,8 +326,12 @@ _efl_suite_build_and_run(int argc, const char **argv, const char *suite_name, co
if (pid > 0)
{
if (!fork_map) fork_map = eina_hash_int32_new(NULL);
- eina_hash_add(fork_map, &pid, etc[i].test_case);
- num_forks++;
+ //this looks weird, and it is weird, but we need to work arround a travis / compiler bug here
+ if (!eina_hash_find(fork_map, &pid))
+ {
+ eina_hash_add(fork_map, &pid, etc[i].test_case);
+ num_forks++;
+ }
#ifdef ENABLE_TIMING_INFO
if (timing)
tcstart = _timing_time_get();