Add summary view to all security tests.
[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 ${PROJECT_SOURCE_DIR}/tests/tests-summary.sh
39     DESTINATION bin
40     PERMISSIONS OWNER_READ
41                 OWNER_WRITE
42                 OWNER_EXECUTE
43                 GROUP_READ
44                 GROUP_EXECUTE
45                 WORLD_READ
46                 WORLD_EXECUTE
47     )
48
49 INSTALL(FILES
50     ${PROJECT_SOURCE_DIR}/tests/test-performance-check.sh
51     ${PROJECT_SOURCE_DIR}/tests/perf
52     DESTINATION bin
53     PERMISSIONS OWNER_READ
54                 OWNER_WRITE
55                 OWNER_EXECUTE
56                 GROUP_READ
57                 GROUP_EXECUTE
58                 WORLD_READ
59                 WORLD_EXECUTE
60     )
61
62 ADD_SUBDIRECTORY(common)
63 ADD_SUBDIRECTORY(libprivilege-control-tests)
64 ADD_SUBDIRECTORY(libsmack-tests)
65 ADD_SUBDIRECTORY(security-server-tests)