X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=README.markdown;h=c32d9e62a32906f1310aea079edf6a1ce5707624;hp=91ff21af18d6e0d4e1e2980231a61d2951ff4d55;hb=17cb85dd761e0a2d0b085162b4f250ed679cbb33;hpb=11d5aa07e374c9041b33a898a3979aca31b3f419 diff --git a/README.markdown b/README.markdown index 91ff21a..c32d9e6 100644 --- a/README.markdown +++ b/README.markdown @@ -6,10 +6,16 @@ In addition to apitrace requirements, it also requires: * GLEW -To run the test suite do: +To run the test suite do on Unices: - cmake -DAPITRACE_BINARY_DIR=/path/to/apitrace/build/ . + 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 -Detailed log will be written to `Testing/Temporary/LastTest.log`. +Or on Windows: + + cmake -G "Visual Studio 10" -H. -B.\build + cmake --build .\build --target ALL_BUILD + cmake --build .\build --target RUN_TESTS + +A detailed log will be written to `Testing/Temporary/LastTest.log`.