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

« back to all changes in this revision

Viewing changes to src/plugin/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
 
30
32
  ${CMAKE_THREAD_LIBS_INIT} # Link in pthread.
31
33
)
32
34
 
33
 
gtest_add_tests( compiz_plugin_test "" ${CMAKE_CURRENT_SOURCE_DIR}/test-plugin.cpp )
 
35
env_gtest_add_tests( compiz_plugin_test "" ${CMAKE_CURRENT_SOURCE_DIR}/test-plugin.cpp )