]> git.cworth.org Git - apitrace-tests/blobdiff - README.markdown
Only invoke pkg_check_modules when PKG_CONFIG_FOUND is true.
[apitrace-tests] / README.markdown
index 9108088cbd788fdcecdd22607ebe97be1737124c..c32d9e62a32906f1310aea079edf6a1ce5707624 100644 (file)
@@ -1,10 +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/ .
-    make all test
+* GLEW
 
-Detailed log will be written to Testing/Temporary/LastTest.log
+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
+    cmake --build .\build --target RUN_TESTS
+
+A detailed log will be written to `Testing/Temporary/LastTest.log`.