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

Proposed by Sorin Marian Nasoi
Status: Merged
Merged at revision: 11422
Proposed branch: lp:~zorba-coders/zorba/fix_bug_1172276
Merge into: lp:zorba
Diff against target: 73 lines (+14/-18)
2 files modified
test/fots/CMakeLists.txt (+7/-11)
test/fots_driver/evaluate.xq (+7/-7)
To merge this branch: bzr merge lp:~zorba-coders/zorba/fix_bug_1172276
Reviewer Review Type Date Requested Status
Chris Hillery Approve
Sorin Marian Nasoi Approve
Review via email: mp+161771@code.launchpad.net

Commit message

- fix for eval:serialization-matches that made some of the "prod-OptionDecl.serialization" failing test case to pass because the serialization params defined in the prolog are the same as the default ones in Zorba
- marked the rest of the failures as DISPUTED: please see W3C bug #21868
- removed EXPECTED_FOTS_FAILURE for "K2-Serialization-11"

To post a comment you must log in.
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) :
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/fix_bug_1172276 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:275 (message):
  Validation queue job fix_bug_1172276-2013-05-01T05-34-44.47Z is finished.
  The final status was:

  1 tests did not succeed - changes not commited.

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

Revision history for this message
Chris Hillery (ceejatec) wrote :

Why are there two new moduleImport failures?

review: Needs Information
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

> Why are there two new moduleImport failures?
Fixed: it was caused by an error in the merge with Zorba trunk.

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 fix_bug_1172276-2013-05-01T13-59-44.925Z 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 'test/fots/CMakeLists.txt'
2--- test/fots/CMakeLists.txt 2013-04-30 23:54:17 +0000
3+++ test/fots/CMakeLists.txt 2013-05-01 07:10:31 +0000
4@@ -151,6 +151,13 @@
5 EXPECTED_FOTS_FAILURE (DISPUTED prod-FunctionDecl function-decl-reserved-function-names-029 21568)
6 EXPECTED_FOTS_FAILURE (DISPUTED prod-FunctionDecl function-decl-reserved-function-names-031 21568)
7 EXPECTED_FOTS_FAILURE (DISPUTED prod-VarDefaultValue extvardef-006b 21832)
8+EXPECTED_FOTS_FAILURE (DISPUTED prod-OptionDecl.serialization Serialization-003 21868)
9+EXPECTED_FOTS_FAILURE (DISPUTED prod-OptionDecl.serialization Serialization-004 21868)
10+EXPECTED_FOTS_FAILURE (DISPUTED prod-OptionDecl.serialization Serialization-005 21868)
11+EXPECTED_FOTS_FAILURE (DISPUTED prod-OptionDecl.serialization Serialization-026 21868)
12+EXPECTED_FOTS_FAILURE (DISPUTED prod-OptionDecl.serialization Serialization-028 21868)
13+EXPECTED_FOTS_FAILURE (DISPUTED prod-OptionDecl.serialization Serialization-031 21868)
14+EXPECTED_FOTS_FAILURE (DISPUTED prod-OptionDecl.serialization Serialization-032 21868)
15
16 # Next three possibly unique to old RQ machine, but they need to be
17 # marked for the RQ to pass.
18@@ -252,7 +259,6 @@
19 EXPECTED_FOTS_FAILURE (misc-Serialization K2-Serialization-6 0)
20 EXPECTED_FOTS_FAILURE (misc-Serialization K2-Serialization-9 0)
21 EXPECTED_FOTS_FAILURE (misc-Serialization K2-Serialization-10 0)
22-EXPECTED_FOTS_FAILURE (misc-Serialization K2-Serialization-11 0)
23 EXPECTED_FOTS_FAILURE (misc-XMLEdition XML10-4ed-Excluded-char-1 0)
24 EXPECTED_FOTS_FAILURE (misc-XMLEdition XML11-1ed-Included-char-1 0)
25 EXPECTED_FOTS_FAILURE (prod-Annotation annotation-3 0)
26@@ -326,16 +332,6 @@
27 EXPECTED_FOTS_FAILURE (prod-ModuleImport modules-collide-var-001 0)
28 EXPECTED_FOTS_FAILURE (prod-ModuleImport modules-collide-fn-001 0)
29 EXPECTED_FOTS_FAILURE (prod-ModuleImport errata8-002a 0)
30-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-003 0)
31-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-004 0)
32-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-005 0)
33-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-026 0)
34-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-027 0)
35-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-028 0)
36-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-029 0)
37-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-030 0)
38-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-031 0)
39-EXPECTED_FOTS_FAILURE (prod-OptionDecl.serialization Serialization-032 0)
40 EXPECTED_FOTS_FAILURE (prod-OrderByClause orderBy40 0)
41 EXPECTED_FOTS_FAILURE (prod-OrderByClause orderBy41 0)
42 EXPECTED_FOTS_FAILURE (prod-OrderByClause orderBy49 0)
43
44=== modified file 'test/fots_driver/evaluate.xq'
45--- test/fots_driver/evaluate.xq 2013-04-17 19:10:37 +0000
46+++ test/fots_driver/evaluate.xq 2013-05-01 07:10:31 +0000
47@@ -548,19 +548,19 @@
48 ) as xs:string?
49 {
50 try {
51- let $serResult := fn:serialize($result, $util:serParamXml)
52- let $serExpResult := fn:serialize($expResult, $util:serParamXml)
53- let $matchesFlags := data($expResult/@flags)
54+ let $serResult := fn:serialize($result)
55+ let $regex := fn:string($expResult)
56+ let $flags := data($expResult/@flags)
57 return
58- if (exists($matchesFlags))
59+ if (exists($flags))
60 then
61- if (matches($serResult, $serExpResult, $matchesFlags))
62+ if (matches($serResult, $regex, $flags))
63 then ()
64 else concat("'serialization-matches' returned: result does not match expected result with flags '",
65- $matchesFlags,
66+ $flags,
67 "'.")
68 else
69- if (matches($serResult, $serExpResult))
70+ if (matches($serResult, $regex))
71 then ()
72 else "'serialization-matches' returned: result does not match expected result."
73 } catch * {

Subscribers

People subscribed via source and target branches