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
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2012-04-11 13:45:56 +0000
3+++ CMakeLists.txt 2012-04-30 10:00:25 +0000
4@@ -22,28 +22,32 @@
5 # The util-jvm tool finds Java and JNI, so all standard cached JAVA_
6 # variables will be set. util-jvm also caches Java_FOUND and JNI_FOUND
7 # for us.
8-FIND_PACKAGE (zorba_util-jvm_module REQUIRED)
9-
10-IF (JNI_FOUND)
11- INCLUDE_DIRECTORIES (${zorba_util-jvm_module_INCLUDE_DIRS})
12-
13- ENABLE_TESTING ()
14- INCLUDE (CTest)
15-
16- SET_CMAKE_MODULE_PATH ()
17-
18- FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")
19- INCLUDE ("${Zorba_USE_FILE}")
20-
21- ADD_SUBDIRECTORY ("src")
22- #ADD_TEST_DIRECTORY ("${CMAKE_SOURCE_DIR}/test")
23-
24- DONE_DECLARING_ZORBA_URIS ()
25-
26-ELSE (JNI_FOUND)
27- MESSAGE ( STATUS "Java and/or JNI not found; skipping data-formating module.")
28-ENDIF(JNI_FOUND)
29-
30+FIND_PACKAGE (zorba_util-jvm_module QUIET)
31+
32+IF (zorba_util-jvm_module_FOUND)
33+ IF (JNI_FOUND)
34+ INCLUDE_DIRECTORIES (${zorba_util-jvm_module_INCLUDE_DIRS})
35+
36+ ENABLE_TESTING ()
37+ INCLUDE (CTest)
38+
39+ SET_CMAKE_MODULE_PATH ()
40+
41+ FIND_PACKAGE (Zorba REQUIRED HINTS "${ZORBA_BUILD_DIR}")
42+ INCLUDE ("${Zorba_USE_FILE}")
43+
44+ ADD_SUBDIRECTORY ("src")
45+ #ADD_TEST_DIRECTORY ("${CMAKE_SOURCE_DIR}/test")
46+
47+ DONE_DECLARING_ZORBA_URIS ()
48+
49+ ELSE (JNI_FOUND)
50+ MESSAGE ( STATUS "Java and/or JNI not found; skipping data-formating module.")
51+ ENDIF(JNI_FOUND)
52+
53+ELSE (zorba_util-jvm_module_FOUND)
54+ MESSAGE (STATUS "Zorba's util-jvm module not found; skipping data-formatting module.")
55+ENDIF (zorba_util-jvm_module_FOUND)
56
57
58 MESSAGE (STATUS "******** END Configuring module Data-Formatting ********")

Subscribers

People subscribed via source and target branches

to all changes: