From eb1a8ecf7c2b10048f4715fb641cb6283297dde8 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 20 Jan 2020 23:30:25 +0000 Subject: [PATCH] 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. --- run_project_tests.py | 6 +----- test cases/common/56 install script/no-installed-files | 0 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 test cases/common/56 install script/no-installed-files diff --git a/run_project_tests.py b/run_project_tests.py index 26698723a..65e1d0cd8 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -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) diff --git a/test cases/common/56 install script/no-installed-files b/test cases/common/56 install script/no-installed-files deleted file mode 100644 index e69de29bb..000000000