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