Commit graph

71 commits

Author SHA1 Message Date
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