summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-07-10 14:02:08 +0000
committerTom Hacohen <tom@stosb.com>2012-07-10 14:02:08 +0000
commit5e68a8aa43af417ebac2dd7225efe16f3e9bdeb9 (patch)
tree446576666f49ae5d4d7e243a88958fe4814a56d6 /legacy/eobj
parentd19b9400999dee4af8e58818f8ff7192c399271c (diff)
Eo: Properly handle tests and their deps in the build system.
SVN revision: 73533
Diffstat (limited to 'legacy/eobj')
-rw-r--r--legacy/eobj/CMakeLists.txt14
-rw-r--r--legacy/eobj/src/tests/access/CMakeLists.txt3
-rw-r--r--legacy/eobj/src/tests/composite_objects/CMakeLists.txt3
-rw-r--r--legacy/eobj/src/tests/constructors/CMakeLists.txt3
-rw-r--r--legacy/eobj/src/tests/eo_suite/CMakeLists.txt1
-rw-r--r--legacy/eobj/src/tests/function_overrides/CMakeLists.txt3
-rw-r--r--legacy/eobj/src/tests/interface/CMakeLists.txt3
-rw-r--r--legacy/eobj/src/tests/mixin/CMakeLists.txt3
-rw-r--r--legacy/eobj/src/tests/signals/CMakeLists.txt3
9 files changed, 17 insertions, 19 deletions
diff --git a/legacy/eobj/CMakeLists.txt b/legacy/eobj/CMakeLists.txt
index c91b1bc7e7..a466c6485e 100644
--- a/legacy/eobj/CMakeLists.txt
+++ b/legacy/eobj/CMakeLists.txt
@@ -39,19 +39,9 @@ configure_file (
39include(EFLCheck) 39include(EFLCheck)
40 40
41add_subdirectory(src/lib) 41add_subdirectory(src/lib)
42add_subdirectory(src/examples/evas)
43add_subdirectory(src/examples/simple)
44add_subdirectory(src/examples/eo_isa)
45 42
46add_subdirectory(src/tests/mixin) 43add_subdirectory(src/tests EXCLUDE_FROM_ALL)
47add_subdirectory(src/tests/signals) 44add_subdirectory(src/examples)
48add_subdirectory(src/tests/access)
49add_subdirectory(src/tests/constructors)
50add_subdirectory(src/tests/function_overrides)
51add_subdirectory(src/tests/composite_objects)
52add_subdirectory(src/tests/interface)
53
54add_subdirectory(src/tests/eo_suite EXCLUDE_FROM_ALL)
55 45
56add_subdirectory(doc) 46add_subdirectory(doc)
57 47
diff --git a/legacy/eobj/src/tests/access/CMakeLists.txt b/legacy/eobj/src/tests/access/CMakeLists.txt
index dbbd162a93..f278c0aa56 100644
--- a/legacy/eobj/src/tests/access/CMakeLists.txt
+++ b/legacy/eobj/src/tests/access/CMakeLists.txt
@@ -20,5 +20,6 @@ target_link_libraries(access
20 ) 20 )
21 21
22add_dependencies(access eo) 22add_dependencies(access eo)
23add_dependencies(check access)
23 24
24add_test(Example_access access) 25add_test(Test_access access)
diff --git a/legacy/eobj/src/tests/composite_objects/CMakeLists.txt b/legacy/eobj/src/tests/composite_objects/CMakeLists.txt
index ee402c61bd..4da176b03b 100644
--- a/legacy/eobj/src/tests/composite_objects/CMakeLists.txt
+++ b/legacy/eobj/src/tests/composite_objects/CMakeLists.txt
@@ -20,5 +20,6 @@ target_link_libraries(composite_objects
20 ) 20 )
21 21
22add_dependencies(composite_objects eo) 22add_dependencies(composite_objects eo)
23add_dependencies(check composite_objects)
23 24
24add_test(Example_composite_objects composite_objects) 25add_test(Test_composite_objects composite_objects)
diff --git a/legacy/eobj/src/tests/constructors/CMakeLists.txt b/legacy/eobj/src/tests/constructors/CMakeLists.txt
index 09dc10f500..73f5be5a11 100644
--- a/legacy/eobj/src/tests/constructors/CMakeLists.txt
+++ b/legacy/eobj/src/tests/constructors/CMakeLists.txt
@@ -26,5 +26,6 @@ target_link_libraries(constructors
26 ) 26 )
27 27
28add_dependencies(constructors eo) 28add_dependencies(constructors eo)
29add_dependencies(check constructors)
29 30
30add_test(Example_constructors constructors) 31add_test(Test_constructors constructors)
diff --git a/legacy/eobj/src/tests/eo_suite/CMakeLists.txt b/legacy/eobj/src/tests/eo_suite/CMakeLists.txt
index 8612cfcaec..6240ba0248 100644
--- a/legacy/eobj/src/tests/eo_suite/CMakeLists.txt
+++ b/legacy/eobj/src/tests/eo_suite/CMakeLists.txt
@@ -25,5 +25,6 @@ if (CHECK_ENABLED)
25 ) 25 )
26 26
27 add_test(eo_suite eo_suite) 27 add_test(eo_suite eo_suite)
28 add_dependencies(eo_suite eo)
28 add_dependencies(check eo_suite) 29 add_dependencies(check eo_suite)
29endif (CHECK_ENABLED) 30endif (CHECK_ENABLED)
diff --git a/legacy/eobj/src/tests/function_overrides/CMakeLists.txt b/legacy/eobj/src/tests/function_overrides/CMakeLists.txt
index 3faa077f3d..fe2cdbbbc2 100644
--- a/legacy/eobj/src/tests/function_overrides/CMakeLists.txt
+++ b/legacy/eobj/src/tests/function_overrides/CMakeLists.txt
@@ -22,5 +22,6 @@ target_link_libraries(function_overrides
22 ) 22 )
23 23
24add_dependencies(function_overrides eo) 24add_dependencies(function_overrides eo)
25add_dependencies(check function_overrides)
25 26
26add_test(Example_function_overrides function_overrides) 27add_test(Test_function_overrides function_overrides)
diff --git a/legacy/eobj/src/tests/interface/CMakeLists.txt b/legacy/eobj/src/tests/interface/CMakeLists.txt
index 562ecbdfe5..fcae22e621 100644
--- a/legacy/eobj/src/tests/interface/CMakeLists.txt
+++ b/legacy/eobj/src/tests/interface/CMakeLists.txt
@@ -21,5 +21,6 @@ target_link_libraries(interface
21 ) 21 )
22 22
23add_dependencies(interface eo) 23add_dependencies(interface eo)
24add_dependencies(check interface)
24 25
25add_test(Example_interface interface) 26add_test(Test_interface interface)
diff --git a/legacy/eobj/src/tests/mixin/CMakeLists.txt b/legacy/eobj/src/tests/mixin/CMakeLists.txt
index 8953f1d3a7..557cbd301a 100644
--- a/legacy/eobj/src/tests/mixin/CMakeLists.txt
+++ b/legacy/eobj/src/tests/mixin/CMakeLists.txt
@@ -22,5 +22,6 @@ target_link_libraries(mixin
22 ) 22 )
23 23
24add_dependencies(mixin eo) 24add_dependencies(mixin eo)
25add_dependencies(check mixin)
25 26
26add_test(Example_mixin mixin) 27add_test(Test_mixin mixin)
diff --git a/legacy/eobj/src/tests/signals/CMakeLists.txt b/legacy/eobj/src/tests/signals/CMakeLists.txt
index 6fa155f54f..ad0d1f5255 100644
--- a/legacy/eobj/src/tests/signals/CMakeLists.txt
+++ b/legacy/eobj/src/tests/signals/CMakeLists.txt
@@ -19,5 +19,6 @@ target_link_libraries(signals
19 ) 19 )
20 20
21add_dependencies(signals eo) 21add_dependencies(signals eo)
22add_dependencies(check signals)
22 23
23add_test(Example_signals signals) 24add_test(Test_signals signals)