summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-17 15:54:31 +0200
committerGitHub <noreply@github.com>2018-09-17 15:54:31 +0200
commite7af0f69da45399eb15a2b0379f5e9c918898a1a (patch)
tree9d958e0df269ccb1b3bd0a79900d87e40466fbea /src/tests
parentMerge pull request #1326 from FearlessTobi/port-4182 (diff)
parentTests: Remove glad test OS X work-around (diff)
downloadyuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.tar
yuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.tar.gz
yuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.tar.bz2
yuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.tar.lz
yuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.tar.xz
yuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.tar.zst
yuzu-e7af0f69da45399eb15a2b0379f5e9c918898a1a.zip
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/CMakeLists.txt2
-rw-r--r--src/tests/glad.cpp14
2 files changed, 0 insertions, 16 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
index 4e75a72ec..37f09ce5f 100644
--- a/src/tests/CMakeLists.txt
+++ b/src/tests/CMakeLists.txt
@@ -4,14 +4,12 @@ add_executable(tests
core/arm/arm_test_common.cpp
core/arm/arm_test_common.h
core/core_timing.cpp
- glad.cpp
tests.cpp
)
create_target_directory_groups(tests)
target_link_libraries(tests PRIVATE common core)
-target_link_libraries(tests PRIVATE glad) # To support linker work-around
target_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.cpp
deleted file mode 100644
index 1797c0e3d..000000000
--- 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);
-}