diff --git a/scripts/packs/crossref.py b/scripts/packs/crossref.py index 7f2f6f5f2..5c53b8d92 100644 --- a/scripts/packs/crossref.py +++ b/scripts/packs/crossref.py @@ -466,6 +466,8 @@ class _ProfileComparison: self.fate(f, "unsourceable") row = { "name": fname, + # Where the file goes once found, as a gap row says it. + "path": effective_path, "required": f.get("required", False), "reason": unsourceable_reason, "source_ref": f.get("source_ref", ""), diff --git a/tests/test_site_exports.py b/tests/test_site_exports.py index 998bb189e..294fe9315 100644 --- a/tests/test_site_exports.py +++ b/tests/test_site_exports.py @@ -481,6 +481,8 @@ class TheGapCategoryTravelsOnTheRow(unittest.TestCase): self.assertEqual(rows["a.bin"]["destination"], "emu/a.bin") self.assertEqual(rows["a.bin"]["category"], "game_data") self.assertEqual(rows["b.o2r"]["category"], "game_data") + # Unsourceable, it still says where it goes once found. + self.assertEqual(rows["b.o2r"]["destination"], "emu/b.o2r") self.assertEqual(rows["set.zip"]["category"], "bios_zip") self.assertNotIn("_profile_categories", script_source("generate_site.py"))