test: console socket read
Change-Id: Ic7c2035640db4e403afe9db01a33ccb532d195d6
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/test/meson.build b/test/meson.build
index e890313..7c92ff8 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -35,13 +35,19 @@
socat = find_program('socat', native: true)
-meson.override_find_program('test-console-logs-to-file', files('test-console-logs-to-file'))
-test('test-console-logs-to-file',
- find_program('test-console-logs-to-file'),
- args: [ socat.full_path(), server.full_path() ],
- depends: [ server ],
- suite: 'itests'
-)
+server_tests = [
+ 'test-console-logs-to-file',
+ 'test-console-socket-read',
+]
+
+foreach st : server_tests
+ test(st,
+ find_program(st),
+ args: [ socat.full_path(), server.full_path() ],
+ depends: [ server ],
+ suite: 'itests'
+ )
+endforeach
client_tests = [
'test-console-client-can-read',