Remove unused no-installed-files test feature
Looking at45c8557d
, the idea behind this seems to be that a test could conditionally indicate that the list of installed files should not be validated by creating that file. It's no longer used anywhere. Also remove a lingering no-install-files file which isn't used since commitc693bd9b
.
This commit is contained in:
parent
f20b99b8da
commit
eb1a8ecf7c
|
@ -243,14 +243,10 @@ def validate_install(srcdir: str, installdir: Path, compiler, env) -> str:
|
|||
# List of installed files
|
||||
info_file = Path(srcdir) / 'installed_files.txt'
|
||||
installdir = Path(installdir)
|
||||
# If this exists, the test does not install any other files
|
||||
noinst_file = Path('usr/no-installed-files')
|
||||
expected = {} # type: T.Dict[Path, bool]
|
||||
ret_msg = ''
|
||||
# Generate list of expected files
|
||||
if (installdir / noinst_file).is_file():
|
||||
expected[noinst_file] = False
|
||||
elif info_file.is_file():
|
||||
if info_file.is_file():
|
||||
with info_file.open() as f:
|
||||
for line in f:
|
||||
line = platform_fix_name(line.strip(), compiler, env)
|
||||
|
|
Loading…
Reference in New Issue