~renatofilho/address-book-app/fix-1200397

« back to all changes in this revision

Viewing changes to tests/autopilot/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Renato Araujo Oliveira Filho
  • Date: 2013-07-09 19:46:49 UTC
  • mfrom: (4.1.3 autopilot)
  • Revision ID: tarmac-20130709194649-569bvf3vdf2gi1fa
Initial structure for autopilot.

Approved by Omer Akram, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(AUTOPILOT_DIR address_book_app)
 
2
 
 
3
execute_process(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
 
4
    OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
 
5
 
 
6
install(DIRECTORY ${AUTOPILOT_DIR}
 
7
    DESTINATION ${PYTHON_PACKAGE_DIR}
 
8
    )
 
9
 
 
10
include(${CMAKE_SOURCE_DIR}/cmake/autopilot.cmake)
 
11
declare_autopilot_test("AUTOPILOT_APP=${address-book-main-app_BINARY_DIR}/address-book-app"
 
12
                       ${AUTOPILOT_DIR}
 
13
                       ${CMAKE_CURRENT_SOURCE_DIR})
 
14