]> git.cworth.org Git - apitrace-tests/blobdiff - CMakeLists.txt
trim: Update for --exact -> --auto
[apitrace-tests] / CMakeLists.txt
index 47c38cb06b3bfb488b699269d309c93c2edc1a57..7c55f765740d27d08ab1ca961a23338755977aff 100644 (file)
@@ -90,3 +90,18 @@ enable_testing()
 add_subdirectory (apps)
 add_subdirectory (traces)
 
+# FIXME: The tests in the cli directory are intended to be high-level
+# tests of the apitrace command-line interface which would ideally be
+# portable across all platforms. However, these tests all rely on
+# doing image comparisons and the current implementation of the
+# "apitrace dump-images" command relies on direct invocation of the
+# glretrace command.
+#
+# Someday, we should have more unified commands for replaying traces,
+# dumping images, etc. At that point these cli tests should be usable
+# with all targets so that we can drop the "if (OPENGL_FOUND)"
+# condition here.
+if (OPENGL_FOUND)
+    add_subdirectory (cli)
+    add_subdirectory (trim_stress)
+endif ()