Add the test/Path directory as well as test/Path/Makefile, containing
the scaffolding for tests regarding PVE::Path.

Include test/Path as subdirectory in test/Makefile, so
test/Path/Makefile runs when the other tests run, too.

Signed-off-by: Max Carrara <m.carr...@proxmox.com>
---
Changes v3 --> v4:
  * None

Changes v2 --> v3:
  * None

Changes v1 --> v2:
  * NEW: Split from patch 02

 test/Makefile      |  5 ++++-
 test/Path/Makefile | 16 ++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 test/Path/Makefile

diff --git a/test/Makefile b/test/Makefile
index 4e25a46..5c8f157 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,4 +1,7 @@
-SUBDIRS = etc_network_interfaces
+SUBDIRS = etc_network_interfaces       \
+         Path                          \
+
+
 TESTS = lock_file.test                 \
        calendar_event_test.test        \
        convert_size_test.test          \
diff --git a/test/Path/Makefile b/test/Path/Makefile
new file mode 100644
index 0000000..d091036
--- /dev/null
+++ b/test/Path/Makefile
@@ -0,0 +1,16 @@
+TESTS = \
+
+
+TEST_TARGETS = $(addsuffix .t,$(basename ${TESTS}))
+
+all:
+
+.PHONY: check
+
+check: ${TEST_TARGETS}
+
+%.t: %.pl
+       ./$<
+
+distclean: clean
+clean:
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to