Remove legacy test alias migration script. (#19629)

* Require code-smell tests to be files.
* Add sanity check for integration test aliases.
* Remove migration script for test aliases.
This commit is contained in:
Matt Clay 2016-12-21 16:46:28 -08:00 committed by GitHub
parent 241ad8cac3
commit 422857166b
4 changed files with 81 additions and 142 deletions

View file

@ -632,7 +632,10 @@ def command_sanity_code_smell(args, _):
skip_tests = skip_fd.read().splitlines()
tests = glob.glob('test/sanity/code-smell/*')
tests = sorted(p for p in tests if os.access(p, os.X_OK) and os.path.basename(p) not in skip_tests)
tests = sorted(p for p in tests
if os.access(p, os.X_OK)
and os.path.isfile(p)
and os.path.basename(p) not in skip_tests)
for test in tests:
display.info('Code smell check using %s' % os.path.basename(test))