X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=README.markdown;h=2ce2f89588a13ece6aa451872832442a00437aac;hp=7b7a7e67ba4f0c22447b7d62cbb1994c6e3628bb;hb=8351c1e187d8f65477db05a07bacd5d184c2b950;hpb=c6c0fc0dc18f1b8ac4ed5dd7748af9ef872a4d6a diff --git a/README.markdown b/README.markdown index 7b7a7e6..2ce2f89 100644 --- a/README.markdown +++ b/README.markdown @@ -1,9 +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/ . - make - make test +* 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 -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 + +A detailed log will be written to `Testing/Temporary/LastTest.log`.