Skip to content

Commit

Permalink
Allowing downstreams to override skipped food types in CI test.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 committed Jan 25, 2025
1 parent b57c10b commit f6c8709
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions code/unit_tests/icon_tests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
// We skip lumps because they are invisible, they are only ever inside utensils.
var/list/skip_types = list(/obj/item/food/lump)

/datum/unit_test/icon_test/food_shall_have_icon_states/start_test()

/datum/unit_test/icon_test/food_shall_have_icon_states/proc/assemble_skipped_types()
skip_types |= typesof(/obj/item/food/grown)
skip_types |= typesof(/obj/item/food/processed_grown)

/datum/unit_test/icon_test/food_shall_have_icon_states/start_test()

assemble_skipped_types()

var/list/failures = list()
for(var/check_type in check_types)
for(var/check_subtype in typesof(check_type))
Expand Down

0 comments on commit f6c8709

Please sign in to comment.