tests: use buffer engine for elm_suite if engine is not specified
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 13 Mar 2018 14:37:55 +0000 (10:37 -0400)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:55 +0000 (20:10 +0900)
this should add some consistency to tests

Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
src/tests/elementary/elm_suite.c

index 1e7190e..cd0e3f4 100644 (file)
@@ -98,8 +98,9 @@ main(int argc, char **argv)
 
 #ifdef NEED_RUN_IN_TREE
    putenv("EFL_RUN_IN_TREE=1");
-   putenv("EFL_RUN_IN_TREE=1");
 #endif
+   if (!getenv("ELM_ENGINE"))
+     putenv("ELM_ENGINE=buffer");
 
    failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
                                            "Elementary", etc);