Remove unused no-installed-files test feature

Looking at 45c8557d, 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 commit
c693bd9b.
pull/6621/head
Jon Turney 5 years ago
parent f20b99b8da
commit eb1a8ecf7c
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
  1. 6
      run_project_tests.py
  2. 0
      test cases/common/56 install script/no-installed-files

@ -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…
Cancel
Save