summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-04-04 03:12:26 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-04-04 03:32:30 +0300
commitce2c37356c674e5893f80786616355b4659b43ad (patch)
tree8da7297a20bcee66f73eaddcd42a84483a0b30d1 /tests
parenta4c13e7ce77b86cf36bc6b0a79220b97f8b2a1b8 (diff)
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile10
-rw-r--r--tests/meson.build34
2 files changed, 34 insertions, 10 deletions
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'))