Signed-off-by: Pierrick Bouvier <[email protected]>
---
tests/tcg/hppa/meson.build | 22 ++++++++++++++++++++++
tests/tcg/meson.build | 1 +
2 files changed, 23 insertions(+)
create mode 100644 tests/tcg/hppa/meson.build
diff --git a/tests/tcg/hppa/meson.build b/tests/tcg/hppa/meson.build
new file mode 100644
index 00000000000..9ca8f29fa93
--- /dev/null
+++ b/tests/tcg/hppa/meson.build
@@ -0,0 +1,22 @@
+tests = []
+
+tests += tcg_tests['multiarch-linux-user']['tests']
+
+tests += {
+ 'stby.c': {'cflags': ['-pthread']},
+}
+
+if 'qemu-hppa' in emulators
+ tcg_tests += {
+ 'hppa-linux-user': {
+ 'cc': 'hppa-linux-gnu-gcc',
+ 'cc_dockerfile': 'debian-all-test-cross',
+ 'cc_docker_host_arch': ['x86_64'],
+ 'cc_feat_cflags': cc_feat_cflags,
+ 'folder': 'hppa',
+ 'gdb_arch': 'hppa',
+ 'qemu': emulators['qemu-hppa'],
+ 'tests': tests,
+ }
+ }
+endif
diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build
index 195e5975e17..cd4c6a981b7 100644
--- a/tests/tcg/meson.build
+++ b/tests/tcg/meson.build
@@ -138,6 +138,7 @@ subdir('aarch64_be')
subdir('alpha')
subdir('arm')
subdir('hexagon')
+subdir('hppa')
image_targets = {}
exe_targets = []
--
2.47.3