Commit bf93ead0 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Miscellaneous test output cleanup.

parent ffcabed6
......@@ -17,7 +17,7 @@
static void draw(void)
{
printstat("In draw\n");
/* printrank("In draw\n"); */
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
glBegin(GL_QUADS);
......@@ -26,7 +26,7 @@ static void draw(void)
glVertex3d(0.5, 0.5, 0.0);
glVertex3d(-0.5, 0.5, 0.0);
glEnd();
printstat("Leaving draw\n");
/* printrank("Leaving draw\n"); */
}
static int BlankTilesDoTest(void)
......@@ -73,7 +73,7 @@ static int BlankTilesDoTest(void)
swap_buffers();
if (rank == 0) {
printrank("Rank == 0, tile should have stuff in it.\n");
/* printrank("Rank == 0, tile should have stuff in it.\n"); */
} else if (rank < tile_dim*tile_dim) {
IceTUByte *cb;
int pixel;
......@@ -84,7 +84,7 @@ static int BlankTilesDoTest(void)
result = TEST_FAILED;
}
printrank("Checking returned image data.\n");
/* printrank("Checking returned image data.\n"); */
cb = icetImageGetColorub(image);
for (pixel = 0; pixel < my_width*my_height*4; pixel++) {
if (cb[pixel] != 0) {
......@@ -94,7 +94,7 @@ static int BlankTilesDoTest(void)
}
}
} else {
printrank("Not a display node. Not testing image.\n");
/* printrank("Not a display node. Not testing image.\n"); */
}
}
......
......@@ -28,7 +28,7 @@ static int global_result;
static void draw(void)
{
printrank("In draw\n");
/* printrank("In draw\n"); */
if (global_rank == 0) {
printrank("ERROR: Draw called on rank 0!\n");
global_result = TEST_FAILED;
......@@ -42,7 +42,7 @@ static void draw(void)
glVertex3d(-1.0, 1.0, 0.0);
glEnd();
}
printrank("Leaving draw\n");
/* printrank("Leaving draw\n"); */
}
static void DisplayNoDrawInit(void)
......@@ -94,7 +94,7 @@ static void DisplayNoDrawDoTest(void)
&& ((global_num_proc > 2) || (global_iteration != 1)) ) {
int p;
int bad_count = 0;
printrank("Checking pixels.\n");
printstat("Checking pixels.\n");
color_buffer = icetImageGetColorub(image);
for (p = 0;
(p < SCREEN_WIDTH*SCREEN_HEIGHT*4) && (bad_count < 10); p++) {
......
......@@ -125,7 +125,7 @@ static int OddImageSizesRun(void)
tile_dimensions++) {
int strategy_index;
printstat("Using tile dimensions %d\n", tile_dimensions);
printstat(" Using tile dimensions %d\n", tile_dimensions);
setup_tiles(tile_dimensions, width, height);
......@@ -137,7 +137,7 @@ static int OddImageSizesRun(void)
int num_single_image_strategy;
icetStrategy(strategy);
printstat("Using %s strategy\n", icetGetStrategyName());
printstat(" Using %s strategy\n", icetGetStrategyName());
if (strategy_uses_single_image_strategy(strategy)) {
num_single_image_strategy = SINGLE_IMAGE_STRATEGY_LIST_SIZE;
......@@ -153,7 +153,7 @@ static int OddImageSizesRun(void)
single_image_strategy_list[single_image_strategy_index];
icetSingleImageStrategy(single_image_strategy);
printstat("Using %s single image sub-strategy.\n",
printstat(" Using %s single image sub-strategy.\n",
icetGetSingleImageStrategyName());
/* Just invoke a frame. I'm more worried about crashing
......
......@@ -30,7 +30,7 @@ static IceTImage g_refimage_transparent;
static void draw(void)
{
printstat("In draw\n");
/* printstat("In draw\n"); */
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glBegin(GL_QUADS);
glVertex3d(-1.0, -1.0, 0.0);
......@@ -38,7 +38,7 @@ static void draw(void)
glVertex3d(1.0, 1.0, 0.0);
glVertex3d(-1.0, 1.0, 0.0);
glEnd();
printstat("Leaving draw\n");
/* printstat("Leaving draw\n"); */
}
#define DIFF(x, y) ((x) < (y) ? (y) - (x) : (x) - (y))
......@@ -323,7 +323,7 @@ static void RandomTransformDoRender(IceTBoolean transparent,
}
}
} else {
printrank("Not a display node. Not testing image.\n");
/* printrank("Not a display node. Not testing image.\n"); */
}
check_results(result);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment