summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/SCsub4
-rw-r--r--tests/core/object/test_object.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/tests/SCsub b/tests/SCsub
index 31466fffc1..25b06f2312 100644
--- a/tests/SCsub
+++ b/tests/SCsub
@@ -6,10 +6,6 @@ env.tests_sources = []
env_tests = env.Clone()
-# Include GDNative headers.
-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
# So the debugger crashes the engine and it causes weird errors
diff --git a/tests/core/object/test_object.h b/tests/core/object/test_object.h
index f9158eccec..e44b93bb66 100644
--- a/tests/core/object/test_object.h
+++ b/tests/core/object/test_object.h
@@ -87,7 +87,7 @@ public:
bool has_method(const StringName &p_method) const override {
return false;
}
- Variant call(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) override {
+ Variant callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) override {
return Variant();
}
void notification(int p_notification) override {