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

Proposed by Sorin Marian Nasoi
Status: Superseded
Proposed branch: lp:~zorba-coders/zorba/bug_897619
Merge into: lp:zorba
Diff against target: 43 lines (+6/-1)
2 files modified
ChangeLog (+1/-0)
test/rbkt/testdriver_mt.cpp (+5/-1)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug_897619
Reviewer Review Type Date Requested Status
Markos Zaharioudakis Approve
Sorin Marian Nasoi Approve
Review via email: mp+83755@code.launchpad.net

Commit message

Fix for bug #897619.

Description of the change

Fix for bug #897619.

To post a comment you must log in.
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Approved.

review: Approve
lp:~zorba-coders/zorba/bug_897619 updated
10559. By Sorin Marian Nasoi

Updated the Changelog.

Revision history for this message
Markos Zaharioudakis (markos-za) :
review: Approve

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog'
2--- ChangeLog 2011-11-23 22:25:05 +0000
3+++ ChangeLog 2011-11-29 11:22:26 +0000
4@@ -72,6 +72,7 @@
5 * Fixed bug #862089 (Split binary/xq install directories for modules) by
6 splitting "module path" into separate URI and Library paths
7 * Fixed bug #872502 (validation of the JSON module xqdoc fails)
8+ * Fixed bug #897619 (testdriver_mt can not run the XQueryX tests)
9 * Fixed bug #867107 (xqdoc dependency to zorba is wrong)
10
11 version 2.0.3
12
13=== modified file 'test/rbkt/testdriver_mt.cpp'
14--- test/rbkt/testdriver_mt.cpp 2011-10-25 08:59:34 +0000
15+++ test/rbkt/testdriver_mt.cpp 2011-11-29 11:22:26 +0000
16@@ -732,6 +732,7 @@
17 std::string reportFilepath;
18 std::string XMLreportFilepath;
19 std::string knownFailuresFilepath;
20+ std::string testExtension = ".xq";
21 bool haveKnownFailures = false;
22 bool quiet = false;
23 bool generateW3CData = false;
24@@ -860,7 +861,10 @@
25 {
26 ulong pos;
27 if ((pos = refsDir.find("XQueryX")) != std::string::npos)
28+ {
29 refsDir = refsDir.erase(pos, 8);
30+ testExtension = ".xqx";
31+ }
32 else if ((pos = refsDir.find("XQuery")) != std::string::npos)
33 refsDir = refsDir.erase(pos, 7);
34 }
35@@ -924,7 +928,7 @@
36 continue;
37 }
38
39- if (fs::extension(queryPath) != ".xq")
40+ if (fs::extension(queryPath) != testExtension)
41 {
42 //std::cerr << "Found no-query file " << queryPath.string() << std::endl;
43 continue;

Subscribers

People subscribed via source and target branches