Reorganize tests and move all them under /usr/tests/xbps.
This commit is contained in:
parent
4e4e4a49d0
commit
4d3a412d9e
@ -1,5 +1,5 @@
|
|||||||
-include ../config.mk
|
-include ../config.mk
|
||||||
|
|
||||||
SUBDIRS = libxbps xbps-rindex
|
SUBDIRS = xbps
|
||||||
|
|
||||||
include ../mk/subdir.mk
|
include ../mk/subdir.mk
|
||||||
|
@ -1 +0,0 @@
|
|||||||
TESTSSUBDIR = libxbps
|
|
@ -1 +0,0 @@
|
|||||||
TESTSSUBDIR = xbps-rindex
|
|
@ -1,5 +1,5 @@
|
|||||||
-include ../../config.mk
|
-include ../../config.mk
|
||||||
|
|
||||||
SUBDIRS = common issue19
|
SUBDIRS = common libxbps xbps-rindex
|
||||||
|
|
||||||
include ../../mk/subdir.mk
|
include ../../mk/subdir.mk
|
6
tests/xbps/common/Kyuafile
Normal file
6
tests/xbps/common/Kyuafile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
syntax("kyuafile", 1)
|
||||||
|
|
||||||
|
test_suite("xbps")
|
||||||
|
|
||||||
|
include('libxbps/Kyuafile')
|
||||||
|
include('xbps-rindex/Kyuafile')
|
15
tests/xbps/common/Makefile
Normal file
15
tests/xbps/common/Makefile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
TOPDIR = ../../..
|
||||||
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
|
TESTSSUBDIR = xbps
|
||||||
|
|
||||||
|
all:
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -d $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)
|
||||||
|
install -m644 Kyuafile $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
-rm -f $(DESTDIR)$(TESTSDIR)/$(TESTSSUBDIR)/Kyuafile
|
||||||
|
|
||||||
|
clean:
|
@ -1,4 +1,4 @@
|
|||||||
-include ../../config.mk
|
-include ../../../config.mk
|
||||||
|
|
||||||
SUBDIRS = common
|
SUBDIRS = common
|
||||||
|
|
||||||
@ -12,4 +12,4 @@ SUBDIRS += find_pkg_orphans
|
|||||||
SUBDIRS += pkgdb
|
SUBDIRS += pkgdb
|
||||||
SUBDIRS += issue18
|
SUBDIRS += issue18
|
||||||
|
|
||||||
include ../../mk/subdir.mk
|
include ../../../mk/subdir.mk
|
1
tests/xbps/libxbps/Makefile.inc
Normal file
1
tests/xbps/libxbps/Makefile.inc
Normal file
@ -0,0 +1 @@
|
|||||||
|
TESTSSUBDIR = xbps/libxbps
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TEST = cmpver_test
|
TEST = cmpver_test
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
include ../Makefile.inc
|
include ../Makefile.inc
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TEST = find_pkg_obsoletes_test
|
TEST = find_pkg_obsoletes_test
|
@ -1,7 +1,7 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TESTSSUBDIR = libxbps/find_pkg_orphans
|
TESTSSUBDIR = xbps/libxbps/find_pkg_orphans
|
||||||
TEST = find_pkg_orphans_test
|
TEST = find_pkg_orphans_test
|
||||||
EXTRA_FILES = Kyuafile pkgdb-0.21.plist
|
EXTRA_FILES = Kyuafile pkgdb-0.21.plist
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TEST = issue18_test
|
TEST = issue18_test
|
@ -1,7 +1,7 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TESTSSUBDIR = libxbps/pkgdb
|
TESTSSUBDIR = xbps/libxbps/pkgdb
|
||||||
TEST = pkgdb_test
|
TEST = pkgdb_test
|
||||||
EXTRA_FILES = Kyuafile pkgdb-0.21.plist
|
EXTRA_FILES = Kyuafile pkgdb-0.21.plist
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TEST = pkgpattern_match_test
|
TEST = pkgpattern_match_test
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TEST = plist_match_test
|
TEST = plist_match_test
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TEST = plist_match_virtual_test
|
TEST = plist_match_virtual_test
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TEST = util_test
|
TEST = util_test
|
5
tests/xbps/xbps-rindex/Makefile
Normal file
5
tests/xbps/xbps-rindex/Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-include ../../../config.mk
|
||||||
|
|
||||||
|
SUBDIRS = common issue19
|
||||||
|
|
||||||
|
include ../../../mk/subdir.mk
|
1
tests/xbps/xbps-rindex/Makefile.inc
Normal file
1
tests/xbps/xbps-rindex/Makefile.inc
Normal file
@ -0,0 +1 @@
|
|||||||
|
TESTSSUBDIR = xbps/xbps-rindex
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
include ../Makefile.inc
|
include ../Makefile.inc
|
@ -1,4 +1,4 @@
|
|||||||
TOPDIR = ../../..
|
TOPDIR = ../../../..
|
||||||
-include $(TOPDIR)/config.mk
|
-include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
TEST = issue19_test
|
TEST = issue19_test
|
Loading…
Reference in New Issue
Block a user