[ROSAUTOTEST] Add option to list all testable modules

This commit is contained in:
Mark Jansen 2020-06-23 23:45:42 +02:00
parent 6859348aea
commit ff6b138117
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
4 changed files with 19 additions and 1 deletions

View file

@ -213,6 +213,16 @@ CWineTest::GetNextTestInfo()
{
while(!m_CurrentFile.empty() || GetNextFile())
{
/* The user asked for a list of all modules */
if (Configuration.ListModulesOnly())
{
std::stringstream ss;
ss << "Module: " << UnicodeToAscii(m_CurrentFile) << endl;
m_CurrentFile.clear();
StringOut(ss.str());
continue;
}
try
{
while(GetNextTest())