From cbc90e7ffbdd14068d86932f6c67685efea2e9a4 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 24 Jan 2010 20:49:36 -0500 Subject: [PATCH] Tests: Less verbosity --- test_regress/t/t_tri_gate.cpp | 2 ++ test_regress/t/t_tri_inout.cpp | 2 ++ test_regress/t/t_tri_pullup.cpp | 2 ++ test_regress/t/t_tri_select.cpp | 2 ++ 4 files changed, 8 insertions(+) diff --git a/test_regress/t/t_tri_gate.cpp b/test_regress/t/t_tri_gate.cpp index 247d98c5e..7731535db 100644 --- a/test_regress/t/t_tri_gate.cpp +++ b/test_regress/t/t_tri_gate.cpp @@ -32,7 +32,9 @@ bool check() { pass = false; printf("FAIL: "); } +#ifdef TEST_VERBOSE printf("SEL=%d A=%d W=%d X=%d Y=%d Z=%d\n", tb->SEL, tb->A, tb->W, tb->X, tb->Y, tb->Z); +#endif return pass; } diff --git a/test_regress/t/t_tri_inout.cpp b/test_regress/t/t_tri_inout.cpp index f5766528a..8b258c14a 100644 --- a/test_regress/t/t_tri_inout.cpp +++ b/test_regress/t/t_tri_inout.cpp @@ -25,7 +25,9 @@ bool check() { printf("FAIL: "); pass = false; } +#ifdef TEST_VERBOSE printf ("SEL=%d A=%d B=%d Z=%d Y1=%d Y2=%d\n", tb->SEL, tb->A, tb->B, tb->Z, tb->Y1, tb->Y2); +#endif return pass; } diff --git a/test_regress/t/t_tri_pullup.cpp b/test_regress/t/t_tri_pullup.cpp index e111db01c..31e101a22 100644 --- a/test_regress/t/t_tri_pullup.cpp +++ b/test_regress/t/t_tri_pullup.cpp @@ -29,7 +29,9 @@ bool check() { printf("FAIL: "); pass = false; } +#ifdef TEST_VERBOSE printf("OE=%d A=%d X=%d Y=%d Z=%d\n", tb->OE, tb->A, tb->X, tb->Y, tb->Z); +#endif return pass; } diff --git a/test_regress/t/t_tri_select.cpp b/test_regress/t/t_tri_select.cpp index caea7c884..0afb0e5fd 100644 --- a/test_regress/t/t_tri_select.cpp +++ b/test_regress/t/t_tri_select.cpp @@ -25,7 +25,9 @@ bool check() { printf("Fail: "); } +#ifdef TEST_VERBOSE printf("Read: OE1=%d OE2=%d A1=0x%x A2=0x%x Y1=0x%x Y2=0x%x W=0x%x Expected: Y1=Y2=%d and W=0x%x\n", tb->OE1, tb->OE2, tb->A1, tb->A2, tb->Y1, tb->Y2, tb->W, Y,W); +#endif return pass; }