Allows generating reports for multiple manifests

pull/190/head
Tpt 3 years ago
parent a319b80c2c
commit 1e3fe90c5e
  1. 2
      testsuite/rdf-star
  2. 3
      testsuite/src/main.rs

@ -1 +1 @@
Subproject commit 5efe146c6edfc2e710e1e13eac409b7c7ae982c7
Subproject commit c086bb3aea74368590d5900f3b8ba5572ddedb35

@ -12,6 +12,7 @@ fn main() -> Result<()> {
Arg::with_name("manifest")
.help("URI of the testsuite manifest to run")
.takes_value(true)
.multiple(true)
.required(true),
)
.get_matches();
@ -19,7 +20,7 @@ fn main() -> Result<()> {
let mut evaluator = TestEvaluator::default();
register_parser_tests(&mut evaluator);
register_sparql_tests(&mut evaluator);
let manifest = TestManifest::new(vec![matches.value_of("manifest").unwrap()]);
let manifest = TestManifest::new(matches.values_of("manifest").unwrap());
let results = evaluator.evaluate(manifest)?;
print!("{}", build_report(results));
Ok(())

Loading…
Cancel
Save