X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tests%2Ftools%2FtoolTestRunner.cxx;h=212321106ec1a32458977c592be1e19a4274a8a6;hb=b50c4ae3e2850ad593d2c991b56e04ed22748f99;hp=753aa37bcef992c0bccf53ff922ae6c3724aab86;hpb=d69caf58180a7040f2da23e52ff5c2b80c9ca981;p=clitk.git diff --git a/tests/tools/toolTestRunner.cxx b/tests/tools/toolTestRunner.cxx index 753aa37..2123211 100644 --- a/tests/tools/toolTestRunner.cxx +++ b/tests/tools/toolTestRunner.cxx @@ -151,6 +151,7 @@ int main(int argc, char** argv){ //run the command line system(cmd_line.str().c_str()); + assertFalse(!itksys::SystemTools::FileExists(outFile.c_str(), true), "no mhd have been generated"); //compare source files #ifdef _WIN32 @@ -162,7 +163,6 @@ int main(int argc, char** argv){ #else assertFalse(!mhdCmp(outFile.c_str(), refFile), "Generated mhd file != ref File"); #endif - std::string refRawFile = mhdToRawName(strRefFile); std::string rawFile = mhdToRawName(outFile);