From 0bd10132c6707353dba80bd89cf0102ee7ca4e34 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 9 Oct 2021 13:44:31 -0400 Subject: Test handling of deferred write errors that happen when closing --- test/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index 08fb3200..dde17566 100644 --- a/test/meson.build +++ b/test/meson.build @@ -214,6 +214,7 @@ if is_variable('serd_pipe') pipe_script_args = common_script_args + ['--tool', serd_pipe] serd_ttl = files('../serd.ttl')[0] bad_input_file = files('extra/bad/bad-lang.ttl') + small_ttl = files('w3c/turtle/turtle-syntax-number-01.ttl') test('serd_ttl', serd_pipe, args: [serd_ttl], env: test_env, suite: 'data') @@ -352,6 +353,13 @@ if is_variable('serd_pipe') env: test_env, suite: 'io', ) + test( + 'deferred_write_error', + files('test_write_error.py'), + args: pipe_script_args + [small_ttl, '--', '-b', '1024'], + env: test_env, + suite: 'io', + ) test( 'missing_output', serd_pipe, -- cgit v1.2.1