From aa2a43dac355ff77a7cedd03cd8c55f5f3e98936 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 3 Apr 2023 09:00:00 -0400 Subject: Run lax suite with the simpler runner script --- test/meson.build | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index e4850f0c..f5282672 100644 --- a/test/meson.build +++ b/test/meson.build @@ -195,6 +195,14 @@ ns_serdtest = 'http://drobilla.net/sw/serd/test/' ns_w3 = 'http://www.w3.org/2013/' test_suites = { + 'lax.lax': [ + '--lax', + files('lax/manifest.ttl'), ns_serdtest + 'lax/', + '--', '-l', + ], + 'lax.strict': [ + files('lax/manifest.ttl'), ns_serdtest + 'lax/', + ], 'prefix.add': [ '--reverse', files('prefix/manifest.ttl'), ns_serdtest + 'prefix/', @@ -253,24 +261,6 @@ if not get_option('tools').disabled() suite: ['rdf', 'serd'], timeout: 240) - ### The lax suite is special because it is run twice... - lax_manifest = files('lax/manifest.ttl') - lax_base_uri = ns_serdtest + 'lax/' - - ### ... once with strict parsing to test the hard errors - test('lax.strict', run_test_suite, - args: script_args + [lax_manifest, lax_base_uri], - is_parallel: false, - suite: ['rdf', 'serd'], - timeout: 240) - - ### ... and once with lax parsing to tolerate them - test('lax.lax', run_test_suite, - args: script_args + [lax_manifest, lax_base_uri, '--', '-l'], - is_parallel: false, - suite: ['rdf', 'serd'], - timeout: 240) - ## Standard W3C test suites w3c_suites = ['Turtle', 'NTriples', 'NQuads', 'TriG'] -- cgit v1.2.1