From: Phil Wang Date: Thu, 9 Jul 2015 15:20:37 +0000 (+0100) Subject: main fuction in tests return 0 if all tests pass X-Git-Tag: v1.2.1~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20c6c39b715229c2d70d4c227e33d189cf1d65d9;p=platform%2Fupstream%2Fne10.git main fuction in tests return 0 if all tests pass Change-Id: I2bb30f4107174f043809828981484d61e903c30d --- diff --git a/modules/dsp/test/test_main.c b/modules/dsp/test/test_main.c index 2ae5022..612b4c7 100644 --- a/modules/dsp/test/test_main.c +++ b/modules/dsp/test/test_main.c @@ -75,5 +75,5 @@ int main (ne10_int32_t argc, char** argv) { suite_setup (my_suite_setup); suite_teardown (my_suite_teardown); - return run_tests (all_tests); + return !run_tests (all_tests); } diff --git a/modules/imgproc/test/test_main.c b/modules/imgproc/test/test_main.c index 578dca3..ca7b08e 100644 --- a/modules/imgproc/test/test_main.c +++ b/modules/imgproc/test/test_main.c @@ -54,5 +54,5 @@ int main (ne10_int32_t argc, char** argv) { suite_setup (my_suite_setup); suite_teardown (my_suite_teardown); - return run_tests (all_tests); + return !run_tests (all_tests); } diff --git a/modules/math/test/test_main.c b/modules/math/test/test_main.c index 7b76c0d..c52947e 100644 --- a/modules/math/test/test_main.c +++ b/modules/math/test/test_main.c @@ -53,5 +53,5 @@ int main (ne10_int32_t argc, char** argv) { suite_setup (my_suite_setup); suite_teardown (my_suite_teardown); - return run_tests (all_tests); + return !run_tests (all_tests); } diff --git a/modules/physics/test/test_main.c b/modules/physics/test/test_main.c index 58558c5..50489b6 100644 --- a/modules/physics/test/test_main.c +++ b/modules/physics/test/test_main.c @@ -53,5 +53,5 @@ int main (ne10_int32_t argc, char** argv) { suite_setup (my_suite_setup); suite_teardown (my_suite_teardown); - return run_tests (all_tests); + return !run_tests (all_tests); }