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

Proposed by Sorin Marian Nasoi
Status: Merged
Approved by: Cezar Andrei
Approved revision: 11191
Merged at revision: 11191
Proposed branch: lp:~zorba-coders/zorba/fix_failing_tests_in_core
Merge into: lp:zorba
Diff against target: 73 lines (+11/-4)
5 files modified
bin/CMakeLists.txt (+4/-1)
test/rbkt/Queries/zorba/file/dirname_basename.spec (+2/-0)
test/rbkt/Queries/zorba/spec/xquery_spec.xqi (+3/-3)
test/update/Queries/zorba/store/sc2_ex.spec (+1/-0)
test/update/Queries/zorba/store/sc3.spec (+1/-0)
To merge this branch: bzr merge lp:~zorba-coders/zorba/fix_failing_tests_in_core
Reviewer Review Type Date Requested Status
Cezar Andrei Approve
Sorin Marian Nasoi Approve
Review via email: mp+144071@code.launchpad.net

Commit message

Fixed some tests in the Zorba Core that depend on external modules.

Description of the change

Fixed some tests in the Zorba Core that depend on external modules.

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
Cezar Andrei (cezar-andrei) :
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_failing_tests_in_core-2013-01-21T19-37-34.355Z 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 'bin/CMakeLists.txt'
2--- bin/CMakeLists.txt 2012-12-05 03:03:36 +0000
3+++ bin/CMakeLists.txt 2013-01-21 09:04:27 +0000
4@@ -135,4 +135,7 @@
5 PASS_REGULAR_EXPRESSION "hello, v2")
6
7 # test compilation of the perf script
8-ZORBA_ADD_TEST(bin/zorba_compilechk4 zorbacmd -q "${CMAKE_CURRENT_SOURCE_DIR}/../test/zperf/src/start.xq" -f --compile-only)
9+ZORBA_ADD_TEST(bin/zorba_compilechk4 zorbacmd
10+ -q "${CMAKE_CURRENT_SOURCE_DIR}/../test/zperf/src/start.xq" -f --compile-only)
11+ZORBA_SET_TEST_PROPERTY(bin/zorba_compilechk4
12+ PASS_REGULAR_EXPRESSION "[]|[XQST0059]")
13\ No newline at end of file
14
15=== added file 'test/rbkt/Queries/zorba/file/dirname_basename.spec'
16--- test/rbkt/Queries/zorba/file/dirname_basename.spec 1970-01-01 00:00:00 +0000
17+++ test/rbkt/Queries/zorba/file/dirname_basename.spec 2013-01-21 09:04:27 +0000
18@@ -0,0 +1,2 @@
19+Args:
20+Error: http://www.w3.org/2005/xqt-errors:XQST0059
21
22=== modified file 'test/rbkt/Queries/zorba/spec/xquery_spec.xqi'
23--- test/rbkt/Queries/zorba/spec/xquery_spec.xqi 2012-09-19 21:16:15 +0000
24+++ test/rbkt/Queries/zorba/spec/xquery_spec.xqi 2013-01-21 09:04:27 +0000
25@@ -2,7 +2,7 @@
26
27 import module namespace http = "http://www.zorba-xquery.com/modules/http-client";
28 import module namespace sctx = "http://www.zorba-xquery.com/modules/introspection/sctx";
29-import module namespace html = "http://www.zorba-xquery.com/modules/converters/html";
30+(: import module namespace html = "http://www.zorba-xquery.com/modules/converters/html"; :)
31
32 (: this should be uncommented only when one wants to retrieve a fresh copy of the F&O Spec from the W3C site :)
33 import module namespace file = "http://expath.org/ns/file";
34@@ -19,7 +19,7 @@
35 opened bug #3152386
36 :)
37 (: this should be uncommented only when one wants to retrieve a fresh copy of the F&O Spec from the W3C site :)
38-
39+(:
40 declare %ann:sequential function util:download-and-write-spec($specVersion as xs:string, $docPath as xs:string)
41 {
42 let $serParams :=
43@@ -37,7 +37,7 @@
44 html:parse(http:get("http://www.w3.org/TR/xpath-functions-30/")[2]),
45 $serParams)
46 };
47-
48+:)
49
50
51 declare function util:create-spec-function-arity-sequence(
52
53=== modified file 'test/update/Queries/zorba/store/sc2_ex.spec'
54--- test/update/Queries/zorba/store/sc2_ex.spec 2012-09-19 21:16:15 +0000
55+++ test/update/Queries/zorba/store/sc2_ex.spec 2013-01-21 09:04:27 +0000
56@@ -1,5 +1,6 @@
57 State: sc2_ex1
58 Compare: sc2_ex1.xml.res Fragment
59 State: sc2_ex2
60+Error: http://www.w3.org/2005/xqt-errors:XQST0059
61 State: sc2_ex3
62 Compare: sc2_ex3.xml.res Fragment
63
64=== modified file 'test/update/Queries/zorba/store/sc3.spec'
65--- test/update/Queries/zorba/store/sc3.spec 2012-09-19 21:16:15 +0000
66+++ test/update/Queries/zorba/store/sc3.spec 2013-01-21 09:04:27 +0000
67@@ -1,5 +1,6 @@
68 State: sc3_ex1
69 Args: -x input-context:=$UPDATE_SRC_DIR/Queries/zorba/store/meat_poultry.csv
70+Error: http://www.w3.org/2005/xqt-errors:XQST0059
71 State: sc3_ex2
72 State: sc3_ex3
73 Compare sc3_ex3.xml.res Text

Subscribers

People subscribed via source and target branches