Cleaned test case dependencies
Also removed hello-world test case.
Change-Id: I1a307e480d979ba8fdd3d9dc54b2d473fdd24d99
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/test/hello-world.cpp b/test/hello-world.cpp
deleted file mode 100644
index 5cdaa1b..0000000
--- a/test/hello-world.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-
-#include <stdio.h>
-
-int main()
-{
- printf("test: Hello, World!\n");
-
- return 0;
-}
diff --git a/test/meson.build b/test/meson.build
index 584a294..4e61fe2 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -6,8 +6,8 @@
subdir('end2end')
tests = [
- 'hello-world',
'bin_stream_test',
+ 'ffdc_file_test',
'resolution_test',
'service_data_test',
]
@@ -17,16 +17,9 @@
if gtest.found()
foreach t : tests
test(t, executable(t.underscorify(), t + '.cpp',
+ link_with : [ util_lib ],
dependencies : [ libhei_dep, gtest ],
cpp_args : test_arg,
include_directories : incdir))
endforeach
-
- test('ffdc_file_test',
- executable('ffdc_file_test', 'ffdc_file_test.cpp',
- files('../util/ffdc_file.cpp',
- '../util/temporary_file.cpp'),
- dependencies : gtest,
- cpp_args : test_arg,
- include_directories : incdir))
endif