Commit 6dc47a48 authored by Ben Boeckel's avatar Ben Boeckel

testing: fix image test return codes

parent bd48484a
......@@ -263,5 +263,5 @@ int TestMoleculeSelection(int argc, char *argv[])
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -67,13 +67,9 @@ int TestAVSucdReader(int argc, char* argv[])
renWin->Render();
int r = vtkRegressionTestImage(renWin.GetPointer());
if (r == vtkRegressionTester::FAILED)
{
return EXIT_FAILURE;
}
if (r == vtkRegressionTester::DO_INTERACTOR)
{
iren->Start();
}
return EXIT_SUCCESS;
return !r;
}
......@@ -190,5 +190,5 @@ int TestMFIXReader(int argc, char *argv[])
renderWindowInteractor->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -134,5 +134,5 @@ int TestOpenFOAMReader(int argc, char* argv[])
renderWindowInteractor->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -134,6 +134,6 @@ int TestPOpenFOAMReader(int argc, char* argv[])
renderWindowInteractor->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -310,5 +310,5 @@ int TestPolyPlane( int argc, char *argv[] )
iren->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -212,5 +212,5 @@ int TestPointSelection(int argc, char *argv[])
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -413,5 +413,5 @@ int TestLODActor( int argc, char* argv[])
points->Delete();
iren->Delete();
return EXIT_SUCCESS;
return !retVal;
}
......@@ -92,5 +92,5 @@ int TestDragon(int argc, char *argv[])
iren->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -148,5 +148,5 @@ int TestCubeMap(int argc, char *argv[])
iren->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -115,5 +115,5 @@ int TestEDLPass(int argc, char *argv[])
iren->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -124,5 +124,5 @@ int TestShadowMapBakerPass(int argc, char *argv[])
}
bakerPass->ReleaseGraphicsResources(renderWindow.Get());
return EXIT_SUCCESS;
return !retVal;
}
......@@ -154,5 +154,5 @@ int TestShadowMapPass(int argc, char *argv[])
iren->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -120,5 +120,5 @@ int TestUserShader(int argc, char *argv[])
iren->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -176,5 +176,5 @@ int TestUserShader2(int argc, char *argv[])
iren->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
......@@ -122,5 +122,5 @@ int TestDragon(int argc, char *argv[])
iren->Start();
}
return EXIT_SUCCESS;
return !retVal;
}
Markdown is supported
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