|
9 | 9 |
|
10 | 10 | parser = ArgumentParser()
|
11 | 11 | parser.add_argument("tests", type=str, nargs="*", help="Tests to run" \
|
12 |
| - "(mod_ctx, old_mod_ctx, decomp_ctx, mod_ctx_shuffle, test_mod_individual)") |
| 12 | + "(mod_ctx, decomp_ctx, mod_ctx_shuffle, test_mod_individual)") |
13 | 13 | parser.add_argument("--regions", type=str, nargs="+", help="Regions to test")
|
14 | 14 | parser.add_argument("--seed", type=int, default=1, help="Shuffling seed")
|
15 | 15 | parser.add_argument("--shuffle", type=int, default=50, help="Number of randomised orders to test")
|
@@ -231,15 +231,10 @@ def find_headers(dirname: str, base=None) -> List[str]:
|
231 | 231 |
|
232 | 232 | return ret
|
233 | 233 |
|
234 |
| -# Test the headers in the spm-utils modding setup |
| 234 | +# Test the headers in the modding setup |
235 | 235 | def test_mod_ctx(regions: List[str]):
|
236 | 236 | compile_regions(os.path.join("$builddir", "{region}", "mod.o"), "$mod_source", regions,
|
237 |
| - MOD_INCLUDES, ["USE_STL"]) |
238 |
| - |
239 |
| -# Test the headers in the old modding setup |
240 |
| -def test_old_mod_ctx(regions: List[str]): |
241 |
| - compile_regions(os.path.join("$builddir", "{region}", "old_mod.o"), "$mod_source", regions, |
242 |
| - MOD_INCLUDES, []) |
| 237 | + MOD_INCLUDES, [""]) |
243 | 238 |
|
244 | 239 | # Test the headers in the decomp setup
|
245 | 240 | def test_decomp_ctx(regions: List[str]):
|
@@ -267,14 +262,13 @@ def test_mod_individual(regions: List[str]):
|
267 | 262 |
|
268 | 263 | test_fns = {
|
269 | 264 | "mod_ctx" : test_mod_ctx,
|
270 |
| - "old_mod_ctx" : test_old_mod_ctx, |
271 | 265 | "decomp_ctx" : test_decomp_ctx,
|
272 | 266 | "mod_ctx_shuffle" : test_mod_ctx_shuffle,
|
273 | 267 | "test_mod_individual" : test_mod_individual,
|
274 | 268 | }
|
275 | 269 |
|
276 | 270 | incgen("$mod_source", MOD_INCLUDES)
|
277 |
| -default_tests = ["mod_ctx", "old_mod_ctx"] |
| 271 | +default_tests = ["mod_ctx"] |
278 | 272 |
|
279 | 273 | if args.codewarrior:
|
280 | 274 | incgen("$decomp_source", DECOMP_INCLUDES)
|
|
0 commit comments