Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Testsuite for apitrace
C++ Python C CMake Other
branch: master

apps/egl: Add repro for apitrace/apitrace#349.

With WILL_FAIL set to one until the issue is actually fixed.
latest commit 275cc9c350
@jrfonseca jrfonseca authored
Failed to load latest commit information.
apps apps/egl: Add repro for apitrace/apitrace#349.
cli cli: Split trim tests.
cmake cmake: Fix CMP0053 violation.
thirdparty glad: Silence cast warnings.
traces traces: Add test for sed @file.
trim_stress Ensure we use the appropriate python version.
.gitignore Rename src json filenames to match reference more closely.
CMakeLists.txt apps/gl: Stop using GLAPIENTRY.
README.markdown apps/?gl: Replace GLEW with GLAD.
app_driver.py apps/gl: Add a test for gltrace.conf.
base_driver.py
cli_driver.py cli: Chdir inside the driver.
tool_driver.py cli: Add test for sed.
tracematch.py apps/d3d11/tri: Cope with differences in shader disassembly commments.
tracemeld.sh tracemeld: Allow to override diff tool.
trim_stress_driver.py cli: Don't clobber index.html.

README.markdown

About

This is an automated test suite for apitrace.

Requirements

Same as apitrace requirements.

Usage

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
export CTEST_OUTPUT_ON_FAILURE=1
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
set CTEST_OUTPUT_ON_FAILURE=1
cmake --build build --target ALL_BUILD
cmake --build build --target RUN_TESTS

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

Tips

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

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