Merge pull request #46567 from dwoz/runtest-n-wart

Honor named tests when running integration suites
This commit is contained in:
Nicole Thomas 2018-03-20 09:24:41 -04:00 committed by GitHub
commit b80edb5d26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -694,6 +694,7 @@ class SaltTestsuiteParser(SaltCoverageTestingParser):
continue
results = self.run_suite('', name, suffix='test_*.py', load_from_name=True)
status.append(results)
return status
for suite in TEST_SUITES:
if suite != 'unit' and getattr(self.options, suite):
status.append(self.run_integration_suite(**TEST_SUITES[suite]))