summaryrefslogtreecommitdiff
path: root/tests/SCsub
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-09-11 14:51:38 +0300
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2020-09-11 14:51:38 +0300
commit174b6e817f9bb36607f7dc271752e217f6322155 (patch)
tree826a68b8c794b9889dc49e8263a1a3c69c2868fe /tests/SCsub
parente00d77f5f3dc4213085e2e485459be098221b0d7 (diff)
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>
Diffstat (limited to 'tests/SCsub')
-rw-r--r--tests/SCsub3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/SCsub b/tests/SCsub
index 44b4cdc4b0..7aab28531d 100644
--- a/tests/SCsub
+++ b/tests/SCsub
@@ -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