Merge pull request #3082 from Domanffe/test/port-harness-symlink-skip

🤖 Agent: read the diff at f4d6f9c0e: test_port_harness skips the reports-link case where the host can't make symlinks. verify green. Queued for the merger.
This commit is contained in:
Ludovic Marie
2026-10-28 20:22:19 +01:00
committed by GitHub
+3
View File
@@ -65,7 +65,10 @@ class AssetTests(unittest.TestCase):
(store / "minecraft").mkdir(parents=True)
reports = root / ".local" / "datagen" / "out" / "reports"
reports.parent.mkdir(parents=True)
try:
reports.symlink_to(store)
except OSError as e:
self.skipTest(f"this host cannot create symlinks: {e}")
harness.own_reports(root)
self.assertFalse(reports.exists() or reports.is_symlink())
self.assertTrue((store / "minecraft").is_dir())