https://bugs.webkit.org/show_bug.cgi?id=87251
Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-02
Reviewed by Daniel Bates.
.:
Enable CTest on the root CMakeLists.txt as it is expected
to be here. This will create a new build target ("make test")
to run all the API unit tests.
* CMakeLists.txt:
Source/WebKit:
Add every test to the test runner build target.
* PlatformEfl.cmake:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121702
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ENDIF ()
# -----------------------------------------------------------------------------
+# Enable CTest for the public API unit testing
+# -----------------------------------------------------------------------------
+ENABLE_TESTING()
+
+# -----------------------------------------------------------------------------
# Default library type
# -----------------------------------------------------------------------------
SET(ENABLE_WEBCORE ON)
+2012-07-02 Thiago Marcos P. Santos <thiago.santos@intel.com>
+
+ [EFL][CMake] Integrate API unit tests with CTest
+ https://bugs.webkit.org/show_bug.cgi?id=87251
+
+ Reviewed by Daniel Bates.
+
+ Enable CTest on the root CMakeLists.txt as it is expected
+ to be here. This will create a new build target ("make test")
+ to run all the API unit tests.
+
+ * CMakeLists.txt:
+
2012-07-01 Christophe Dumez <christophe.dumez@intel.com>
[EFL] Add Gamepad support
+2012-07-02 Thiago Marcos P. Santos <thiago.santos@intel.com>
+
+ [EFL][CMake] Integrate API unit tests with CTest
+ https://bugs.webkit.org/show_bug.cgi?id=87251
+
+ Reviewed by Daniel Bates.
+
+ Add every test to the test runner build target.
+
+ * PlatformEfl.cmake:
+
2012-07-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
[EFL] Rename NotificationPresenterEfl with NotificationClientEfl
FOREACH(testName ${EWKUnitTests_BINARIES})
ADD_EXECUTABLE(${testName} ${WEBKIT_EFL_TEST_DIR}/${testName}.cpp ${WEBKIT_EFL_TEST_DIR}/test_runner.cpp)
+ ADD_TEST(${testName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${testName})
TARGET_LINK_LIBRARIES(${testName} ${EWKUnitTests_LIBRARIES} ewkTestUtils gtest pthread)
ADD_TARGET_PROPERTIES(${testName} LINK_FLAGS "${EWKUnitTests_LINK_FLAGS}")
SET_TARGET_PROPERTIES(${testName} PROPERTIES FOLDER "WebKit")