From f4d40efc0502bcf868c6d52b217c00e122ca9e6a Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 25 Jun 2026 20:12:15 +0200 Subject: [PATCH] test: Move unit tests below jw/pkg Move the unit test hierarchy to below test/unit/python/jw/pkg. Nesting the subdirectories so deeply might be overly careful, but it may as well be not - maybe in the future installable test packages are going to be generated and need simple ways to install without stepping onto each other's toes. If not, it's easier to cut two directory components out than having to reorganize possibly incoherent paths grown over multiple packages. Signed-off-by: Jan Lindemann --- test/unit/python/{lib => jw}/Makefile | 0 test/unit/python/jw/pkg/Makefile | 4 ++++ test/unit/python/jw/pkg/lib/Makefile | 4 ++++ test/unit/python/{ => jw/pkg}/lib/Uri/Makefile | 2 +- test/unit/python/{ => jw/pkg}/lib/Uri/test.py | 0 5 files changed, 9 insertions(+), 1 deletion(-) rename test/unit/python/{lib => jw}/Makefile (100%) create mode 100644 test/unit/python/jw/pkg/Makefile create mode 100644 test/unit/python/jw/pkg/lib/Makefile rename test/unit/python/{ => jw/pkg}/lib/Uri/Makefile (72%) rename test/unit/python/{ => jw/pkg}/lib/Uri/test.py (100%) diff --git a/test/unit/python/lib/Makefile b/test/unit/python/jw/Makefile similarity index 100% rename from test/unit/python/lib/Makefile rename to test/unit/python/jw/Makefile diff --git a/test/unit/python/jw/pkg/Makefile b/test/unit/python/jw/pkg/Makefile new file mode 100644 index 00000000..8b2498dc --- /dev/null +++ b/test/unit/python/jw/pkg/Makefile @@ -0,0 +1,4 @@ +TOPDIR = ../../../../.. + +include $(TOPDIR)/make/proj.mk +include $(JWBDIR)/make/dirs.mk diff --git a/test/unit/python/jw/pkg/lib/Makefile b/test/unit/python/jw/pkg/lib/Makefile new file mode 100644 index 00000000..f817ac8c --- /dev/null +++ b/test/unit/python/jw/pkg/lib/Makefile @@ -0,0 +1,4 @@ +TOPDIR = ../../../../../.. + +include $(TOPDIR)/make/proj.mk +include $(JWBDIR)/make/dirs.mk diff --git a/test/unit/python/lib/Uri/Makefile b/test/unit/python/jw/pkg/lib/Uri/Makefile similarity index 72% rename from test/unit/python/lib/Uri/Makefile rename to test/unit/python/jw/pkg/lib/Uri/Makefile index a2efda8e..de693650 100644 --- a/test/unit/python/lib/Uri/Makefile +++ b/test/unit/python/jw/pkg/lib/Uri/Makefile @@ -1,4 +1,4 @@ -TOPDIR = ../../../../../ +TOPDIR = ../../../../../../.. include $(TOPDIR)/make/proj.mk include $(JWBDIR)/make/py-run.mk diff --git a/test/unit/python/lib/Uri/test.py b/test/unit/python/jw/pkg/lib/Uri/test.py similarity index 100% rename from test/unit/python/lib/Uri/test.py rename to test/unit/python/jw/pkg/lib/Uri/test.py