Move GDNative String tests to respective module

GDNative-specific tests moved out of main `tests/` folder into
`modules/gdnative/tests`.

Include path for GDNative headers are still hardcoded in `tests/SCsub`,
but made conditional now.

Also fixed test case tag typos.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
This commit is contained in:
Andrii Doroshenko (Xrayez) 2020-09-11 14:51:38 +03:00
parent e00d77f5f3
commit 174b6e817f
3 changed files with 71 additions and 76 deletions

View file

@ -7,7 +7,8 @@ env.tests_sources = []
env_tests = env.Clone()
# Include GDNative headers.
env_tests.Append(CPPPATH=["#modules/gdnative/include"])
if env["module_gdnative_enabled"]:
env_tests.Append(CPPPATH=["#modules/gdnative/include"])
# We must disable the THREAD_LOCAL entirely in doctest to prevent crashes on debugging
# Since we link with /MT thread_local is always expired when the header is used

File diff suppressed because it is too large Load diff

View file

@ -37,7 +37,6 @@
#include "test_class_db.h"
#include "test_color.h"
#include "test_expression.h"
#include "test_gdnative_string.h"
#include "test_gradient.h"
#include "test_gui.h"
#include "test_math.h"