Merge pull request #116588 from Repiteo/scons/compiled-test-scu-fix

SCons: Fix compiled tests on scu builds
This commit is contained in:
Thaddeus Crews 2026-02-21 12:16:59 -06:00
commit a0d955d586
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -391,23 +391,26 @@ def generate_scu_files(max_includes_per_scu):
process_folder(["servers/xr"])
# NOTE: Tests previously compiled as one large unit. We replicate this behavior in SCU builds.
process_folder([
"tests",
"/core",
"/core/config",
"/core/input",
"/core/io",
"/core/math",
"/core/object",
"/core/os",
"/core/string",
"/core/templates",
"/core/threads",
"/core/variant",
"/scene",
"/servers",
"/servers/rendering",
])
process_folder(
[
"tests",
"/core",
"/core/config",
"/core/input",
"/core/io",
"/core/math",
"/core/object",
"/core/os",
"/core/string",
"/core/templates",
"/core/threads",
"/core/variant",
"/scene",
"/servers",
"/servers/rendering",
],
["test_macros", "test_main"],
)
# Finally change back the path to the calling folder
os.chdir(curr_folder)