extracttests: extract more tests

This commit is contained in:
Daniel Marjamäki 2009-11-08 08:00:22 +01:00
parent 4b04ed9ad9
commit ed9ee554da
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ int main(const int argc, const char * const * const argv)
continue;
}
if (!testname.empty() && line.find(" check(\"") != std::string::npos)
if (!testname.empty() && line.find(" check") != std::string::npos && line.find("(\"") != std::string::npos)
{
std::ofstream fout((testname + str(++subcount) + ext).c_str());
fout << "#include <string.h>" << std::endl;