tizen 2.3 release
[framework/web/wearable/wrt-security.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 ADD_SUBDIRECTORY(security_daemon_tests)
17 ADD_SUBDIRECTORY(ace)
18 ADD_SUBDIRECTORY(ace_client)
19 ADD_SUBDIRECTORY(ace_install)
20 ADD_SUBDIRECTORY(ace_settings)
21 ADD_SUBDIRECTORY(geolocation_security)
22 ADD_SUBDIRECTORY(smack_security)
23
24 INSTALL(FILES ${PROJECT_SOURCE_DIR}/tests/wrt-tests-security-all.sh
25     DESTINATION bin
26     PERMISSIONS OWNER_READ
27                 OWNER_WRITE
28                 OWNER_EXECUTE
29                 GROUP_READ
30                 GROUP_EXECUTE
31                 WORLD_READ
32                 WORLD_EXECUTE
33     )
34
35 INSTALL(FILES ${PROJECT_SOURCE_DIR}/tests/security-tests.sh
36     DESTINATION bin
37     PERMISSIONS OWNER_READ
38                 OWNER_WRITE
39                 OWNER_EXECUTE
40                 GROUP_READ
41                 GROUP_EXECUTE
42                 WORLD_READ
43                 WORLD_EXECUTE
44     )