Vulkan-Hpp/tests/Video
Jan Kuhlmann 7b14e74ad2
Set Version Tag / set-version-tag (push) Has been cancelled Details
Update Vulkan-Headers PR / update-vulkan-headers (Debug, 11) (push) Has been cancelled Details
Tests: Enabling CTest alongside module testing with import std (#2292)
* add functions to setup tests for CTest

* raise minimum cmake version to 3.13 to disallow option() from overwriting variables

* turn tests/  into proper CTest unit tests with isolated environments and config using native CMake option()

* replaced asserts with void in ArrayProxy

* merged shared dynamic dispatch library tests

* fixed and enabled ExtensionInspection test for modules

* fixed and enabled Hash test for modules

* fixed and enabled StridedArrayProxy test for modules (except gcc 15 and below)

* merged video and video module tests

* fixed and enable DeviceFunctions test for modules

* added CTest command to CI

* port over new FunctionCalls tests

* update for new cxx_module cmake flag

* can now choose between ctest and add_subdirectory

* default define of std module in core header instead of macro header

* enable import std testing

* set up CI to handle CTest (and import std where fitting)

* removed cmake experimental guard

* fixed accidental rename

* properly change cd in CI without ctest dep

* revert changes to VULKAN_HPP_STD_MODULE and simplify it

* disable static dispatch testing for CI

* specify ctest build type for multi-config msbuild

* fixed format traits test

* fixed typo in extension inspection test

* set ninja on windows and clang stdlib on ubuntu

* temp disable CI to debug ci-ubuntu-ext modules

* forward missing cmake cxx vars

* removed unnecessary cpp20modules test and guarded static dispatch testing

* fixed static dispatch test guard

* disable samples in ext runner

* only test clang 20 with forced module usage

* attempt to purge default clang

* reset ci, specify msvc multi-config type, specify ctest build folder

* only test UniqueHandleDefaultArguments in 64-bit mode

* fix extension inspection test on windows

* properly set cmake build type for windows ci

* explicit cast for shared handle

* do not use ninja on windows ci

* make format traits test compatible with import std

* properly convered NoDefaultDispatcher test

* fix issues with import std

* start testing ci for import std

* stop installing clang externally

* try again

* ugeh

* uwah

* test again

* yep

* woops

* testing

* try linking

* fixed typo

* once agane

* perform full CI test run

* back to default ubuntu24 runner

* ignore deprecation warning on MSVC when testing for deprecation

* clang 19 has issues with compilation to be addressed in separate pr

* explicitly disable module tests for windows clang

* exclude module CI

* re-added ctest for windows

* shortened boolean test condition

* added assert function to tests that runs even in release mode

* improved assertion macro and added it to common test header

* cut out assertion changes for separate PR

* replaced void with original assert

* import vulkan instead of vulkan_video_hpp

Co-authored-by: Sharadh Rajaraman <r.sharadh@outlook.sg>

* import vulkan instead for FunctionCallsRAII

Co-authored-by: Sharadh Rajaraman <r.sharadh@outlook.sg>

* import vulkan instead for FunctionCalls

Co-authored-by: Sharadh Rajaraman <r.sharadh@outlook.sg>

* import vulkan instead for DispatchLoaderStatic

Co-authored-by: Sharadh Rajaraman <r.sharadh@outlook.sg>

* update module testing for latest changes

* enabled module tests for ubuntu and windows using clang and ninja

* added new windows runner specifically for module tests

* disable StructureChain and FunctionCalls module tests on MSVC

* gated FunctionCalls module test for msvc < 19.50

* removed surplus assert

* apply ci runner name suggestions

Co-authored-by: Sharadh Rajaraman <r.sharadh@outlook.sg>

---------

Co-authored-by: Sharadh Rajaraman <r.sharadh@outlook.sg>
2025-12-18 13:18:43 +01:00
..
CMakeLists.txt Tests: Enabling CTest alongside module testing with import std (#2292) 2025-12-18 13:18:43 +01:00
Video.cpp Tests: Enabling CTest alongside module testing with import std (#2292) 2025-12-18 13:18:43 +01:00