diff options
| author | Stalkerino <33660442+Stalkerino@users.noreply.github.com> | 2026-11-23 00:00:56 +0100 |
|---|---|---|
| committer | Stalkerino <33660442+Stalkerino@users.noreply.github.com> | 2026-11-23 00:00:56 +0100 |
| commit | e8ea6447f54f61d04d99cbb4ec9efc4c1918f81f (patch) | |
| tree | 22f14030f872d5cd9733cdda8ebaa964cfa726d8 /scripts | |
| parent | aa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff) | |
Resolve relative checkout paths before launching Wine tests
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/run_wine_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run_wine_tests.py b/scripts/run_wine_tests.py index 3e90e9ab4..182b84360 100644 --- a/scripts/run_wine_tests.py +++ b/scripts/run_wine_tests.py | |||
| @@ -241,7 +241,7 @@ def main() -> int: | |||
| 241 | ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) | 241 | ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) |
| 242 | ap.add_argument("--tests", required=True, help="ctest --show-only=json-v1 output from the Windows build") | 242 | ap.add_argument("--tests", required=True, help="ctest --show-only=json-v1 output from the Windows build") |
| 243 | ap.add_argument("--windows-root", required=True, help="the Windows checkout the tests were listed in") | 243 | ap.add_argument("--windows-root", required=True, help="the Windows checkout the tests were listed in") |
| 244 | ap.add_argument("--root", default=ROOT, help="the Linux checkout (default: this repository)") | 244 | ap.add_argument("--root", type=os.path.abspath, default=ROOT, help="the Linux checkout (default: this repository)") |
| 245 | ap.add_argument("--wine", type=wine_command, default=os.environ.get("WINE", "wine"), | 245 | ap.add_argument("--wine", type=wine_command, default=os.environ.get("WINE", "wine"), |
| 246 | help="Wine command (default: $WINE or wine)") | 246 | help="Wine command (default: $WINE or wine)") |
| 247 | ap.add_argument("--require", action="append", default=[], help="a test that must pass (repeatable)") | 247 | ap.add_argument("--require", action="append", default=[], help="a test that must pass (repeatable)") |