diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-02-13 18:42:38 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-02-13 18:45:59 +0100 |
commit | e2e2f776bce4d0ca43c6d2da780f0de1853ac88e (patch) | |
tree | c342ef43d23e8673450e8ece0ce878e9958c9389 /test/end-to-end/with_serve_test_runner.py | |
parent | c70f5c6df194f952d8c3d7e1d626d2fb3ccddaa9 (diff) | |
download | justbuild-e2e2f776bce4d0ca43c6d2da780f0de1853ac88e.tar.gz |
with-serve test runner: do not rely on readdir order
Diffstat (limited to 'test/end-to-end/with_serve_test_runner.py')
-rwxr-xr-x | test/end-to-end/with_serve_test_runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/end-to-end/with_serve_test_runner.py b/test/end-to-end/with_serve_test_runner.py index 5caf752c..b3fb1b07 100755 --- a/test/end-to-end/with_serve_test_runner.py +++ b/test/end-to-end/with_serve_test_runner.py @@ -163,7 +163,8 @@ GIT_NOBODY_ENV: Dict[str, str] = { } count = 0 -for repo in os.listdir("data"): +repo_data = sorted(os.listdir("data")) +for repo in repo_data: target = os.path.join(REPOS_DIR, repo) shutil.copytree( os.path.join(DATA_DIR, repo), |