sparql/detailed.tests#t1001 fails during first run

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 UTC