Commit graph

264 commits

Author SHA1 Message Date
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
rillig
dbb64b82e8 Fixed pkglint warnings. 2016-06-11 11:36:14 +00:00
rillig
61e1811b4f Added regression test for portability checks. 2016-06-11 10:48:28 +00:00
dbj
dde82c09aa update PKG_{FAIL,SKIP}_REASON with += 2016-04-11 04:22:33 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
joerg
738d76b7d6 Sync spec with reality. 2015-06-07 03:46:39 +00:00
joerg
2bae819d22 Support DESTDIR, drop @dirrm. Give a working WRKSRC. 2015-06-07 03:46:05 +00:00
tnn
d6b53ad5af Package has no distfiles, which is expected. 2015-03-06 23:26:26 +00:00
bsiegert
e8ad5e0312 Do not use a naked "make", instead use TEST_MAKE. Now it fails differently. 2014-06-21 16:34:13 +00:00
bsiegert
90c36cf39b Add PLISTs for all regression tests. The infrastructure now sets
PKG_FAIL_REASON if there is no PLIST, breaking all but one test.

Goes from "1 passed, 12 failed" to "6 passed, 7 failed" on Mac OS.

"haha" schmonz@
2014-06-21 16:15:00 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wiz
a4eec2f4cc Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
joerg
dde8c871c5 Remove @dirrm entries from PLISTs 2009-06-14 18:11:52 +00:00
joerg
ce1772b268 Remove redundant EXTRACT_ONLY and NO_CHECKSUM declarations.
Retire NO_PACAKGE as there is no technical reason for it.
2009-04-09 00:47:11 +00:00
joerg
d0076c3403 Remove the remaining NO_MTREE definitions, it has been a nop for a
while.
2009-04-08 22:43:23 +00:00
darcy
37ebc1d070 Fix MAINTAINER. 2009-03-21 05:43:53 +00:00
jmmv
0d3662ee66 Drop maintainership
Stop lying and drop maintainership of these packages.  I have not
maintained them for a very long time already, so leave room for
fresh blood to take over them.
2008-04-30 13:38:14 +00:00
rillig
ebcb0ce01e Resign from maintaining a lot of packages, so everyone is free to update
them at will.
2008-03-04 11:02:23 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00
hira
ebf8ba4a7d ln -> ${LN}. 2007-09-25 08:31:52 +00:00
rillig
3702f2b4c7 Added a testcase for tar. 2007-09-09 08:01:45 +00:00
rillig
6aecf48699 Added mk/misc/category.mk, which contains the definitions that are only
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is
also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13 08:12:41 +00:00
jlam
d524020c66 Add some regression tests for backing up existing files, e.g. "-b" and
"-B fmt".
2007-07-12 18:27:54 +00:00
jlam
c84cd7f43a Add a test to verify that nonexistent intermediate directories are
created with the proper permissions.

XXX sysutils/install-sh isn't quite right the same as /usr/bin/install
XXX because it ignores the umask for directory creation.
2007-07-04 19:18:12 +00:00
jlam
c1991dfd01 Test the install-sh script from sysutils/install-sh instead of the local
one (which has actually migrated to sysutils/install-sh as of 20070620).
2007-06-20 16:26:20 +00:00
rillig
f100f6b8e2 Added a testcase for offsetof. Reorganized the rest. 2007-03-08 14:31:06 +00:00
rillig
934cb486d6 Added a regression test for the SUBST framework, especially the newly
introduced SUBST_VARS.
2007-03-07 21:22:20 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
6e2c35c083 pkglint cleanup; update HOMEPAGE/MASTER_SITES.
From Sergey Svishchev in private mail.
2007-02-22 19:01:13 +00:00
rillig
fd7861c39a Added a test new case for /bin/sh. 2006-11-09 12:39:55 +00:00
rillig
b70dacabdc Added tests for macro definitions on the command line. 2006-10-22 07:52:27 +00:00
rillig
915d764b85 Added a testsuite for sed(1) to make sure it can handle character
classes.
2006-09-20 07:39:54 +00:00
ben
be2571a4ab Add make-env-phases. 2006-09-06 03:37:54 +00:00
ben
8fbd1d3ce0 Initial import of a test that checks whether MAKE_ENV changes between
build and install phase.  MAKE_ENV needs to remain the same for
packages that use scons.  Otherwise, in the install step, scons will
take the new MAKE_ENV to mean that the build action changed, and it will
rebuild the package with the wrong configuration and install that.
2006-09-06 03:37:14 +00:00
rillig
a60185601f Added a testcase for the pkgsrc compilers. 2006-07-11 05:03:11 +00:00
jlam
06be53fba4 Completely nuke the concept of PKG_PHASE from pkgsrc except for the
purposes of caching MAKEVARS within bsd.pkg.mk and bsd.makevars.mk.
2006-07-10 22:59:26 +00:00
rillig
e3d9249334 Added a test for the new pkgsrc barriers. It currently fails, but should
not.
2006-07-10 12:47:26 +00:00
rillig
9280b41272 The regression tests that are actually run are selected based on the
platform and the bmake version, since some of the bugs have been fixed
since.
2006-06-29 14:01:58 +00:00
rillig
f2014b3dd2 Added a testcase for a bug in the :Q operator in bmake. 2006-06-29 13:35:18 +00:00
rillig
aa0acb70fa Added a test for the "sort" tool. Fixed pkglint warnings. 2006-06-25 21:47:28 +00:00
rillig
f0eca5584b Double the length of the command line argument after each iteration. 2006-05-31 13:10:49 +00:00
rillig
ae3ab0c038 Changed the test so that it also works by running "make && make clean"
in this directory. Currently the test fails because the wrapped echo(1)
is broken.
2006-05-11 23:10:50 +00:00
rillig
21f954024d Corrected the expected output for Make version netbsd-2005*. 2006-05-10 17:35:58 +00:00
jlam
2558c0291d Change my MAINTAINER email address to the one I've been using for
pkgsrc work.
2005-12-17 05:20:21 +00:00
rillig
477fc93c59 Added more tests for tr(1), including one that feeds 65536 bytes through
tr(1). Let's see if there's an implementation with bounded line lengths.
2005-11-24 19:46:45 +00:00
rillig
d6e5c93e15 Added testsuite for tr(1). 2005-11-24 19:39:23 +00:00
rillig
dc73dcb087 Oops. I had put the awk-specific functions into test.subr. Moved back. 2005-11-24 19:20:18 +00:00
rillig
cfadbbe5f6 Factored out the generally useable shell functions into tests.subr, as they
will be used by almost all test cases.
2005-11-24 19:18:45 +00:00
rillig
7460df377f Don't require too much from a simple awk. 6144 bytes per line must be
enough. At least for Solaris.
2005-11-19 22:55:24 +00:00
rillig
307b3cd8c8 Print the name of the test case when starting it. This helps in detecting
which test case fails.
2005-11-19 22:03:54 +00:00
rillig
5a1ed27747 Make sure that awk can handle strings of length 4096 on the command line
and of length 2^20 when copying from stdin to stdout.
2005-11-19 21:59:51 +00:00
rillig
4504993e92 Added comments. 2005-11-19 21:31:10 +00:00
rillig
bd2759ab0e Added a regression test for the TOOLS framework. 2005-11-19 21:28:35 +00:00
rillig
27610dfc4b Regression test for the capabilities of the TOOLS. Most of them have
many different implementations and are by no way easy to use. This test
collects some assumptions about what the tools must be able to handle.
It is also meant as a guide on using these tools correctly and reliably.
2005-11-19 21:27:06 +00:00
rillig
5ac8ad7004 Removed trailing white-space. 2005-09-28 14:31:06 +00:00
rillig
2065c61c76 Converted the Makefiles to the "category normal form", as required by
pkglint.
2005-08-06 20:33:56 +00:00
rillig
a88d22082f Simplified the testcase. 2005-08-01 01:02:05 +00:00
rillig
ea131c3e1d Found a new bug in make(1). 2005-08-01 00:40:30 +00:00
dillo
58de13db8b Test that PKG_FAIL_REASON is empty. 2005-07-26 16:12:56 +00:00
dillo
a6f3882d40 Add support for sets of options where at least one option from each
set must be selected, requested and reviewed by wiz:

PKG_OPTIONS_NONEMPTY_SETS
       This is a list of names of sets of options.  At
       least one option from each set must be selected.
       The options in each set are listed in
       PKG_OPTIONS_SET.<setname>.  Options from the sets
       will be automatically added to PKG_SUPPORTED_OPTIONS.
2005-07-26 09:00:42 +00:00
dillo
0d259b9e62 also test unsupported and unused legacy options 2005-07-19 10:38:19 +00:00
jlam
2c73942478 Fix test to that it's possible to check correctness when
COMPILER_RPATH_FLAG is "-Wl,-rpath,".
2005-06-09 17:01:11 +00:00
jlam
5bc688b376 Add two new tests for rpath argument merging and splitting. 2005-06-08 05:49:21 +00:00
wiz
6a7784f938 Fix typo. 2005-06-02 20:45:18 +00:00
dillo
788acb84cf add tests for groups of mutually exclusive options 2005-06-02 20:38:51 +00:00
dillo
acf52132cd adapt to quoting fixes 2005-06-02 20:34:52 +00:00
dillo
69fea00b5b test legacy var with `-' in option name 2005-06-01 13:40:46 +00:00
dillo
e11bf66cba fix comments describing test cases 2005-05-31 13:33:39 +00:00
dillo
42816a484c To ease cleanup of the options namespace, add code to support legacy
option names:

PKG_OPTIONS_LEGACY_OPTS+=	old:new

If PKG_DEFAULT_OPTIONS or PKG_OPTIONS.foo contains option old (or
-old) it is rewritten to new (or -new) and a warning is issued by
the supported-options-message target.
2005-05-31 11:05:31 +00:00
dillo
49472fc366 two new test cases:
- all: test overrides and PKG_LEGACY_VARS
- unsupported: test that unsupported option in PKG_OPTIONS.xxx causes failure
2005-05-28 12:16:43 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
rillig
7818e38937 Simplified how the testcases are invoked. 2005-05-19 10:59:10 +00:00
rillig
59f189819b Added the pkg-options regression test. 2005-05-19 10:08:56 +00:00
rillig
6463647f8c Added the ``order'' testcase, which works since bsd.options.mk, revision
1.22.
2005-05-16 09:09:24 +00:00
rillig
1ff30569df Imported testsuite for the bsd.options.mk framework. 2005-05-16 00:09:03 +00:00
rillig
a03d851b64 Added an example workaround to bug1.mk. 2005-05-15 23:37:13 +00:00
rillig
f58a634f12 Found a bug in the pkgsrc bmake and NetBSD-1.6.2 /usr/bin/make, which has
been fixed at least in NetBSD-2.99.15. Wrote a testcase for it.
2005-05-15 22:50:13 +00:00
rillig
6a8f3844ac Added make-quoting. 2005-05-15 21:11:22 +00:00
rillig
c98f603243 Imported make-quoting, a regression test to make sure various weird quoting
styles stay valid when updating the pkgsrc make(1) program. The test cases
also serve as kind of demonstration how things work inside make(1).
2005-05-15 21:10:16 +00:00
jlam
359f88c945 Add and enable bootstrap-install-sh. 2005-05-08 09:51:59 +00:00
jlam
5a73de3af4 Regression test for the bootstrap install-sh script which is a BSD install
replacement.
2005-05-08 09:51:26 +00:00
jlam
44aa477d54 Remove the need for ${FIND} in the top-level make. 2005-05-02 05:16:21 +00:00
jlam
5fdcb84de7 Remove NO_BUILD, which was causing the wrappers to not be created after
revision 1.1604 of bsd.pkg.mk.
2005-05-02 05:09:16 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
gavan
669081be1d New test to verify that the USE_GNU_TOOLS mechanism works while building
a different GNU tool.

For now, this test fails if flex or bison are already installed. This is
suboptimal, but the alternatives (choosing a different PKG_DBDIR and
LOCALBASE) are difficult to implement at the individual test level.
2005-02-12 14:45:53 +00:00
jlam
df8049aef7 Add new regression tests to test that we correctly handle full paths to
shared libraries and shared modules.
2005-01-26 05:01:44 +00:00
jlam
7d392b5a03 Update to work with current bsd.wrapper.mk. 2005-01-10 17:11:36 +00:00
jlam
612bbe1b39 Add regression tests to check that -DFOO="/usr/pkg/lib/libfoo.la" isn't
transformed by the wrapper scripts.  This is the test case for the
breakage in compiling audio/arts reported several weeks ago on tech-pkg@.
2004-11-09 16:44:49 +00:00
jlam
9bc3430a46 Add a test for the "rmdir" transformation. 2004-09-25 22:05:46 +00:00
jmmv
3ad65effe6 Add and enable print-plist. 2004-09-08 15:04:45 +00:00
jmmv
a815e8e499 Initial import of the print-plist regression test:
This test verifies that print-PLIST works, as well as related functionality
such as PRINT_PLIST_AWK.

Reviewed by gavan@.
2004-09-08 15:04:23 +00:00
jlam
bf1ae4cd1d Add a test for correctness of oddly-quoted arguments. 2004-09-07 10:27:57 +00:00
jlam
6937da7161 Add missing spec file which was causing pkg_regress to not run this test. 2004-09-07 09:57:17 +00:00
jlam
ee10720972 Check for the right output on a platform that has _USE_RPATH == no. 2004-08-30 05:03:32 +00:00
jlam
c335163e9d Add and enable buildlink-libtool. 2004-08-30 04:44:27 +00:00
jlam
ef03f49070 Regression test for the buildlink libtool manipulations. Start with
testing whether munging dependency_libs in installed libtool archives
works properly.
2004-08-30 04:44:14 +00:00
jlam
081610fff1 Correct typo in comment. 2004-08-29 06:27:34 +00:00
jlam
d3d186c769 Make the lib-expand test do a little more: see that repeated library args
are nuked.
2004-08-29 06:23:12 +00:00
jlam
5b55d30422 Provide a way to report the number of subtests passed and failed. 2004-08-28 23:54:21 +00:00
jlam
f23b9ab60e Don't die as soon as the first test fails. Instead, run them all,
then report how many failed and which ones.  Return with an exit code
indicating how many tests failed.
2004-08-28 21:21:12 +00:00
jlam
15c19207d5 Allow this test to be used with both the current buildlink3 framework
and the forthcoming wrapper script framework.
2004-08-28 08:20:44 +00:00
jlam
f2830d1e8d Add some more tests for "l" and "rm" BUILDLINK_TRANSFORM commands. 2004-08-28 06:26:41 +00:00
jlam
a57b0a61e6 Add and enable buildlink-unwrap. 2004-08-28 06:18:39 +00:00
jlam
0b05bd85f3 Regression test for whether *-config scripts and other similar files are
correctly unwrapped (unbuildinkified).
2004-08-28 06:17:21 +00:00
jlam
663f8852f1 Add some comments. 2004-08-28 02:35:41 +00:00
jlam
743723ee69 Add spec file so that this can be driven by pkg_regress. 2004-08-28 02:30:10 +00:00
jlam
d4deecbbd5 Add NetBSD tag. 2004-08-28 02:21:54 +00:00
gavan
27dc9f9dd9 Add pkgfail, a simple regression test which ensures that PKG_FAIL_REASON works.
This test serves as a simple example of how to write a regression test.
2004-08-28 00:19:17 +00:00
jlam
537f85b47c Revert previous. The fact that they don't pass is something to fix, not
to avoid (although this is fixed in the soon-to-be-committed wrapper
framework).
2004-08-27 21:47:02 +00:00
jlam
d8611c4044 Don't run the *-slashdot tests using the current buildlink3 framework,
since they're known to be broken (see PR pkg/24760 and PR pkg/25500).
2004-08-27 21:45:54 +00:00
jlam
291919c01b Make this work with the current incarnation of the buildlink3 framework. 2004-08-27 21:43:39 +00:00
jlam
2e74a2e65d Add and enable buildlink-transform. 2004-08-27 21:35:21 +00:00
jlam
42dd56b818 Add some regression tests for correctness of buildlink3 transformations. 2004-08-27 21:34:58 +00:00
jlam
d76ad0b5cd Add a new "regress" category for pkgsrc regression testing code. We
don't descend into this directory for anything since these packages aren't
packages in the normal sense, since they're not expected to install or
package correctly.
2004-08-27 21:32:55 +00:00