From 1409f161793a289819df1f31eccb579b71f45475 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Aug 2021 22:28:59 -0400 Subject: Fix pretty-printing nested empty lists and add test suite The earlier "test" was just hitting the code without actually checking the output. This new suite is a set of pretty-printed documents which serd must reproduce from a model exactly to pass. This should make it easy to add cases in the future, since each case is just a document, as it should look. --- test/meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index c0ed56e4..c314e1d4 100644 --- a/test/meson.build +++ b/test/meson.build @@ -2,6 +2,7 @@ autoship = find_program('autoship', required: false) run_filter_suite = find_program('run_filter_suite.py') run_pipe_suite = find_program('run_pipe_suite.py') +run_pretty_suite = find_program('run_pretty_suite.py') run_sort_suite = find_program('run_sort_suite.py') wrapper = meson.get_cross_property('exe_wrapper', '') @@ -404,6 +405,7 @@ if is_variable('serd_pipe') and is_variable('serd_sort') subdir('good') subdir('lax') subdir('pattern') + subdir('pretty') subdir('terse') endif -- cgit v1.2.1