Main: Update log prints for test completion
authorSam Nelson <sam.nelson@ti.com>
Tue, 28 Feb 2017 21:56:03 +0000 (16:56 -0500)
committerSam Nelson <sam.nelson@ti.com>
Tue, 28 Feb 2017 21:56:03 +0000 (16:56 -0500)
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
host_bios/simple_buffer_example/dsp/MainDsp.c
host_bios/simple_buffer_example/host/MainHost.c

index f247b4f3b3cb9d8a3a1b3527625f962948af6dc6..19c75d5855718004032e676998b0f4f4c3a8944e 100644 (file)
@@ -150,7 +150,13 @@ Void Server_taskFxn(UArg arg0, UArg arg1)
 
 leave:
     Log_print1(Diags_INFO, "Server_taskFxn: <-- status=%d", (IArg)status);
-#ifdef CONSOLE_PRINT 
+
+    if (status < 0)
+        Log_print0(Diags_INFO, "\n DSP: Test Failed \n");
+    else
+        Log_print0(Diags_INFO, "\n DSP: Test Passed \n");
+
+#ifdef CONSOLE_PRINT
     if (status < 0)
         printf("\n DSP: Test Failed \n");
     else
index dbee1a2fac812010702b2f68ba60b3996a3eb437..437a76f9017d4c82ca777b4d039a85b5881a31df 100644 (file)
@@ -170,6 +170,10 @@ Void App_taskFxn(UArg arg0, UArg arg1)
 
 leave:
     Log_print1(Diags_INFO, "App_taskFxn: <-- status=%d", (IArg)status);
+    if (status < 0)
+        Log_print0(Diags_INFO, "\n Host: Test Failed \n");
+    else
+        Log_print0(Diags_INFO, "\n Host: Test Passed \n");
 
 #ifdef HOST_UART_PRINT
     if (status < 0)