From e52d4246e643cca7f6a3967f91beffdda79a45a0 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Fri, 11 Oct 2019 16:14:31 +0300 Subject: test: partial diagnostic subsystem coverage. Add the required bits for most diagnostic testic functions and create tests for rin_err; explicitly skip the rest, for now. Signed-off-by: Gediminas Jakutis --- test/meson.build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index 5e0a100..7864166 100644 --- a/test/meson.build +++ b/test/meson.build @@ -16,7 +16,13 @@ test('flaot to string', test_e, args : ['float', 'floattohexstring']) test('double to string', test_e, args : ['float', 'doubletohexstring']) test('compare floats', test_e, args : ['float', 'comparefloat']) test('compare doubles', test_e, args : ['float', 'comparedouble']) -test('diagnostic', test_e, args : ['diagnostic', 'none']) +test('diagnostic err', test_e, args : ['diagnostic', 'err']) +test('diagnostic warn', test_e, args : ['diagnostic', 'warn']) +test('diagnostic fixme', test_e, args : ['diagnostic', 'fixme']) +test('diagnostic info', test_e, args : ['diagnostic', 'info']) +test('diagnostic prefix', test_e, args : ['diagnostic', 'prefix']) +test('diagnostic thread', test_e, args : ['diagnostic', 'thread']) +test('diagnostic clean', test_e, args : ['diagnostic', 'clean']) test('timespec add', test_e, args : ['time', 'timespec add']) test('timespec subtract', test_e, args : ['time', 'timespec sub']) test('timespec normalize', test_e, args : ['time', 'timespec normalize']) -- cgit v1.2.3