]> Joshua Wise's Git repositories - firearm.git/blobdiff - tests/j4cbo.c
tests/testbench: Update output formatting for testbench.
[firearm.git] / tests / j4cbo.c
index 3a1382ed98b86627ece3c32190039e92be025c95..b7407d2f58fc01c4a83323f88cddbed89492ad66 100644 (file)
@@ -165,8 +165,10 @@ int h1100(bitpos)
 
 void j4cbo()
 {
-       if (h(0) != 151)
-               puts("Result was not 151\r\n");
-       else
-               puts("Result was 151\r\n");
+       int x;
+       if ((x = h(0)) != 151) {        
+               puthex(x);
+               puts(" -> FAIL\n");
+       } else
+               puts("PASS\n");
 }
This page took 0.025097 seconds and 4 git commands to generate.