X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=README.markdown;h=2ce2f89588a13ece6aa451872832442a00437aac;hp=a2db32e4de94949dec74a121720adafc85bac468;hb=8351c1e187d8f65477db05a07bacd5d184c2b950;hpb=195b2e54eda22ea844af868ac6990c45e8772d37 diff --git a/README.markdown b/README.markdown index a2db32e..2ce2f89 100644 --- a/README.markdown +++ b/README.markdown @@ -1,11 +1,22 @@ -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 + set CTEST_OUTPUT_ON_FAILURE=1 + 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`.