The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/export.exp

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Wed Feb 9 18:54:19 2022 UTC (11 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

tests/make: use more distinctive placeholder for TMPDIR

Revision 1.6 / (download) - annotate - [select for diffs], Sat Feb 6 18:26:03 2021 UTC (2 years ago) by sjg
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

Avoid test failures when more than one user run them.

Use a private  TMPDIR
a subdir of .OBJDIR if using it
otherwise /tmp/uid${.MAKE.UID}

Revision 1.5 / (download) - annotate - [select for diffs], Sat Oct 10 19:25:19 2020 UTC (2 years, 3 months ago) by sjg
Branch: MAIN
Changes since 1.4: +0 -1 lines
Diff to previous 1.4 (colored)

Limit output of export tests to POSIX compatible env vars

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 22 19:30:58 2020 UTC (2 years, 5 months ago) by sjg
Branch: MAIN
Changes since 1.3: +0 -1 lines
Diff to previous 1.3 (colored)

Add .SHELL as read-only variable

The .SHELL variable represents the shellPath used to run
scripts.

Reviewed by: rillig, christos

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 27 19:53:37 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

make(1): add test for exporting single-character variables

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 27 19:45:56 2020 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

make(1): prepare test for .export to show all exported variables

Currently the unit tests don't cover exporting of local variables like
.TARGET or @.  To see the effects, all exported variables must be listed
by the tests.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Aug 21 13:44:51 2014 UTC (8 years, 5 months ago) by apb
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan

Give each group of tests its own output file.

* Rename each sub-makefile to *.mk;
* Add a *.exp file of expected output for each sub-makefile;
* Remove test.exp, which is replaced by all the other *.exp files.
* Use suffix rules to generate *.rawout and *.out files for
  each test case.
* Rewrite the test and accept targets to adapt to the new way.

The old (now removed) test.exp file is almost identical to the
concatenation (in the correct order) of all the new *.exp files.  There
are expected differences in makefile names embedded in the output, and
the new "exit status" lines.  Some old "*** Error code 1 (ignored)"
lines are also removed (replaced by new "exit status 1" lines).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>