Gromacs  2020.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Variables
gmx::test::anonymous_namespace{pdb2gmx.cpp} Namespace Reference

Typedefs

using CommandLineOptionParams = std::tuple< std::string, std::string, std::string, std::string, std::string, std::string, int >
 Test parameter struct.
 

Variables

std::vector< std::string > c_regexStringsToSkip
 Strings containing regular expressions for lines to skip when matching. More...
 
FilteringExactTextMatch c_textMatcher (c_regexStringsToSkip)
 Compiled regular expressions for lines to skip when matching.
 

Variable Documentation

std::vector<std::string> gmx::test::anonymous_namespace{pdb2gmx.cpp}::c_regexStringsToSkip
Initial value:
= { "^;[[:blank:]] *File '.*' was generated.*\n",
"^;[[:blank:]]*By user:.*\n",
"^;[[:blank:]]*On host:.*\n",
"^;[[:blank:]]*At date:.*\n",
"^;[[:blank:]]*:-\\).*\\(-:.*\n",
"^;[[:blank:]]*Executable:.*\n",
"^;[[:blank:]]*Data prefix:.*\n",
"^;[[:blank:]]*Working dir:.*\n",
"^;[[:blank:]]*pdb2gmx.*-test.*\n" }

Strings containing regular expressions for lines to skip when matching.

Todo:
It would be preferable to just scrub the content that actually varies, but we don't use enough regular expression support for that yet.

Note that the "\n" are needed so these regular expressions match Windows line endings.