extracttests: extract more tests
This commit is contained in:
parent
4b04ed9ad9
commit
ed9ee554da
|
@ -43,7 +43,7 @@ int main(const int argc, const char * const * const argv)
|
||||||
continue;
|
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());
|
std::ofstream fout((testname + str(++subcount) + ext).c_str());
|
||||||
fout << "#include <string.h>" << std::endl;
|
fout << "#include <string.h>" << std::endl;
|
||||||
|
|
Loading…
Reference in New Issue