Merge lp:~zorba-coders/zorba/bug-990587-data-formatting into lp:zorba/data-formatting-module

Proposed by Chris Hillery
Status: Merged
Approved by: Chris Hillery
Approved revision: 33
Merged at revision: 33
Proposed branch: lp:~zorba-coders/zorba/bug-990587-data-formatting
Merge into: lp:zorba/data-formatting-module
Diff against target: 58 lines (+26/-22)
1 file modified
CMakeLists.txt (+26/-22)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug-990587-data-formatting
Reviewer Review Type Date Requested Status
Nicolae Brinza Approve
Chris Hillery Approve
Review via email: mp+104077@code.launchpad.net

Commit message

Report gracefully if util-jvm module is not found.

To post a comment you must log in.
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug-990587-data-formatting-2012-04-30T10-02-42.29Z is finished. The final status was:

All tests succeeded!

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1. Got: 1 Approve, 1 Pending.

Revision history for this message
Nicolae Brinza (nbrinza) wrote :

Tested it and it works.

review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-990587-data-formatting into lp:zorba/data-formatting-module failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 (message):
  Validation queue job bug-990587-data-formatting-2012-04-30T16-03-35.505Z is
  finished. The final status was:

  2 tests did not succeed - changes not commited.

Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug-990587-data-formatting-2012-05-01T00-21-37.286Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2012-04-11 13:45:56 +0000
+++ CMakeLists.txt 2012-04-30 10:00:25 +0000
@@ -22,28 +22,32 @@
22# The util-jvm tool finds Java and JNI, so all standard cached JAVA_22# The util-jvm tool finds Java and JNI, so all standard cached JAVA_
23# variables will be set. util-jvm also caches Java_FOUND and JNI_FOUND23# variables will be set. util-jvm also caches Java_FOUND and JNI_FOUND
24# for us.24# for us.
25FIND_PACKAGE (zorba_util-jvm_module REQUIRED)25FIND_PACKAGE (zorba_util-jvm_module QUIET)
2626
27IF (JNI_FOUND)27IF (zorba_util-jvm_module_FOUND)
28 INCLUDE_DIRECTORIES (${zorba_util-jvm_module_INCLUDE_DIRS})28 IF (JNI_FOUND)
29 29 INCLUDE_DIRECTORIES (${zorba_util-jvm_module_INCLUDE_DIRS})
30 ENABLE_TESTING ()30
31 INCLUDE (CTest)31 ENABLE_TESTING ()
3232 INCLUDE (CTest)
33 SET_CMAKE_MODULE_PATH ()33
3434 SET_CMAKE_MODULE_PATH ()
35 FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")35
36 INCLUDE ("${Zorba_USE_FILE}")36 FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")
3737 INCLUDE ("${Zorba_USE_FILE}")
38 ADD_SUBDIRECTORY ("src")38
39 #ADD_TEST_DIRECTORY ("${CMAKE_SOURCE_DIR}/test")39 ADD_SUBDIRECTORY ("src")
4040 #ADD_TEST_DIRECTORY ("${CMAKE_SOURCE_DIR}/test")
41 DONE_DECLARING_ZORBA_URIS ()41
4242 DONE_DECLARING_ZORBA_URIS ()
43ELSE (JNI_FOUND)43
44 MESSAGE ( STATUS "Java and/or JNI not found; skipping data-formating module.")44 ELSE (JNI_FOUND)
45ENDIF(JNI_FOUND)45 MESSAGE ( STATUS "Java and/or JNI not found; skipping data-formating module.")
4646 ENDIF(JNI_FOUND)
47
48ELSE (zorba_util-jvm_module_FOUND)
49 MESSAGE (STATUS "Zorba's util-jvm module not found; skipping data-formatting module.")
50ENDIF (zorba_util-jvm_module_FOUND)
4751
4852
49MESSAGE (STATUS "******** END Configuring module Data-Formatting ********")53MESSAGE (STATUS "******** END Configuring module Data-Formatting ********")

Subscribers

People subscribed via source and target branches

to all changes: