mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
POLARIS?: Separate away mission tests
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
*
|
||||
* This file is used by Travis to indicate that additional maps need to be compiled to look for errors such as missing paths.
|
||||
* Do not add anything but the AWAY_MISSION_TEST definition here as it will be overwritten by Travis when running tests.
|
||||
*
|
||||
*
|
||||
* Should you wish to edit set AWAY_MISSION_TEST to 1 like so:
|
||||
* #define AWAY_MISSION_TEST 1
|
||||
*/
|
||||
#define AWAY_MISSION_TEST 0
|
||||
@@ -1,11 +1,5 @@
|
||||
// This causes tether submap maps to get 'checked' and compiled, when undergoing a unit test.
|
||||
// This is so Travis can validate PoIs, and ensure future changes don't break PoIs, as PoIs are loaded at runtime and the compiler can't catch errors.
|
||||
#if MAP_TEST
|
||||
#include "tether_ships.dmm"
|
||||
#include "beach/beach.dmm"
|
||||
#include "beach/cave.dmm"
|
||||
#endif
|
||||
|
||||
/datum/map_template/tether_lateload
|
||||
allow_duplicates = FALSE
|
||||
|
||||
@@ -25,4 +19,4 @@
|
||||
/datum/map_template/tether_lateload/away_beach_cave
|
||||
name = "Desert Planet - Z2 Cave"
|
||||
desc = "The beach away mission's cave."
|
||||
mappath = 'maps/submaps/tether_submaps/beach/cave.dmm'
|
||||
mappath = 'maps/submaps/tether_submaps/beach/cave.dmm'
|
||||
|
||||
@@ -25,4 +25,10 @@
|
||||
|
||||
#warn A map has already been included, ignoring Tether
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//Away missions defined here for testing
|
||||
#if AWAY_MISSION_TEST
|
||||
#include ../submaps/tether_submaps/beach/beach.dmm
|
||||
#include ../submaps/tether_submaps/beach/cave.dmm
|
||||
#endif
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#define DEBUG
|
||||
// END_PREFERENCES
|
||||
// BEGIN_INCLUDE
|
||||
#include "code\_away_mission_tests.dm"
|
||||
#include "code\_macros.dm"
|
||||
#include "code\_map_tests.dm"
|
||||
#include "code\_unit_tests.dm"
|
||||
|
||||
Reference in New Issue
Block a user