Simon Zeni
953712fb96
tests: add --allow-running-no-tests when running tests
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2268 >
2024-07-04 13:24:16 +00:00
Simon Zeni
976d40f669
external/catch2: upgrade to 3.6.0
...
https://github.com/catchorg/Catch2/releases/tag/v3.6.0
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2268 >
2024-07-04 13:24:16 +00:00
Jakob Bornecrantz
6d0ab43cda
tests: Add uv to tangent lengths test
2023-10-05 12:47:51 +01:00
samuel degrande
1ad168cfc5
cmake: Fix build failure on msys2/mingw64
...
This is due to the use of `${SDL2_LIBRARIES}` over `SDL2::SDL2`.
On some 'old' OSes such as Ubuntu 20.04, the SDL2 CMake config does
not set an SDL2:SDL2 target but rather defines SDL2_LIBRARIES and
SDL2_INCLUDE_DIRS variables.
This patch creates an SDL2::SDL2 target, if not already set, based on
those 2 variables.
2023-05-15 16:41:34 +00:00
Jakob Bornecrantz
7130fc57ca
tests: Add some simple relation chain tests
2023-01-24 16:11:56 +00:00
Ryan Pavlik
2db2fb94b7
tests: Verify Vulkan import in D3D11 alloc test
2023-01-24 15:35:09 +00:00
Moses Turner
5c68233004
Add test for m_vec3_angle
2022-11-29 03:11:53 -06:00
Moses Turner
352fda971c
tests: Add tests for swing-twist conversions
2022-11-23 13:02:35 -06:00
Moses Turner
d2e2c3a988
cmake: Run cmake-format.sh
2022-09-19 21:57:37 +01:00
Moses Turner
173d55c58b
tests: Add test_quat_change_of_basis
2022-09-19 11:17:34 -05:00
Jakob Bornecrantz
29a43797fc
tests: Fix compile with SDL2
...
This happens on certain old version of SDL2 where SDL2_LIBRARIES isn't a
magical target thingy.
2022-09-07 13:56:33 +01:00
Simon Zeni
210c01c77b
tests: disable OpenGL client compositor test if GLX is not available
2022-08-23 05:41:56 -04:00
Ryan Pavlik
fbdc3db03d
tests: Add tests for the OpenGL client compositor code
2022-08-22 19:53:50 +00:00
Ryan Pavlik
12547e116a
tests: Add basic d3d12 client compositor tests
2022-07-26 14:45:29 +00:00
Ryan Pavlik
576b158a83
a/d3d: Add some d3d12 features
2022-07-26 14:45:29 +00:00
Mateo de Mayo
ae8305f324
u/deque: Add generic wrapper for std::deque
2022-07-25 19:08:46 +00:00
Mateo de Mayo
afa7f7ade9
u/vector: Add generic wrapper for std::vector
2022-07-07 15:35:04 +00:00
Moses Turner
b4a29e8b29
tests: Add case for Levenberg-Marquardt optimizer
2022-06-20 16:33:48 +01:00
Mateo de Mayo
f904f3f16c
a/math: Repurpose test file for testing pose math
2022-06-18 14:19:01 -03:00
Campbell Suter
0f8da1900b
a/math: Fix math_pose_invert breaking on rotated poses, and add a test
...
Previously, math_pose_invert would apply a multiplication in the wrong
order. This lead to the position of the 'original' pose being rotated.
This patch fixes that, and adds a unit test to check this case.
2022-06-01 16:44:03 +01:00
Ryan Pavlik
2168e0b93c
tests: D3D11 and Vulkan client compositor tests
2022-05-20 22:37:15 +01:00
Ryan Pavlik
7ccf622ab3
tests: Add tests for functionality in auxiliary/d3d
2022-05-20 22:37:15 +01:00
Ryan Pavlik
ef89183f02
tests: Add u_worker tests
2022-03-11 15:29:16 +00:00
Ryan Pavlik
a0e2df4cf0
tracking/math: Move the generic low pass filters to a/math
2022-02-22 16:42:53 -06:00
Ryan Pavlik
b621fef75d
tests: Equivalent tests for the non-integer low pass filter
2022-02-22 09:58:19 -06:00
Ryan Pavlik
4156cabedf
a/tracking: Add an integer version of the low-pass filter.
2022-02-22 09:58:19 -06:00
Ryan Pavlik
928254ffed
a/math: Add a rational number struct template.
2022-02-22 09:58:19 -06:00
Ryan Pavlik
d70feaea42
tests: Clean up build script for tests.
2022-02-19 01:17:11 +00:00
Ryan Pavlik
a904914e6e
a/util: Wrap "just enough" of the ring buffer stuff for generic use from C.
2022-02-08 13:18:15 -06:00
Ryan Pavlik
a303aff925
tests: Start work on frame pacing test.
2022-02-08 10:51:39 -06:00
Mateo de Mayo
7e0d93e3fb
tests: Add tests for quatexpmap interface functions and minor changes in their docs
2021-12-22 12:16:27 -03:00
Ryan Pavlik
5b1c60eeb0
xrt: Add unique_ptr typedef for xrt_device
2021-12-10 21:24:02 +00:00
Ryan Pavlik
4bd0d12462
tests: Add tests for m_relation_history_get
2021-12-03 14:00:37 +00:00
Mateo de Mayo
b94b7d1f52
u/json: Implement C++ wrapper for cJSON
2021-11-12 15:33:06 -03:00
Ryan Pavlik
cc4007a69e
cmake: Substantial cleanups and simplifications
...
We now have a cmake-format config file.
We no longer use list variables for sources, instead using
target_sources when we need to add, in accordance with current
best practice. (This makes it a lot easier to edit too.) There's no more
include_directories(), add_definitions(), or other gently-deprecated
directory-scoped commands, nor any CMake scripts that include
a parent directory reference (named targets instead)
2021-11-12 09:48:37 -06:00
Ryan Pavlik
0bcf1e316c
build: Fix license headers accidentally corrupted.
2021-11-03 14:25:37 -05:00
Ryan Pavlik
417de87cb2
a/util: Add a generic callbacks collection.
...
Based on the work for the Android surface callbacks,
just finished being made generic since we'll need to reuse it.
2021-04-30 17:34:21 -05:00
Ryan Pavlik
1a5d31b82b
st/oxr: New input transform implementation, fixes conformance failures.
...
Includes unit tests for oxr_input_transform, add to CI
This is a revised implementation using "variants" instead of
"inheritance" in a linked-list.
2020-06-17 10:03:32 +00:00