X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=README.markdown;h=28204282f236c039f845b8a1af123426c77c837c;hp=91ff21af18d6e0d4e1e2980231a61d2951ff4d55;hb=276ee5387182ca865c00500013877b6cc2d5c77e;hpb=334b98a1a275bdd4bffc4b11f8e9acc00b28510b;ds=sidebyside diff --git a/README.markdown b/README.markdown index 91ff21a..2820428 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_EXECUTABLE=/path/to/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`.