Hartmut Brandt
7b54cdda4e
Add some regression tests for the .SHELL target. I'm not sure that the
...
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?
2004-11-25 10:03:29 +00:00
Nik Clayton
00e13b1d67
Switch over to a different, more flexible test output protocol that's
...
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.
2004-11-11 19:47:55 +00:00
Ruslan Ermilov
9a5cf32635
Add a regression test for the alternate shell specification.
2004-10-23 21:38:58 +00:00
Hartmut Brandt
215431deb0
Now that make more correctly handles variable assignments
...
in .MAKEFLAGS targets enable the regression test for this.
2004-08-12 19:14:10 +00:00
Hartmut Brandt
cfe632eaba
Back out something I'm working on that crept in with the last commit.
...
Spotted by: ru
2004-08-05 09:11:44 +00:00
Hartmut Brandt
82eb7072de
Remove extra spaces. Remove double quotes around error messages -
...
they are not needed and will actually be printed.
Submitted by: ru
2004-08-05 08:44:00 +00:00
Hartmut Brandt
c997f47be0
Add another test that checks for a working '+' command flag.
2004-08-05 07:24:06 +00:00
Hartmut Brandt
48ec21e7e6
Add a regression test for the passing of command line
...
variable assignments via the MAKEFLAGS environment variable.
2004-08-04 07:40:58 +00:00
Ruslan Ermilov
99d3652e69
Add a test for what was broken in rev. 1.28 and fixed in rev. 1.29
...
of make/str.c.
2004-01-30 09:46:28 +00:00
Ruslan Ermilov
9608d7e2cd
Add a test for what was fixed in revs. 1.28 and 1.29 of make/str.c.
2004-01-29 22:51:36 +00:00
Ruslan Ermilov
21159d1687
Fix a bug that prevented exists() from finding "foo/", "foo/."
...
and "foo/.." when ".PATH: foo" was also given.
PR: bin/34062
2003-10-02 21:30:30 +00:00
Ruslan Ermilov
c94d70434f
Fixed broken arithmetic expression parser.
...
Reminded by: bde
In memory of: alane
2003-07-04 13:33:48 +00:00
Garance A Drosehn
413a16d889
The regression-tests for 'make' *expect* to trigger make's warning:
...
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
2003-02-10 19:56:42 +00:00
Ruslan Ermilov
be8b43b4c7
Add a test for what was fixed in revisions 1.39 and 1.50 of
...
make/parse.c (allow embedded `:' and `!' in target names).
Approved by: re
2002-11-28 13:21:32 +00:00
Ruslan Ermilov
113cf9e649
Moved make(1) regression tests from src/Makefile to where they
...
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
2002-11-28 13:08:09 +00:00
Juli Mallett
5661d4a7b9
Hide the test in <target> under '.if make(<target>)' so as to not get any
...
errors/warnings related to crud in said test block.
2002-10-25 06:17:44 +00:00
Juli Mallett
89d22e2f06
As of revision 1.38 of make/parse.c, our make(1) will warn too. Note that
...
this isn't just for the sake of testing behaviour, and that things really
do break if this regression occurs.
2002-07-28 03:57:08 +00:00
Juli Mallett
6d5fda5fd5
Grrr, make the test for embedded variables in the left-hand-side actually do
...
the right thing in every case. Yuck.
2002-06-20 03:08:20 +00:00
Juli Mallett
0aa9e01c51
Add a test for what was fixed in revision 1.27 and 1.28 of make(1)'s var.c,
...
expansion of embedded variables in the left-hand-side of an assignment
expression, using the simplest case - hiding recursion using nil-expanded
variables.
2002-06-19 18:57:04 +00:00
Juli Mallett
a9b736ad72
Add a regression test for bin/5297, regarding sysv substitution with a nil
...
left-hand-side.
2002-05-05 19:02:30 +00:00
Juli Mallett
624abf8519
Prefix tests with PASS and FAIL, to make grepping easier, and note this in
...
the README.
This affects only the base-system regression tests, of course.
2002-04-27 02:26:23 +00:00
Juli Mallett
6d3ca9de2c
Check to see if make(1)'s handling of doubly-defined targets is busted or
...
not. A lot relies on this.
2002-04-21 00:41:37 +00:00
Juli Mallett
6541d27cad
Add a test of variable evaluation and substitution for make(1), as a start
...
of tests for it.
2002-04-20 20:57:00 +00:00