From 53596abcba8aebe2e68ebf429cf0fa3623525b1d Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sun, 5 Nov 2023 18:08:09 -0800 Subject: [PATCH] Update test suite locations. --- Rakefile | 2 +- spec/.gitignore | 4 ++-- spec/suite_helper.rb | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Rakefile b/Rakefile index f4d0db57..6bc34517 100755 --- a/Rakefile +++ b/Rakefile @@ -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) diff --git a/spec/.gitignore b/spec/.gitignore index 33c210ab..133fea8e 100644 --- a/spec/.gitignore +++ b/spec/.gitignore @@ -1,2 +1,2 @@ -/w3c-rdf-star -/w3c-rdf-tests +/rdf-star-cg +/rdf-tests diff --git a/spec/suite_helper.rb b/spec/suite_helper.rb index 94128c6f..52cb86d4 100644 --- a/spec/suite_helper.rb +++ b/spec/suite_helper.rb @@ -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/" @@ -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