summaryrefslogtreecommitdiff
path: root/src/tests
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 /src/tests
parentd74fb0dbc39a0cb72e15e0d76b4f771150f7cd75 (diff)
downloadefl-27cecc3afb276446ead56d3c56cb15afe37ac671.tar.gz
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
Diffstat (limited to 'src/tests')
-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)
evas_output_method_set(evas, evas_render_method_lookup("buffer"));
einfo = evas_engine_info_get(evas);
- evas_engine_info_set(evas, einfo);
+ fail_unless(evas_engine_info_set(evas, einfo));
evas_output_size_set(evas, 500, 500);
evas_output_viewport_set(evas, 0, 0, 500, 500);