]> git.cworth.org Git - apitrace-tests/blobdiff - README.markdown
Better code organization.
[apitrace-tests] / README.markdown
index a2db32e4de94949dec74a121720adafc85bac468..28204282f236c039f845b8a1af123426c77c837c 100644 (file)
@@ -1,11 +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/ .
+* GLEW
+
+To run the test suite do on Unices:
+
+    cmake -DAPITRACE_EXECUTABLE=/path/to/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
+    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`.