- std::string output = TextReader::readFileToString(outfile->path);
- outputChecker.checkStringBlock(output, outfile->option.c_str());
+ if (outfile->xvg)
+ {
+ TestReferenceChecker testChecker = checker.checkCompound("File",
+ outfile->option.c_str());
+ TextInputFile sis(outfile->path);
+ checkXvgFile(&sis, &testChecker);
+ }
+ else
+ {
+ std::string output = TextReader::readFileToString(outfile->path);
+ outputChecker.checkStringBlock(output, outfile->option.c_str());
+ }