Tests: Less verbosity

This commit is contained in:
Wilson Snyder 2010-01-24 20:49:36 -05:00
parent 62866dc8be
commit cbc90e7ffb
4 changed files with 8 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}