VERY experimental Nintendo Switch 2 emulator
C++
Tests: Remove glad test OS X work-around
Yuri Kunde Schlesner089af97d09af
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txtindex 4e75a72ec1..37f09ce5f6 100644--- a/src/tests/CMakeLists.txt+++ b/src/tests/CMakeLists.txt@@ -4,14 +4,12 @@ add_executable(testscore/arm/arm_test_common.cppcore/arm/arm_test_common.hcore/core_timing.cpp- glad.cpptests.cpp)create_target_directory_groups(tests)target_link_libraries(tests PRIVATE common core)-target_link_libraries(tests PRIVATE glad) # To support linker work-aroundtarget_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} catch-single-include Threads::Threads)add_test(NAME tests COMMAND tests)diff --git a/src/tests/glad.cpp b/src/tests/glad.cppdeleted file mode 100644index 1797c0e3d1..0000000000--- a/src/tests/glad.cpp+++ /dev/null@@ -1,14 +0,0 @@-// Copyright 2016 Citra Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.--#include <catch2/catch.hpp>-#include <glad/glad.h>--// This is not an actual test, but a work-around for issue #2183.-// If tests uses functions in core but doesn't explicitly use functions in glad, the linker of macOS-// will error about undefined references from video_core to glad. So we explicitly use a glad-// function here to shut up the linker.-TEST_CASE("glad fake test", "[dummy]") {- REQUIRE(&gladLoadGL != nullptr);-}