Commit graph

98 commits

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