Harmonize test failures 72/42872/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 3 Jul 2015 09:51:53 +0000 (10:51 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 3 Jul 2015 09:51:53 +0000 (10:51 +0100)
Change-Id: I69142b8addadc415c7428594f73a146d41737777

automated-tests/src/dali-toolkit/dali-toolkit-test-utils/test-harness.cpp

index 24e3209..55beebc 100644 (file)
@@ -58,6 +58,7 @@ int RunTestCase( struct ::testcase_s& testCase )
   return result;
 }
 
   return result;
 }
 
+
 int RunTestCaseInChildProcess( struct ::testcase_s& testCase, bool suppressOutput )
 {
   int testResult = EXIT_STATUS_TESTCASE_FAILED;
 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))
       {
 #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
       }
 #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))
     {
     }
     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;
     }
   }
   return testResult;