summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-06-15 13:20:07 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-15 15:04:22 +0200
commit27cecc3afb276446ead56d3c56cb15afe37ac671 (patch)
tree08803d54a93b049764bea173aef5374597d451c4
parentd74fb0dbc39a0cb72e15e0d76b4f771150f7cd75 (diff)
tests: edje: check result of evas_engine_info_set()
Make sure we check the result of evas_engine_info_set and only continue if it succeeds. CID: 1401077 Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11978
-rw-r--r--src/tests/edje/edje_suite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/edje/edje_suite.c b/src/tests/edje/edje_suite.c
index 80104b0e0b..5439c72a57 100644
--- a/src/tests/edje/edje_suite.c
+++ b/src/tests/edje/edje_suite.c
@@ -40,7 +40,7 @@ _setup_evas(void)
40 40
41 evas_output_method_set(evas, evas_render_method_lookup("buffer")); 41 evas_output_method_set(evas, evas_render_method_lookup("buffer"));
42 einfo = evas_engine_info_get(evas); 42 einfo = evas_engine_info_get(evas);
43 evas_engine_info_set(evas, einfo); 43 fail_unless(evas_engine_info_set(evas, einfo));
44 44
45 evas_output_size_set(evas, 500, 500); 45 evas_output_size_set(evas, 500, 500);
46 evas_output_viewport_set(evas, 0, 0, 500, 500); 46 evas_output_viewport_set(evas, 0, 0, 500, 500);