History log of /freebsd-10.2-release/usr.bin/bmake/tests/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
285830 23-Jul-2015 gjb

- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.2.
- Update default pkg(8) configuration to use the quarterly branch.[1]

Discussed with: re, portmgr [1]
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

276389 30-Dec-2014 ngie

MFC r266074,r266104,r266147:

r266074:

Move old fmake tests into bmake and hook them to the build.

This first step is mostly to prevent the code from rotting even further
and to ensure these do not get wiped when fmake's code is removed from
the tree.

These tests are currently being skipped because they detect the underlying
make is not fmake and thus disable themselves -- and the reason is that
some of the tests fail, possibly due to legitimate bugs. Enabling them to
run against bmake will come separately.

Lastly, it would be ideal if these tests were fed upstream but they are
not ready for that yet. In the interim, just put them under usr.bin/bmake/
while we sort things out. The existence of a different unit-tests directory
within here makes me feel less guilty about this.

Change confirmed working with a clean amd64 build.

r266104:

Undo changes to the generated Makefile. Move tests directory to proper
location, including updating the test to work in the more-fragile
fmake -> bmake bootstrap environment.

r266147:

Makefile.inc is also included by the tests subdirectory, which results
in SUBDIRS having tests added to it, which fails. Work around this by
checking to make sure tests exists before adding it to subdirs and
work to get the generated file fixed so we can rename Makefile.inc to
something else so it isn't automatically included by subdirs...


266074 14-May-2014 jmmv

Move old fmake tests into bmake and hook them to the build.

This first step is mostly to prevent the code from rotting even further
and to ensure these do not get wiped when fmake's code is removed from
the tree.

These tests are currently being skipped because they detect the underlying
make is not fmake and thus disable themselves -- and the reason is that
some of the tests fail, possibly due to legitimate bugs. Enabling them to
run against bmake will come separately.

Lastly, it would be ideal if these tests were fed upstream but they are
not ready for that yet. In the interim, just put them under usr.bin/bmake/
while we sort things out. The existence of a different unit-tests directory
within here makes me feel less guilty about this.

Change confirmed working with a clean amd64 build.


263348 19-Mar-2014 jmmv

Add Makefiles missed in r263346.

Grrr, I wish svn clearly displayed files not yet added when about to commit.


263346 19-Mar-2014 jmmv

Migrate tools/regression/usr.bin/make/ to the new tests layout.

Note that these tests are for fmake, not bmake, and thus they are not
installed nor run when bmake is selected (the default). Yes, I have
wasted a *ton* of time on moving tests for no real reason other than
ensuring they are not left behind.

But maybe, just maybe, it was not work in vain: the majority of these
tests also work with bmake and the few that don't may point at broken
stuff. For example, the tests for the "archive" feature do not work
with bmake, but bmake's manpage and source tree seem to imply that they
should. So... to be investigated later; need to poke sjg@.


263082 12-Mar-2014 jmmv

Only run the make tests when make is fmake.

Because bmake is the default make being built, many of the tests here
fail due to differences between the two. Just skip the tests for now
when using fmake.


238143 05-Jul-2012 obrien

Remove the "funny targets" make check. We no longer need embedded :: targets
to build FreeBSD (they are used in Perl man pages). We never needed embedded
"!" in targets that I can find.

We got this from OpenBSD and I cannot find any other make that supports
such things -- contrary to their commit message claim: "This behaviour
is also consistent with other versions of make.".


237344 20-Jun-2012 obrien

Provide a mechanism to not clear out the work and output dirs when
developing tests.


236977 12-Jun-2012 obrien

Add a test for the :tl & :tu modifiers.


236347 31-May-2012 obrien

Add regression test for '-V' command line option (requires r236346).


236339 30-May-2012 obrien

make it easier to test newly-built make.


231544 12-Feb-2012 fjoe

Include target names in diagnostic output.

Submitted by: Garrett Cooper


228975 30-Dec-2011 uqs

Spelling fixes for tools/

Add some $FreeBSD$ tags so svn will allow the commit.


228524 15-Dec-2011 fjoe

Fix last-minute typo.


228523 15-Dec-2011 fjoe

Add job error output test.

make(1) with openpty() currently fails this test: there's a race condition
and error output is sometimes lost.


228149 30-Nov-2011 fjoe

Add three execution tests for make(1):
- plus: execute "+command" when run with -jX -n
- ellipsis: ellipsis ("...") from variable
- empty: empty command (from variable)

Currently make(1) fails all three tests:
- plus: segmentation fault due to incorrect command list handling
- ellipsis: works in compat mode but fails in job (-jX) mode
- empty:
- compat mode: prints error message
- job mode: works but prints empty string


208802 04-Jun-2010 maxim

o The typo was intended as it stated in the comment. Revert last.

Spotted by: dfr


208797 04-Jun-2010 maxim

o Fix typo: .uudef -> .undef.

PR: misc/147462
Submitted by: Erik Cederstrand


201526 04-Jan-2010 obrien

Add ability to search up the directory hierarchy for the system directory.
Do by specifying ".../" with '-m' or MAKESYSPATH (new) environment variable.

Reviewed by: <sjg@NetBSD.org>
Obtained from: NetBSD (+ embellishment by me, sent back to NetBSD)


201478 04-Jan-2010 obrien

Regression test for r201456.


201333 31-Dec-2009 obrien

Delete the svn:mime-type property from these text files.


180208 03-Jul-2008 peter

Set magic fbsd:nokeywords property that allows files to bypass
keyword expansion. (file-specific replacement for CVSROOT/exclude)


151443 18-Oct-2005 harti

Add first tests for semicolon handling. The first test fails. This is
probably a bug in the parser.


151442 18-Oct-2005 harti

Add more tests for escaped newline handling and fix a test that currently
should fail because of a bug in the parser (test 2).


146856 01-Jun-2005 harti

Add a test for escaped newline handling.


146855 01-Jun-2005 harti

Add support for TODO tests. These are tests that are supposed to fail,
because of a make bug that should be fixed.


146822 31-May-2005 harti

Change the test infrastructure so that tests are easier to maintain and
so that make(1) will run in an almost clean environment and enhance the
description of the test infrastructure.

Add the ability to have multiple tests carried out per test script.

Give some tests more meaningful names.

Fix the usage message from the test scripts.

Make it possible to pass several commands to the test scripts like:
'sh test.t setup run compare clean'.


146454 20-May-2005 harti

Add a test to check whether in compat mode make detectes builtins
on the command line and really executes the shell instead of directly
executing the command.


146452 20-May-2005 harti

Add a test to ensure that in compat mode when a line contains no
shell meta characters it is not passed to the shell, but the command
is executed directly (given that the line is not a shell builtin) and
that the line with a meta character is passed to the shell.


146449 20-May-2005 harti

Add a test that test whether we can replace the shell to use by
make with another shell and set all its parameters (meta and builtins
not tested here).


146381 19-May-2005 harti

Some test cases for .SHELL target: builtin shell selection and
changing the path of a builtin shell.


145620 28-Apr-2005 harti

Add an initial regression test suite for make(1).

Submitted by: Max Okumoto <okumotu@ucsd.edu> (partly, initial version)