Merge pull request #116588 from Repiteo/scons/compiled-test-scu-fix
SCons: Fix compiled tests on scu builds
This commit is contained in:
commit
a0d955d586
1 changed files with 20 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue