mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Move tests again from core to main
As advised by @reduz, as tests depend on other libs.
This commit is contained in:
parent
5bfa4227b3
commit
8b7a86ec7b
core
main
SCsubmain.cpp
tests
SCsubtest_containers.cpptest_containers.htest_gdscript.cpptest_gdscript.htest_gui.cpptest_gui.htest_image.cpptest_image.htest_io.cpptest_io.htest_main.cpptest_main.htest_math.cpptest_math.htest_physics.cpptest_physics.htest_physics_2d.cpptest_physics_2d.htest_render.cpptest_render.htest_shader_lang.cpptest_shader_lang.htest_sound.cpptest_sound.htest_string.cpptest_string.h
@ -61,7 +61,6 @@ SConscript('os/SCsub')
|
||||
SConscript('math/SCsub')
|
||||
SConscript('io/SCsub')
|
||||
SConscript('bind/SCsub')
|
||||
SConscript('tests/SCsub')
|
||||
|
||||
lib = env.Library("core", env.core_sources)
|
||||
|
||||
|
@ -7,6 +7,8 @@ env.add_source_files(env.main_sources, "*.cpp")
|
||||
|
||||
Export('env')
|
||||
|
||||
SConscript('tests/SCsub')
|
||||
|
||||
lib = env.Library("main", env.main_sources)
|
||||
|
||||
env.Prepend(LIBS=[lib])
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include "script_language.h"
|
||||
#include "io/resource_loader.h"
|
||||
|
||||
#include "core/tests/test_main.h"
|
||||
#include "main/tests/test_main.h"
|
||||
#include "os/dir_access.h"
|
||||
#include "core/io/ip.h"
|
||||
#include "scene/resources/packed_scene.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user