Skip to content

Commit

Permalink
Update test suite locations.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Nov 6, 2023
1 parent ca8083b commit 53596ab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -31,7 +31,7 @@ namespace :spec do
desc "Generate test caches"
task :prepare do
$:.unshift(File.join(File.dirname(__FILE__), 'spec'))
require 'dawg_helper'
require 'suite_helper'

puts "load 1.0 tests"
SPARQL::Spec.sparql1_0_tests(true)
Expand Down
4 changes: 2 additions & 2 deletions spec/.gitignore
@@ -1,2 +1,2 @@
/w3c-rdf-star
/w3c-rdf-tests
/rdf-star-cg
/rdf-tests
8 changes: 4 additions & 4 deletions spec/suite_helper.rb
Expand Up @@ -10,9 +10,9 @@
module RDF::Util
module File
REMOTE_PATH = "http://w3c.github.io/rdf-tests/sparql/"
LOCAL_PATH = ::File.expand_path("../w3c-rdf-tests/sparql/", __FILE__) + '/'
REMOTE_PATH_STAR = "https://w3c.github.io/rdf-star/"
LOCAL_PATH_STAR = ::File.expand_path("../w3c-rdf-star/", __FILE__) + '/'
LOCAL_PATH = ::File.expand_path("../rdf-tests/sparql/", __FILE__) + '/'
REMOTE_PATH_STAR = "https://w3c.github.io/rdf-star-cg/"
LOCAL_PATH_STAR = ::File.expand_path("../rdf-star-cg/", __FILE__) + '/'
REMOTE_PATH_12 = "https://w3c.github.io/sparql-12/"
LOCAL_PATH_12 = ::File.expand_path("../w3c-sparql-12/", __FILE__) + '/'
REMOTE_PATH_PROTO = "http://kasei.us/2009/09/sparql/data/"
Expand Down Expand Up @@ -259,7 +259,7 @@ def self.sparql1_1_tests

def self.sparql_star_tests
%w(syntax/manifest eval/manifest).map do |man|
"https://w3c.github.io/rdf-star/tests/sparql/#{man}.jsonld"
"https://w3c.github.io/rdf-star-cg/tests/sparql/#{man}.jsonld"
end
end

Expand Down

0 comments on commit 53596ab

Please sign in to comment.