Reorganize tests and move all them under /usr/tests/xbps.

This commit is contained in:
Juan RP 2013-11-03 09:30:57 +01:00
parent 4e4e4a49d0
commit 4d3a412d9e
38 changed files with 46 additions and 20 deletions

View File

@ -1,5 +1,5 @@
-include ../config.mk
SUBDIRS = libxbps xbps-rindex
SUBDIRS = xbps
include ../mk/subdir.mk

View File

@ -1 +0,0 @@
TESTSSUBDIR = libxbps

View File

@ -1 +0,0 @@
TESTSSUBDIR = xbps-rindex

View File

@ -1,5 +1,5 @@
-include ../../config.mk
SUBDIRS = common issue19
SUBDIRS = common libxbps xbps-rindex
include ../../mk/subdir.mk

View File

@ -0,0 +1,6 @@
syntax("kyuafile", 1)
test_suite("xbps")
include('libxbps/Kyuafile')
include('xbps-rindex/Kyuafile')

View 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:

View File

@ -1,4 +1,4 @@
-include ../../config.mk
-include ../../../config.mk
SUBDIRS = common
@ -12,4 +12,4 @@ SUBDIRS += find_pkg_orphans
SUBDIRS += pkgdb
SUBDIRS += issue18
include ../../mk/subdir.mk
include ../../../mk/subdir.mk

View File

@ -0,0 +1 @@
TESTSSUBDIR = xbps/libxbps

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TEST = cmpver_test

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
include ../Makefile.inc

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TEST = find_pkg_obsoletes_test

View File

@ -1,7 +1,7 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TESTSSUBDIR = libxbps/find_pkg_orphans
TESTSSUBDIR = xbps/libxbps/find_pkg_orphans
TEST = find_pkg_orphans_test
EXTRA_FILES = Kyuafile pkgdb-0.21.plist

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TEST = issue18_test

View File

@ -1,7 +1,7 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TESTSSUBDIR = libxbps/pkgdb
TESTSSUBDIR = xbps/libxbps/pkgdb
TEST = pkgdb_test
EXTRA_FILES = Kyuafile pkgdb-0.21.plist

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TEST = pkgpattern_match_test

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TEST = plist_match_test

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TEST = plist_match_virtual_test

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TEST = util_test

View File

@ -0,0 +1,5 @@
-include ../../../config.mk
SUBDIRS = common issue19
include ../../../mk/subdir.mk

View File

@ -0,0 +1 @@
TESTSSUBDIR = xbps/xbps-rindex

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
include ../Makefile.inc

View File

@ -1,4 +1,4 @@
TOPDIR = ../../..
TOPDIR = ../../../..
-include $(TOPDIR)/config.mk
TEST = issue19_test