W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > August 2005

sparql/detailed.tests#t1001 fails during first run

From: EspeonEefi <eefi@MIT.EDU>
Date: Wed, 10 Aug 2005 20:25:08 -0400
To: public-cwm-bugs@w3.org
Message-Id: <1123719908.9294.37.camel@localhost.localdomain>
In a clean CVS checkout, .../swap/sparql/sparql_tokens_table.py does not
exist. However, when you run make in the .../swap/test directory without
having that exist (letting the first run of the SPARQL code generate
that for you), the following diff results:

######### Differences from reference output:
--- sparql/query1_result.rl     2005-08-10 12:43:35.934715355 -0400
+++ ,temp/detailed.tests_t1001.out      2005-08-10 20:17:04.795214753
-0400
@@ -22,7 +22,7 @@
                 <literal
datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">&#60;p
xmlns="http://www.w3.org/1999/xhtml"&#62;My name is
&#60;em&#62;Alice&#60;/em&#62;&#60;/p&#62;</literal>
             </binding>
             <binding name="friend">
-                <bnode>http://example.com/swap/test/run#_g64</bnode>
+                <bnode>http://example.com/swap/test/run#_g67</bnode>
             </binding>
             <binding name="hpage">
                 <uri>http://work.example.org/alice/</uri>
@@ -34,7 +34,7 @@
                 <literal>Alice</literal>
             </binding>
             <binding name="x">
-                <bnode>http://example.com/swap/test/run#_g63</bnode>
+                <bnode>http://example.com/swap/test/run#_g66</bnode>
             </binding>
         </result>
         <result>
@@ -45,7 +45,7 @@
                 <unbound/>
             </binding>
             <binding name="friend">
-                <bnode>http://example.com/swap/test/run#_g63</bnode>
+                <bnode>http://example.com/swap/test/run#_g66</bnode>
             </binding>
             <binding name="hpage">
                 <uri>http://work.example.org/bob/</uri>
@@ -57,7 +57,7 @@
                 <literal xml:lang="en">Bob</literal>
             </binding>
             <binding name="x">
-                <bnode>http://example.com/swap/test/run#_g64</bnode>
+                <bnode>http://example.com/swap/test/run#_g67</bnode>
             </binding>
         </result>
     </results>

######### from normal case detailed.tests_t1001.out: cwm -n3
sparql/sparql_builtin1.n3 --think --strings

Upon subsequent runs of the test suite,
since ../swap/sparql/sparql_tokens_table.py has been generated by the
first (failed) run, the numbering of the blank nodes returns to how it
was when the reference output was made.

-- eefi

Received on Thursday, 11 August 2005 00:29:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:59 GMT