diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2020-06-15 13:20:07 +0200 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2020-06-15 15:04:22 +0200 |
commit | 27cecc3afb276446ead56d3c56cb15afe37ac671 (patch) | |
tree | 08803d54a93b049764bea173aef5374597d451c4 /src/tests | |
parent | d74fb0dbc39a0cb72e15e0d76b4f771150f7cd75 (diff) | |
download | efl-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.c | 2 |
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); |