wesnoth/data/test/_main.cfg
2024-09-10 18:14:50 -05:00

121 lines
4 KiB
INI

#textdomain wesnoth-test
#ifndef DONT_RELOAD_CORE
{themes/}
# Load core wml for tests including macros and units
{core}
[textdomain]
name="wesnoth"
[/textdomain]
[textdomain]
name="wesnoth-lib"
[/textdomain]
#endif
[textdomain]
name="wesnoth-test"
[/textdomain]
#ifdef TEST
[binary_path]
path="data/test"
[/binary_path]
#Load test macros
{test/macros}
[lua]
code = "wesnoth.dofile 'test/lua/wml_tags.lua'"
[/lua]
# Load automated test scenarios.
#
# They can be run individually with Wesnoth's `-u` command line option, but are usually run by
# the run_wml_tests script based on the list in wml_test_schedule.
{test/scenarios/behavioral_tests}
{test/scenarios/cve_tests}
{test/scenarios/lua_tests}
{test/scenarios/lua_tests/ai}
{test/scenarios/lua_tests/filesystem}
{test/scenarios/lua_tests/functional}
{test/scenarios/lua_tests/gui}
{test/scenarios/lua_tests/gui/widget}
{test/scenarios/lua_tests/location_set}
{test/scenarios/lua_tests/mathx}
{test/scenarios/lua_tests/stringx}
{test/scenarios/lua_tests/wesnoth}
{test/scenarios/lua_tests/wesnoth/audio}
{test/scenarios/lua_tests/wesnoth/game_events}
{test/scenarios/lua_tests/wesnoth/interface}
{test/scenarios/lua_tests/wesnoth/map}
{test/scenarios/lua_tests/wesnoth/paths}
{test/scenarios/lua_tests/wesnoth/schedule}
{test/scenarios/lua_tests/wesnoth/sides}
{test/scenarios/lua_tests/wesnoth/sync}
{test/scenarios/lua_tests/wesnoth/units}
{test/scenarios/lua_tests/wml}
{test/scenarios/lua_tests/wml-utils}
{test/scenarios/macro_tests}
{test/scenarios/test_tests}
{test/scenarios/wml_tests/FilterWML}
{test/scenarios/wml_tests/ScenarioWML}
{test/scenarios/wml_tests/ScenarioWML/AiWML}
{test/scenarios/wml_tests/ScenarioWML/EffectWML}
{test/scenarios/wml_tests/ScenarioWML/EventWML}
{test/scenarios/wml_tests/ScenarioWML/EventWML/ActionWML}
{test/scenarios/wml_tests/ScenarioWML/EventWML/ActionWML/ConditionalActionsWML}
{test/scenarios/wml_tests/ScenarioWML/EventWML/ActionWML/DirectActionsWML}
{test/scenarios/wml_tests/ScenarioWML/EventWML/ActionWML/InterfaceActionsWML}
{test/scenarios/wml_tests/ScenarioWML/EventWML/ActionWML/InternalActionsWML}
{test/scenarios/wml_tests/ScenarioWML/MusicListWML}
{test/scenarios/wml_tests/ScenarioWML/SideWML}
{test/scenarios/wml_tests/ScenarioWML/TimeWML}
{test/scenarios/wml_tests/TerrainWML}
{test/scenarios/wml_tests/UnitsWML}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/attacks}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/berserk}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/chance_to_hit}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/damage}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/damage_type}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/disable}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/drains}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/firststrike}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/heal_on_hit}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/heals}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/hides}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/illuminates}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/leadership}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/petrifies}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/plague}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/regenerate}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/resistance}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/skirmisher}
{test/scenarios/wml_tests/UnitsWML/AbilitiesWML/teleport}
{test/scenarios/wml_tests/UnitsWML/Attacks}
{test/scenarios/wml_tests/WesnothFormulaLanguage}
# Manual tests, to run with Wesnoth's `-t <testname>` option, or by binding a hotkey for the
# main menu's "Choose Test Scenario" option.
#
# Many of these are closer to workbenches than tests, allowing developers to do some action
# that isn't automated, and then to find out whether the result matched the expectation.
{test/scenarios/manual_tests}
# Some unit_types that are only used for tests.
{test/units.cfg}
#endif
#ifndef DONT_RELOAD_CORE
[binary_path]
path=data/core
[/binary_path]
{game_config.cfg}
#endif