| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.".
|
|
|
|
| |
developing tests.
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Garrett Cooper
|
|
|
|
| |
Add some $FreeBSD$ tags so svn will allow the commit.
|
| |
|
|
|
|
|
| |
make(1) with openpty() currently fails this test: there's a race condition
and error output is sometimes lost.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Spotted by: dfr
|
|
|
|
|
| |
PR: misc/147462
Submitted by: Erik Cederstrand
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
| |
probably a bug in the parser.
|
|
|
|
| |
should fail because of a bug in the parser (test 2).
|
| |
|
|
|
|
| |
because of a make bug that should be fixed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
| |
on the command line and really executes the shell instead of directly
executing the command.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
make with another shell and set all its parameters (meta and builtins
not tested here).
|
|
|
|
| |
changing the path of a builtin shell.
|
|
|
|
| |
Submitted by: Max Okumoto <okumotu@ucsd.edu> (partly, initial version)
|
|
|
|
|
|
|
|
| |
and adjust the path in the Makefile for the upgrade_checks target.
These checks are really feature upgrade checks that should be fast
and just find out whether we need to build a new make before
proceeding with other targets like buildworld. This makes the
place free for a real regression test suite in the old place.
|
|
|
|
|
|
|
|
| |
by forcing the creation of an object directory for the make regression
tests. Let make handle the tracking of the dependency and installation
of test_shell script.
Submitted by: ru
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
that you create one of the object directories make knows (see make(1)).
This uses the -C flag, so add a test that checks that make actually accepts
-C. Also fix the test that selects csh via the .SHELL target to work for
tcsh users too.
This commit renames shell_test to shell_test.sh. There is no history
to preserve so go without a repo-copy.
Reviewed by: ru
|
|
|
|
|
| |
to the CVS-Meisters x-mode just happens to work, but is not guaranteed to
do so. Try to be on the safe side.
|
|
|
|
|
| |
output of shell_2j is actually correct - it just tests what make currently
does. Make should switch on echoing for the second line, shouldn't it?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
understood by Perl's Test::Harness module and prove(1) commands.
Update README to describe the new protocol. The work's broken down into
two main sets of changes.
First, update the existing test programs (shell scripts and C programs)
to produce output in the ok/not ok format, and to, where possible, also
produce a header describing the number of tests that are expected to be
run.
Second, provide the .t files that actually run the tests. In some cases
these are copies of, or very similar too, scripts that already existed.
I've kept the old scripts around so that it's possible to verify that
behaviour under this new system (in terms of whether or not a test fails)
is identical to the behaviour under the old system.
Add a TODO file.
|
| |
|
|
|
|
| |
in .MAKEFLAGS targets enable the regression test for this.
|
|
|
|
| |
Spotted by: ru
|
|
|
|
|
|
| |
they are not needed and will actually be printed.
Submitted by: ru
|
| |
|
|
|
|
| |
variable assignments via the MAKEFLAGS environment variable.
|
|
|
|
| |
of make/str.c.
|
| |
|
|
|
|
|
|
| |
and "foo/.." when ".PATH: foo" was also given.
PR: bin/34062
|
|
|
|
|
| |
Reminded by: bde
In memory of: alane
|
|
|
|
|
|
|
|
|
|
| |
warning: duplicate script for target "double" ignored
The regression-tests do try to hide that message, but the message does
still appear when using -j (eg: 'make -j5 buildworld'). This changes the
regression-test so the expected warning message will not be seen even
when -j is specified.
Reviewed by: jmallett ru
|
|
|
|
|
|
| |
make/parse.c (allow embedded `:' and `!' in target names).
Approved by: re
|
|
|
|
|
|
|
| |
belong (src/tools/regression/usr.bin/make), and use the latter
to test if make(1) is adequate for building the world.
Approved by: re
|
|
|
|
| |
errors/warnings related to crud in said test block.
|
|
|
|
|
| |
this isn't just for the sake of testing behaviour, and that things really
do break if this regression occurs.
|
|
|
|
| |
the right thing in every case. Yuck.
|
|
|
|
|
|
| |
expansion of embedded variables in the left-hand-side of an assignment
expression, using the simplest case - hiding recursion using nil-expanded
variables.
|