obmc-console: Convert build to meson
The project is seeing some activity recently, so let's align it with the
desires here:
https://gerrit.openbmc.org/c/openbmc/docs/+/47732
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I96941365440c9c164d222b4d18e6a57409819308
diff --git a/test/meson.build b/test/meson.build
new file mode 100644
index 0000000..149322f
--- /dev/null
+++ b/test/meson.build
@@ -0,0 +1,17 @@
+tests = [
+ 'test-client-escape',
+ 'test-config-parse',
+ 'test-config-parse-logsize',
+ 'test-ringbuffer-boundary-poll',
+ 'test-ringbuffer-boundary-read',
+ 'test-ringbuffer-contained-offset-read',
+ 'test-ringbuffer-contained-read',
+ 'test-ringbuffer-poll-force',
+ 'test-ringbuffer-read-commit',
+ 'test-ringbuffer-simple-poll',
+]
+
+foreach t : tests
+ test(t, executable(t, f'@t@.c', c_args: [ '-DSYSCONFDIR=""' ],
+ include_directories: '..'))
+endforeach