diff --git a/engines/engine-sparql-1-1-adjust/package.json b/engines/engine-sparql-1-1-adjust/package.json index 0829475..5ccae3e 100644 --- a/engines/engine-sparql-1-1-adjust/package.json +++ b/engines/engine-sparql-1-1-adjust/package.json @@ -33,11 +33,12 @@ "build:transpile": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --bundle --log-level=error --outfile=lib/index.cjs lib/index.ts", "build:transpile-spec": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --platform=node --bundle --log-level=error --outfile=spec/parser.cjs spec/parser.ts", "spec:base": "rdf-test-suite spec/parser.cjs http://w3c.github.io/rdf-tests/sparql/sparql11/manifest-all.ttl -c ../../.rdf-test-suite-cache/", + "spec:adjust-spec-tests": "rdf-test-suite spec/parser.cjs https://raw.githubusercontent.com/kasei/sparql-12/xsd_datetime_duration/tests/xsd_functions/manifest.ttl -c ../../.rdf-test-suite-cache/", "spec:query": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-query/", "spec:update": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-update/", "spec:earl:query": "yarn spec:query --silent -- -o earl -p spec/earl-meta.json > spec/earl-query.ttl", "spec:earl:update": "yarn spec:update --silent -- -o earl -p spec/earl-meta.json > spec/earl-update.ttl", - "spec:all": "yarn spec:base && yarn spec:query && yarn spec:update", + "spec:all": "yarn spec:base && yarn spec:query && yarn spec:update && yarn spec:adjust-spec-tests", "spec:earl": "yarn spec:earl:query && yarn spec:earl:update" }, "dependencies": { diff --git a/engines/engine-sparql-1-2/package.json b/engines/engine-sparql-1-2/package.json index 159e38b..1a8eff4 100644 --- a/engines/engine-sparql-1-2/package.json +++ b/engines/engine-sparql-1-2/package.json @@ -37,12 +37,14 @@ "build:ts": "node \"../../node_modules/typescript/bin/tsc\"", "build:transpile": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --bundle --log-level=error --outfile=lib/index.cjs lib/index.ts", "build:transpile-spec": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --platform=node --bundle --log-level=error --outfile=spec/parser.cjs spec/parser.ts", - "spec:base": "rdf-test-suite spec/parser.cjs http://w3c.github.io/rdf-tests/sparql/sparql11/manifest-all.ttl -c ../../.rdf-test-suite-cache/", - "spec:query": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-query/", - "spec:update": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-update/", - "spec:earl:query": "yarn spec:query --silent -- -o earl -p spec/earl-meta.json > spec/earl-query.ttl", - "spec:earl:update": "yarn spec:update --silent -- -o earl -p spec/earl-meta.json > spec/earl-update.ttl", - "spec:all": "yarn spec:base && yarn spec:query && yarn spec:update", + "spec:base-1-1": "rdf-test-suite spec/parser.cjs http://w3c.github.io/rdf-tests/sparql/sparql11/manifest-all.ttl -c ../../.rdf-test-suite-cache/", + "spec:base-1-2": "rdf-test-suite spec/parser.cjs https://w3c.github.io/rdf-tests/sparql/sparql12/manifest.ttl -c ../../.rdf-test-suite-cache/", + "spec:query-1-1": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-query/", + "spec:query-1-2": "yarn run spec:base-1-2", + "spec:update-1-1": "yarn spec:base -- -s http://www.w3.org/TR/sparql11-update/", + "spec:earl:query-1-1": "yarn spec:query --silent -- -o earl -p spec/earl-meta.json > spec/earl-query.ttl", + "spec:earl:update-1-1": "yarn spec:update --silent -- -o earl -p spec/earl-meta.json > spec/earl-update.ttl", + "spec:all": "yarn spec:base-1-1 && yarn spec:base-1-2", "spec:earl": "yarn spec:earl:query && yarn spec:earl:update" }, "dependencies": {