Merge lp:~zorba-coders/zorba/partial_fix_bug_1167641 into lp:zorba

Proposed by Sorin Marian Nasoi
Status: Merged
Merged at revision: 11596
Proposed branch: lp:~zorba-coders/zorba/partial_fix_bug_1167641
Merge into: lp:zorba
Diff against target: 68 lines (+14/-6)
3 files modified
test/fots/CMakeLists.txt (+1/-0)
test/fots_driver/environment.xq (+10/-5)
test/fots_driver/fots-driver.xq (+3/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/partial_fix_bug_1167641
Reviewer Review Type Date Requested Status
Chris Hillery Approve
Sorin Marian Nasoi Approve
Review via email: mp+179741@code.launchpad.net

Commit message

Re-added changes that were wrongfully reverted in r11402.1.5.

To post a comment you must log in.
11596. By sorin.marian.nasoi <email address hidden>

Re-added changes that were wrongfully reverted in r11402.1.5.

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

Validation queue result for https://code.launchpad.net/~zorba-coders/zorba/partial_fix_bug_1167641/+merge/179741

Stage "TestZorbaUbuntu" failed.
1 tests failed (8402 total tests run).

Check test results at http://jenkins.lambda.nu/job/TestZorbaUbuntu/209/testReport/ to view the results.

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

Voting criteria failed for the following merge proposals:

https://code.launchpad.net/~zorba-coders/zorba/partial_fix_bug_1167641/+merge/179741 :
Votes: {'Pending': 1}

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

Validation queue result for https://code.launchpad.net/~zorba-coders/zorba/partial_fix_bug_1167641/+merge/179741

Stage "CommitZorba" failed.

Check console output at http://jenkins.lambda.nu/job/CommitZorba/120/console to view the results.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) :
review: Approve
Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue result for https://code.launchpad.net/%7Ezorba-coders/zorba/partial_fix_bug_1167641/+merge/179741

Stage "ZorbaVQ" failed.

Check console output at http://jenkins.lambda.nu/job/ZorbaVQ/276/console to view the results.

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

Validation queue succeeded - proposal merged!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'test/fots/CMakeLists.txt'
--- test/fots/CMakeLists.txt 2013-08-05 20:13:56 +0000
+++ test/fots/CMakeLists.txt 2013-08-12 16:49:39 +0000
@@ -141,6 +141,7 @@
141141
142EXPECTED_FOTS_FAILURE (fn-fold-left fold-left-009 1187685)142EXPECTED_FOTS_FAILURE (fn-fold-left fold-left-009 1187685)
143EXPECTED_FOTS_FAILURE (fn-for-each-pair fn-for-each-pair-026 1187685)143EXPECTED_FOTS_FAILURE (fn-for-each-pair fn-for-each-pair-026 1187685)
144EXPECTED_FOTS_FAILURE (fn-format-number numberformat20 1167641)
144EXPECTED_FOTS_FAILURE (fn-format-number numberformat60a 1167609)145EXPECTED_FOTS_FAILURE (fn-format-number numberformat60a 1167609)
145EXPECTED_FOTS_FAILURE (fn-format-number numberformat60m 1167609)146EXPECTED_FOTS_FAILURE (fn-format-number numberformat60m 1167609)
146EXPECTED_FOTS_FAILURE (fn-format-number numberformat60o 1167609)147EXPECTED_FOTS_FAILURE (fn-format-number numberformat60o 1167609)
147148
=== modified file 'test/fots_driver/environment.xq'
--- test/fots_driver/environment.xq 2013-08-09 08:27:30 +0000
+++ test/fots_driver/environment.xq 2013-08-12 16:49:39 +0000
@@ -181,10 +181,12 @@
181 : to a test-case query.181 : to a test-case query.
182 :182 :
183 : @param $decimal-formats decimal formats.183 : @param $decimal-formats decimal formats.
184 : @param $namespaces the declared environment namespaces.
184 : @return the decimal formats declarations.185 : @return the decimal formats declarations.
185 :)186 :)
186declare function env:decl-decimal-formats(187declare function env:decl-decimal-formats(
187 $decimal-formats as element(fots:decimal-format)*188 $decimal-formats as element(fots:decimal-format)*,
189 $namespaces as element(fots:namespace)*
188) as xs:string*190) as xs:string*
189{191{
190 if (empty($decimal-formats))192 if (empty($decimal-formats))
@@ -194,9 +196,10 @@
194 let $default := if ($tmp/@name)196 let $default := if ($tmp/@name)
195 then ()197 then ()
196 else "default"198 else "default"
197 let $name := if ($tmp/@name)199 let $name := xs:string($tmp/@name)
198 then data($tmp/@name)200 let $eqName := fn:resolve-QName(xs:string($tmp/@name), $tmp)
199 else ()201 let $prefix := fn:prefix-from-QName($eqName)
202 let $namespace := $namespaces/following-sibling::*[@uri=fn:namespace-uri-from-QName($eqName)]
200 return203 return
201 string-join204 string-join
202 (205 (
@@ -204,7 +207,9 @@
204 "declare",207 "declare",
205 $default,208 $default,
206 "decimal-format",209 "decimal-format",
207 $name,210 if(exists($prefix) and empty($namespace))
211 then concat("%Q{", namespace-uri-from-QName($eqName), "}", local-name-from-QName($eqName))
212 else $name,
208 env:set-properties($tmp),213 env:set-properties($tmp),
209 ";"214 ";"
210 ),215 ),
211216
=== modified file 'test/fots_driver/fots-driver.xq'
--- test/fots_driver/fots-driver.xq 2013-08-09 08:27:30 +0000
+++ test/fots_driver/fots-driver.xq 2013-08-12 16:49:39 +0000
@@ -875,7 +875,9 @@
875 env:decl-namespaces($env, $envCase, $test),875 env:decl-namespaces($env, $envCase, $test),
876876
877 env:decl-decimal-formats(($env/fots:decimal-format,877 env:decl-decimal-formats(($env/fots:decimal-format,
878 $envCase/fots:decimal-format)),878 $envCase/fots:decimal-format),
879 ($env/fots:namespace,
880 $envCase/fots:namespace)),
879881
880 env:add-var-decl($env, $envCase, $envBaseURI, $testSetURI),882 env:add-var-decl($env, $envCase, $envBaseURI, $testSetURI),
881883

Subscribers

People subscribed via source and target branches