~compiz-team/compiz/build-fixes-part-4-gconf

« back to all changes in this revision

Viewing changes to src/privatescreen/tests/CMakeLists.txt

  • Committer: Łukasz 'sil2100' Zemczak
  • Date: 2012-03-06 17:44:14 UTC
  • mto: This revision was merged to the branch mainline in revision 3056.
  • Revision ID: lukasz.zemczak@canonical.com-20120306174414-mu0ald4qqb4lbyuk
Added run-with-xvfb.sh from Unity-2d for enabling testing in a non-headless environment.
Modified a few tests to use xvfb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include(CompizTesting)
 
2
 
1
3
include_directories( 
2
4
  ${CMAKE_CURRENT_SOURCE_DIR} 
3
5
 
49
51
  ${CMAKE_THREAD_LIBS_INIT} # Link in pthread.
50
52
)
51
53
 
52
 
gtest_add_tests( compiz_privatescreen_test "" ${CMAKE_CURRENT_SOURCE_DIR}/test-privatescreen.cpp )
 
54
env_gtest_add_tests( compiz_privatescreen_test "" ${CMAKE_CURRENT_SOURCE_DIR}/test-privatescreen.cpp )