Skip to content
Testsuite for apitrace
C++ C Python CMake Other
Find file
Failed to load latest commit information.
apps apps/gl: Tweak output message.
cli Update tests from trim/trim-auto split.
cmake Revert "cmake: Simplify DirectX search."
thirdparty glad: Silence cast warnings.
traces Update tests from trim/trim-auto split.
trim_stress Ensure we use the appropriate python version.
CMakeLists.txt cmake: Require C++11 support.
README.markdown apps/?gl: Replace GLEW with GLAD. apps: Run tests headless. apps: Leverage SKIP_RETURN_CODE property being introduced with cmake 3.0 cli: Chdir inside the driver. cli: Add test for sed. apps: Fix parsing of bitmask inside {}. apps: Use com_ptr extensively. Update tests from trim/trim-auto split.



This is an automated test suite for apitrace.


Same as apitrace requirements.


To run the test suite do on Unices:

cmake -DAPITRACE_SOURCE_DIR=/path/to/apitrace/tree -DAPITRACE_EXECUTABLE=/path/to/apitrace/build/apitrace -H. -Bbuild
make -C build all test

You can run multiple tests in parallel by specifying CTEST_PARALLEL_LEVEL environment variable.

Or on Windows:

cmake -G "Visual Studio 10" -H. -Bbuild
cmake --build build --target ALL_BUILD
cmake --build build --target RUN_TESTS

A detailed log will be written to Testing/Temporary/LastTest.log.


Some tests will crash on purpose. On Mac OS X you can avoid the application quit unexpectedly doing

defaults write DialogType none
Something went wrong with that request. Please try again.