]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_debug.c
app: various tests update
[dpdk.git] / app / test / test_debug.c
index a10f6e87bb17e63be2658ade6d0e12b696a09360..72c5447e6263fe2e6191b49eabb97fbfd871efa1 100644 (file)
@@ -113,11 +113,13 @@ test_exit_val(int exit_val)
        }
        wait(&status);
        printf("Child process status: %d\n", status);
+#ifndef RTE_EAL_ALWAYS_PANIC_ON_ERROR
        if(!WIFEXITED(status) || WEXITSTATUS(status) != (uint8_t)exit_val){
-               printf("Child process terminated with incorrect return code!\n");
+               printf("Child process terminated with incorrect status (expected = %d)!\n",
+                               exit_val);
                return -1;
        }
-
+#endif
        return 0;
 }