X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=README.markdown;h=c32d9e62a32906f1310aea079edf6a1ce5707624;hp=a2db32e4de94949dec74a121720adafc85bac468;hb=50f1c92ce0250b8674752c60791e5f1f10c43eb4;hpb=195b2e54eda22ea844af868ac6990c45e8772d37 diff --git a/README.markdown b/README.markdown index a2db32e..c32d9e6 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_SOURCE_DIR=/path/to/apitrace/tree -DAPITRACE_EXECUTABLE=/path/to/apitrace/build/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`.