X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=README.markdown;h=28204282f236c039f845b8a1af123426c77c837c;hp=a2db32e4de94949dec74a121720adafc85bac468;hb=1017d793714f4d3d2fe2b4d29e1eaf564d5db855;hpb=195b2e54eda22ea844af868ac6990c45e8772d37 diff --git a/README.markdown b/README.markdown index a2db32e..2820428 100644 --- a/README.markdown +++ b/README.markdown @@ -1,11 +1,21 @@ -This is an attempt to write an automated test suite for apitrace. +This is an automated test suite for apitrace. -It is still work in progress, and has a lot unfinished code/ideas. +In addition to apitrace requirements, it also requires: -To run the test suite do +* GLUT - cmake -DAPITRACE_BINARY_DIR=/path/to/apitrace/build/ . +* GLEW + +To run the test suite do on Unices: + + cmake -DAPITRACE_EXECUTABLE=/path/to/apitrace -H. -B./build export CTEST_OUTPUT_ON_FAILURE=1 - make all test + make -C ./build all test + +Or on Windows: + + cmake -G "Visual Studio 10" -H. -B.\build + cmake --build .\build --target ALL_BUILD + cmake --build .\build --target RUN_TESTS -Detailed log will be written to Testing/Temporary/LastTest.log +A detailed log will be written to `Testing/Temporary/LastTest.log`.