From ce2c37356c674e5893f80786616355b4659b43ad Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Fri, 4 Apr 2025 03:12:26 +0300
Subject: Convert from make to meson

Meson makes cross compilation easier. Replace the make-based build
system with meson.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 tests/Makefile    | 10 ----------
 tests/meson.build | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+), 10 deletions(-)
 delete mode 100644 tests/Makefile
 create mode 100644 tests/meson.build

(limited to 'tests')

diff --git a/tests/Makefile b/tests/Makefile
deleted file mode 100644
index 6511c3c..0000000
--- a/tests/Makefile
+++ /dev/null
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: CC0-1.0
-
-SCRIPTS=$(wildcard *.sh)
-
-all:
-
-clean:
-
-install:
-	cp $(SCRIPTS) $(INSTALL_DIR)/
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 0000000..e5396cc
--- /dev/null
+++ b/tests/meson.build
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: CC0-1.0
+
+tests = files([
+    'vsp-unit-test-0000.sh',
+    'vsp-unit-test-0001.sh',
+    'vsp-unit-test-0002.sh',
+    'vsp-unit-test-0003.sh',
+    'vsp-unit-test-0004.sh',
+    'vsp-unit-test-0005.sh',
+    'vsp-unit-test-0006.sh',
+    'vsp-unit-test-0007.sh',
+    'vsp-unit-test-0008.sh',
+    'vsp-unit-test-0009.sh',
+    'vsp-unit-test-0010.sh',
+    'vsp-unit-test-0011.sh',
+    'vsp-unit-test-0012.sh',
+    'vsp-unit-test-0013.sh',
+    'vsp-unit-test-0014.sh',
+    'vsp-unit-test-0015.sh',
+    'vsp-unit-test-0016.sh',
+    'vsp-unit-test-0017.sh',
+    'vsp-unit-test-0018.sh',
+    'vsp-unit-test-0019.sh',
+    'vsp-unit-test-0020.sh',
+    'vsp-unit-test-0021.sh',
+    'vsp-unit-test-0022.sh',
+    'vsp-unit-test-0023.sh',
+    'vsp-unit-test-0024.sh',
+    'vsp-unit-test-0025.sh',
+    'vsp-unit-test-0026.sh',
+    'vsp-unit-test-0027.sh',
+])
+
+install_data(tests, install_dir : get_option('prefix'))
-- 
cgit v1.2.3