~compiz-team/compiz/compiz.top-level-window-server-frame

« back to all changes in this revision

Viewing changes to tests/integration/xig/CMakeLists.txt

  • Committer: smspillaz
  • Author(s): Robert Ancell
  • Date: 2012-01-20 16:29:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2930.
  • Revision ID: sam.spilsbury@canonical.com-20120120162927-7ero8ca8nq80zp6k
Added Xig Testing infrastructure to compiz

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include (CompizCommon)
 
2
include (FindPkgConfig)
 
3
 
 
4
pkg_check_modules (COMPIZ_XIG_TEST xig-0 glib-2.0 gobject-2.0)
 
5
 
 
6
if (COMPIZ_XIG_TEST_FOUND)
 
7
 
 
8
        compiz_set (COMPIZ_XIG_TEST_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
 
9
        compiz_set (COMPIZ_XIG_TEST_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
 
10
 
 
11
        add_subdirectory (src)
 
12
 
 
13
        #add_test (compiz-xig-test-startup
 
14
        #         ${CMAKE_CURRENT_BINARY_DIR}/src/compiz-xig-test-runner startup)
 
15
 
 
16
        # Disabled as compiz is crashing on SIGHUP
 
17
        #add_test (compiz-xig-test-restart
 
18
        #         ${CMAKE_CURRENT_BINARY_DIR}/src/compiz-xig-test-runner restart)
 
19
 
 
20
        #add_test (compiz-xig-test-xserver-quit
 
21
        #         ${CMAKE_CURRENT_BINARY_DIR}/src/compiz-xig-test-runner xserver-quit)
 
22
 
 
23
        #add_test (compiz-xig-test-new-window
 
24
        #         ${CMAKE_CURRENT_BINARY_DIR}/src/compiz-xig-test-runner new-window)
 
25
 
 
26
        #add_test (compiz-xig-test-existing-window
 
27
        #         ${CMAKE_CURRENT_BINARY_DIR}/src/compiz-xig-test-runner existing-window)
 
28
 
 
29
else (COMPIZ_XIG_TEST_FOUND)
 
30
 
 
31
        message (WARNING "Xig not found, you will not be able to run X Server integration tests")
 
32
endif (COMPIZ_XIG_TEST_FOUND)