Commit graph

20 commits

Author SHA1 Message Date
rillig
1467f17803 pkgtools/pkg_regress: update to 0.6
Changes since 0.5:

mktemp does not use a file pattern anymore. That file pattern had the
effect that all temporary files had the same name: /tmp/pkg_regress.
2020-02-15 14:40:45 +00:00
rillig
7efaf56ff6 pkgtools/pkg_regress: update to 0.5
Changes since 0.4:

The log output in verbose mode surrounds each test now and says
immediately whether that test fails. Before, that information was
collected and only shown at the very end of the output, which was
inconvenient.
2019-12-17 15:38:43 +00:00
rillig
5cf7cc4899 pkgtools/pkg_regress: update to 0.4
Changes since 0.3:

* when a regression test fails, the exit code of pkg_regress is 1
  instead of 0.
2018-11-30 19:07:37 +00:00
rillig
37fc828b14 pkgtools/pkg_regress: use SUBST framework for placeholders 2018-11-30 18:42:12 +00:00
rillig
6e7663a945 Don't fail when a regression test uses "set -eu". 2016-06-11 10:31:06 +00:00
rillig
976236ae26 Updated pkg_regress to 0.3.
Changes since 0.2:

* provide usage message when called with invalid options
* moved do_test_default() from public API section in the source
* renamed private variables to not be in uppercase
* indented consistently
* replaced unnecessary ${VAR} with simple $VAR
* moved actual test execution into its own function
* when invoked with the -v option, announce which test will be run
2016-06-11 09:37:16 +00:00
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
obache
34637a70ac Just define PKGNAME and use it. 2014-03-03 03:30:52 +00:00
asau
5c2dd9e784 "user-destdir" is default these days 2012-09-11 23:19:33 +00:00
wiz
190f164226 Reset maintainer, he resigned. 2012-03-01 22:42:31 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
heinz
3394442d47 Added support for installation to DESTDIR. 2008-02-02 17:36:40 +00:00
rillig
9082445842 Updated pkg_regress to 0.2.
Changes since 0.1:
- Improved error messages.
- Made the code simpler.
2006-07-10 12:44:19 +00:00
rillig
92d6f0ad3e Took maintainership. 2006-05-09 02:42:43 +00:00
rillig
2348fcf70d As long as pkg_regress is not mentioned in the pkgsrc guide, it does not
deserve to have the pkgsrc guide as a homepage.
2005-11-19 20:41:12 +00:00
wiz
2392e577cd Refer doc/pkgsrc.html instead of Packages.txt (HOMEPAGE variable). 2005-05-07 22:24:04 +00:00
gavan
3c495e7aeb Move invocation of make into a do_test_default, and provide overridable
function do_test, which by default just invokes do_test_default.

For jlam's overriding pleasure.
2005-05-07 15:45:59 +00:00
gavan
dd6e5ecb4c Portability fixes. 2004-10-13 13:42:23 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +00:00
gavan
43dd935ff8 Add pkg_regress, a regression testing system for the pkgsrc infrastructure.
Tests are found in pkgsrc/regress, tests are run by executing pkg_regress.

Based on an idea discussed at pkgsrcCon 2004. Thanks to dillo@ for review
and refinements, and to jlam@ for review.
2004-08-28 00:26:57 +00:00