update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / rwlaunchpad / test / CMakeLists.txt
1
2 #   Copyright 2016 RIFT.IO Inc
3 #
4 #   Licensed under the Apache License, Version 2.0 (the "License");
5 #   you may not use this file except in compliance with the License.
6 #   You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #   Unless required by applicable law or agreed to in writing, software
11 #   distributed under the License is distributed on an "AS IS" BASIS,
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #   See the License for the specific language governing permissions and
14 #   limitations under the License.
15 #
16 # Author(s): Joshua Downer
17 # Creation Date: 10/01/2015
18
19
20 cmake_minimum_required(VERSION 2.8)
21
22 install(
23   PROGRAMS
24     launchpad.py
25     DESTINATION demos
26   COMPONENT ${INSTALL_COMPONENT}
27   )
28
29 install(
30   FILES
31     pytest/lp_test.py
32   DESTINATION
33     usr/rift/systemtest/pytest/launchpad
34   COMPONENT ${INSTALL_COMPONENT}
35   )
36
37 install(
38   PROGRAMS
39     launchpad_recovery
40   DESTINATION
41     usr/rift/systemtest/launchpad
42   COMPONENT ${INSTALL_COMPONENT}
43   )
44
45 install(
46   PROGRAMS
47     launchpad
48   DESTINATION usr/bin
49   COMPONENT ${INSTALL_COMPONENT}
50   )
51
52 rift_py3test(utest_rwmonitor
53   TEST_ARGS
54   ${CMAKE_CURRENT_SOURCE_DIR}/utest_rwmonitor.py
55   )
56
57 rift_py3test(utest_rwnsm
58   TEST_ARGS
59   ${CMAKE_CURRENT_SOURCE_DIR}/utest_rwnsm.py
60   )
61
62 rift_py3test(utest_ro_account
63   TEST_ARGS
64   ${CMAKE_CURRENT_SOURCE_DIR}/utest_ro_account.py
65   )
66
67 rift_py3test(tosca_ut
68   TEST_ARGS
69   ${CMAKE_CURRENT_SOURCE_DIR}/tosca_ut.py
70   )