Add tests program for security-server2
[platform/core/test/security-tests.git] / tests / CMakeLists.txt
1 # Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
2 #
3 #    Licensed under the Apache License, Version 2.0 (the "License");
4 #    you may not use this file except in compliance with the License.
5 #    You may obtain a copy of the License at
6 #
7 #        http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #    Unless required by applicable law or agreed to in writing, software
10 #    distributed under the License is distributed on an "AS IS" BASIS,
11 #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #    See the License for the specific language governing permissions and
13 #    limitations under the License.
14 #
15
16 INSTALL(FILES ${PROJECT_SOURCE_DIR}/tests/security-tests.sh
17     DESTINATION bin
18     PERMISSIONS OWNER_READ
19                 OWNER_WRITE
20                 OWNER_EXECUTE
21                 GROUP_READ
22                 GROUP_EXECUTE
23                 WORLD_READ
24                 WORLD_EXECUTE
25     )
26
27 INSTALL(FILES ${PROJECT_SOURCE_DIR}/tests/security-tests-all.sh
28     DESTINATION bin
29     PERMISSIONS OWNER_READ
30                 OWNER_WRITE
31                 OWNER_EXECUTE
32                 GROUP_READ
33                 GROUP_EXECUTE
34                 WORLD_READ
35                 WORLD_EXECUTE
36     )
37
38 INSTALL(FILES
39     ${PROJECT_SOURCE_DIR}/tests/test-performance-check.sh
40     ${PROJECT_SOURCE_DIR}/tests/perf
41     DESTINATION bin
42     PERMISSIONS OWNER_READ
43                 OWNER_WRITE
44                 OWNER_EXECUTE
45                 GROUP_READ
46                 GROUP_EXECUTE
47                 WORLD_READ
48                 WORLD_EXECUTE
49     )
50
51 ADD_SUBDIRECTORY(libprivilege-control-tests)
52 ADD_SUBDIRECTORY(libsmack-tests)
53 ADD_SUBDIRECTORY(security-server-tests)
54 ADD_SUBDIRECTORY(security-server-client)