summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-01-08 14:08:18 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-01-08 14:08:18 +0100
commit790f629e5e1cccf721948b1153bb0dee139ac1a5 (patch)
treeca19ab642e59d18918d1f86fae953fc979d7ca51
parent28d74862677f6d0d94fbfffb305750da41f77930 (diff)
Move core engine tests to core/
-rw-r--r--SConstruct4
-rw-r--r--bin/SCsub6
-rw-r--r--core/SCsub1
-rw-r--r--core/tests/SCsub (renamed from bin/tests/SCsub)0
-rw-r--r--core/tests/test_containers.cpp (renamed from bin/tests/test_containers.cpp)0
-rw-r--r--core/tests/test_containers.h (renamed from bin/tests/test_containers.h)0
-rw-r--r--core/tests/test_gdscript.cpp (renamed from bin/tests/test_gdscript.cpp)0
-rw-r--r--core/tests/test_gdscript.h (renamed from bin/tests/test_gdscript.h)0
-rw-r--r--core/tests/test_gui.cpp (renamed from bin/tests/test_gui.cpp)0
-rw-r--r--core/tests/test_gui.h (renamed from bin/tests/test_gui.h)0
-rw-r--r--core/tests/test_image.cpp (renamed from bin/tests/test_image.cpp)0
-rw-r--r--core/tests/test_image.h (renamed from bin/tests/test_image.h)0
-rw-r--r--core/tests/test_io.cpp (renamed from bin/tests/test_io.cpp)0
-rw-r--r--core/tests/test_io.h (renamed from bin/tests/test_io.h)0
-rw-r--r--core/tests/test_main.cpp (renamed from bin/tests/test_main.cpp)0
-rw-r--r--core/tests/test_main.h (renamed from bin/tests/test_main.h)0
-rw-r--r--core/tests/test_math.cpp (renamed from bin/tests/test_math.cpp)0
-rw-r--r--core/tests/test_math.h (renamed from bin/tests/test_math.h)0
-rw-r--r--core/tests/test_physics.cpp (renamed from bin/tests/test_physics.cpp)0
-rw-r--r--core/tests/test_physics.h (renamed from bin/tests/test_physics.h)0
-rw-r--r--core/tests/test_physics_2d.cpp (renamed from bin/tests/test_physics_2d.cpp)0
-rw-r--r--core/tests/test_physics_2d.h (renamed from bin/tests/test_physics_2d.h)0
-rw-r--r--core/tests/test_render.cpp (renamed from bin/tests/test_render.cpp)0
-rw-r--r--core/tests/test_render.h (renamed from bin/tests/test_render.h)0
-rw-r--r--core/tests/test_shader_lang.cpp (renamed from bin/tests/test_shader_lang.cpp)0
-rw-r--r--core/tests/test_shader_lang.h (renamed from bin/tests/test_shader_lang.h)0
-rw-r--r--core/tests/test_sound.cpp (renamed from bin/tests/test_sound.cpp)0
-rw-r--r--core/tests/test_sound.h (renamed from bin/tests/test_sound.h)0
-rw-r--r--core/tests/test_string.cpp (renamed from bin/tests/test_string.cpp)0
-rw-r--r--core/tests/test_string.h (renamed from bin/tests/test_string.h)0
-rw-r--r--main/main.cpp2
31 files changed, 4 insertions, 9 deletions
diff --git a/SConstruct b/SConstruct
index 45d8b10206..a1af763031 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1,3 +1,4 @@
+
#!/usr/bin/env python
EnsureSConsVersion(0, 14)
@@ -347,7 +348,7 @@ if selected_platform in platform_list:
if (env['verbose'] == 'no'):
methods.no_verbose(sys, env)
-
+
if (True): # FIXME: detect GLES3
env.Append( BUILDERS = { 'GLES3_GLSL' : env.Builder(action = methods.build_gles3_headers, suffix = 'glsl.h',src_suffix = '.glsl') } )
@@ -360,7 +361,6 @@ if selected_platform in platform_list:
SConscript("scene/SCsub")
SConscript("tools/SCsub")
SConscript("drivers/SCsub")
- SConscript("bin/SCsub")
SConscript("modules/SCsub")
SConscript("main/SCsub")
diff --git a/bin/SCsub b/bin/SCsub
deleted file mode 100644
index 52f7e3bb39..0000000000
--- a/bin/SCsub
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/python
-
-Import('env')
-Export('env')
-
-SConscript('tests/SCsub')
diff --git a/core/SCsub b/core/SCsub
index 8d89f6427b..7e30cfa146 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -61,6 +61,7 @@ SConscript('os/SCsub')
SConscript('math/SCsub')
SConscript('io/SCsub')
SConscript('bind/SCsub')
+SConscript('tests/SCsub')
lib = env.Library("core", env.core_sources)
diff --git a/bin/tests/SCsub b/core/tests/SCsub
index 03495c0649..03495c0649 100644
--- a/bin/tests/SCsub
+++ b/core/tests/SCsub
diff --git a/bin/tests/test_containers.cpp b/core/tests/test_containers.cpp
index 4bc297d0ba..4bc297d0ba 100644
--- a/bin/tests/test_containers.cpp
+++ b/core/tests/test_containers.cpp
diff --git a/bin/tests/test_containers.h b/core/tests/test_containers.h
index 72d5c0ff7a..72d5c0ff7a 100644
--- a/bin/tests/test_containers.h
+++ b/core/tests/test_containers.h
diff --git a/bin/tests/test_gdscript.cpp b/core/tests/test_gdscript.cpp
index 1ee27ec661..1ee27ec661 100644
--- a/bin/tests/test_gdscript.cpp
+++ b/core/tests/test_gdscript.cpp
diff --git a/bin/tests/test_gdscript.h b/core/tests/test_gdscript.h
index 225654e2a8..225654e2a8 100644
--- a/bin/tests/test_gdscript.h
+++ b/core/tests/test_gdscript.h
diff --git a/bin/tests/test_gui.cpp b/core/tests/test_gui.cpp
index bfce03d663..bfce03d663 100644
--- a/bin/tests/test_gui.cpp
+++ b/core/tests/test_gui.cpp
diff --git a/bin/tests/test_gui.h b/core/tests/test_gui.h
index 5526320b0c..5526320b0c 100644
--- a/bin/tests/test_gui.h
+++ b/core/tests/test_gui.h
diff --git a/bin/tests/test_image.cpp b/core/tests/test_image.cpp
index bf9851cf01..bf9851cf01 100644
--- a/bin/tests/test_image.cpp
+++ b/core/tests/test_image.cpp
diff --git a/bin/tests/test_image.h b/core/tests/test_image.h
index 09b33e799e..09b33e799e 100644
--- a/bin/tests/test_image.h
+++ b/core/tests/test_image.h
diff --git a/bin/tests/test_io.cpp b/core/tests/test_io.cpp
index 42664e73cd..42664e73cd 100644
--- a/bin/tests/test_io.cpp
+++ b/core/tests/test_io.cpp
diff --git a/bin/tests/test_io.h b/core/tests/test_io.h
index c839590ab9..c839590ab9 100644
--- a/bin/tests/test_io.h
+++ b/core/tests/test_io.h
diff --git a/bin/tests/test_main.cpp b/core/tests/test_main.cpp
index 1f7f2d7dda..1f7f2d7dda 100644
--- a/bin/tests/test_main.cpp
+++ b/core/tests/test_main.cpp
diff --git a/bin/tests/test_main.h b/core/tests/test_main.h
index c8d571a7dd..c8d571a7dd 100644
--- a/bin/tests/test_main.h
+++ b/core/tests/test_main.h
diff --git a/bin/tests/test_math.cpp b/core/tests/test_math.cpp
index b3b70986c9..b3b70986c9 100644
--- a/bin/tests/test_math.cpp
+++ b/core/tests/test_math.cpp
diff --git a/bin/tests/test_math.h b/core/tests/test_math.h
index 492c3a1837..492c3a1837 100644
--- a/bin/tests/test_math.h
+++ b/core/tests/test_math.h
diff --git a/bin/tests/test_physics.cpp b/core/tests/test_physics.cpp
index 15dc40a4fd..15dc40a4fd 100644
--- a/bin/tests/test_physics.cpp
+++ b/core/tests/test_physics.cpp
diff --git a/bin/tests/test_physics.h b/core/tests/test_physics.h
index 5b6a54f2d4..5b6a54f2d4 100644
--- a/bin/tests/test_physics.h
+++ b/core/tests/test_physics.h
diff --git a/bin/tests/test_physics_2d.cpp b/core/tests/test_physics_2d.cpp
index 39b4e7edda..39b4e7edda 100644
--- a/bin/tests/test_physics_2d.cpp
+++ b/core/tests/test_physics_2d.cpp
diff --git a/bin/tests/test_physics_2d.h b/core/tests/test_physics_2d.h
index e2eb1f4023..e2eb1f4023 100644
--- a/bin/tests/test_physics_2d.h
+++ b/core/tests/test_physics_2d.h
diff --git a/bin/tests/test_render.cpp b/core/tests/test_render.cpp
index 51e1366073..51e1366073 100644
--- a/bin/tests/test_render.cpp
+++ b/core/tests/test_render.cpp
diff --git a/bin/tests/test_render.h b/core/tests/test_render.h
index 6993e75b9f..6993e75b9f 100644
--- a/bin/tests/test_render.h
+++ b/core/tests/test_render.h
diff --git a/bin/tests/test_shader_lang.cpp b/core/tests/test_shader_lang.cpp
index 1a677bcbe2..1a677bcbe2 100644
--- a/bin/tests/test_shader_lang.cpp
+++ b/core/tests/test_shader_lang.cpp
diff --git a/bin/tests/test_shader_lang.h b/core/tests/test_shader_lang.h
index f129fb224a..f129fb224a 100644
--- a/bin/tests/test_shader_lang.h
+++ b/core/tests/test_shader_lang.h
diff --git a/bin/tests/test_sound.cpp b/core/tests/test_sound.cpp
index 44cc117e02..44cc117e02 100644
--- a/bin/tests/test_sound.cpp
+++ b/core/tests/test_sound.cpp
diff --git a/bin/tests/test_sound.h b/core/tests/test_sound.h
index 91b87a2261..91b87a2261 100644
--- a/bin/tests/test_sound.h
+++ b/core/tests/test_sound.h
diff --git a/bin/tests/test_string.cpp b/core/tests/test_string.cpp
index d99ad4476f..d99ad4476f 100644
--- a/bin/tests/test_string.cpp
+++ b/core/tests/test_string.cpp
diff --git a/bin/tests/test_string.h b/core/tests/test_string.h
index 7b3cd9a019..7b3cd9a019 100644
--- a/bin/tests/test_string.h
+++ b/core/tests/test_string.h
diff --git a/main/main.cpp b/main/main.cpp
index 12995f2a14..e3827b9ba6 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -47,7 +47,7 @@
#include "script_language.h"
#include "io/resource_loader.h"
-#include "bin/tests/test_main.h"
+#include "core/tests/test_main.h"
#include "os/dir_access.h"
#include "core/io/ip.h"
#include "scene/resources/packed_scene.h"