diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-06-29 17:31:56 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-06-29 18:35:50 +0200 |
commit | 17929a34430f526f01eb4ef29329d082643a6d03 (patch) | |
tree | 05c32c7386c1e04830e2648137991e2403200ed8 /tests/scene/test_instance_placeholder.h | |
parent | 25de53e147a04ba15afc461b3ad4aa1884ff927d (diff) | |
download | redot-engine-17929a34430f526f01eb4ef29329d082643a6d03.tar.gz |
[Tests] Fix unit tests in template builds
Diffstat (limited to 'tests/scene/test_instance_placeholder.h')
-rw-r--r-- | tests/scene/test_instance_placeholder.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scene/test_instance_placeholder.h b/tests/scene/test_instance_placeholder.h index d915c5d961..17f2151d54 100644 --- a/tests/scene/test_instance_placeholder.h +++ b/tests/scene/test_instance_placeholder.h @@ -333,6 +333,7 @@ TEST_CASE("[SceneTree][InstancePlaceholder] Instantiate from placeholder with ov } } +#ifdef TOOLS_ENABLED TEST_CASE("[SceneTree][InstancePlaceholder] Instance a PackedScene containing an InstancePlaceholder with no overrides") { GDREGISTER_CLASS(_TestInstancePlaceholderNode); @@ -526,6 +527,7 @@ TEST_CASE("[SceneTree][InstancePlaceholder] Instance a PackedScene containing an DirAccess::remove_file_or_error(internal_path); DirAccess::remove_file_or_error(main_path); } +#endif // TOOLS_ENABLED } //namespace TestInstancePlaceholder |