mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #846] [MERGED] Add BARRIER_BUILD_TESTS and BARRIER_USE_EXTERNAL_GTEST CMake options #1707
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1707
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/846
Author: @chewi
Created: 8/21/2020
Status: ✅ Merged
Merged: 8/22/2020
Merged by: @p12tic
Base:
master← Head:tests📝 Commits (3)
4a031b8Add BARRIER_BUILD_TESTS CMake option to make tests optionalbd1db36Add BARRIER_USE_EXTERNAL_GTEST CMake option to use external GTestfa46480Respect DISPLAY environment variable in XWindows tests📊 Changes
9 files changed (+54 additions, -22 deletions)
View changed files
📝
CMakeLists.txt(+2 -1)📝
src/CMakeLists.txt(+4 -1)📝
src/lib/barrier/KeyMap.h(+4 -0)📝
src/test/CMakeLists.txt(+26 -12)📝
src/test/integtests/CMakeLists.txt(+1 -3)📝
src/test/integtests/platform/XWindowsScreenSaverTests.cpp(+7 -1)📝
src/test/integtests/platform/XWindowsScreenTests.cpp(+7 -1)📝
src/test/unittests/CMakeLists.txt(+1 -3)📝
src/test/unittests/barrier/KeyMapTests.cpp(+2 -0)📄 Description
These make the tests optional and allow the use of an external installation of the Google Test framework. This has been tested against GTest 1.10.0.
In case you're wondering, CMake includes a module for GTest but not GMock. There is an open issue about it.
Closes #586.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.