X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftest-harness.cpp;h=55beebc6bd7fece31358d17cc4cf46d89f05ef2e;hp=24e320904a2c517ec86a06d9559eb868f47a4d79;hb=c961b698e56e881afe447b8cfb1a383b579a29ca;hpb=05c921f5db43f63d6ebfe7e6836a32113a9da9b9 diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-harness.cpp b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-harness.cpp index 24e3209..55beebc 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-harness.cpp +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-harness.cpp @@ -58,6 +58,7 @@ int RunTestCase( struct ::testcase_s& testCase ) return result; } + int RunTestCaseInChildProcess( struct ::testcase_s& testCase, bool suppressOutput ) { int testResult = EXIT_STATUS_TESTCASE_FAILED; @@ -104,14 +105,14 @@ int RunTestCaseInChildProcess( struct ::testcase_s& testCase, bool suppressOutpu #ifdef WCOREDUMP if(WCOREDUMP(status)) { - printf("Test case %s crashed\n", testCase.name); + printf("Test case %s failed: due to a crash\n", testCase.name); } #endif - printf("Test case %s exited with signal %s\n", testCase.name, strsignal(WTERMSIG(status))); + printf("Test case %s failed: exit with signal %s\n", testCase.name, strsignal(WTERMSIG(status))); } else if(WIFSTOPPED(status)) { - printf("Test case %s stopped with signal %s\n", testCase.name, strsignal(WSTOPSIG(status))); + printf("Test case %s failed: stopped with signal %s\n", testCase.name, strsignal(WSTOPSIG(status))); } } return testResult;