mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
Set executable file permissions for qmake
This commit is contained in:
@@ -1001,6 +1001,8 @@ def test_install(
|
||||
for patched_file in archive.contents:
|
||||
file_path = installed_path / patched_file.filename
|
||||
assert file_path.is_file()
|
||||
if file_path.name == "qmake":
|
||||
assert os.access(file_path, os.X_OK), "qmake file must be executable"
|
||||
|
||||
expect_content = patched_file.expected_content(base_dir=output_dir, sep=os.sep)
|
||||
actual_content = file_path.read_text(encoding="utf_8")
|
||||
|
||||
Reference in New Issue
Block a user