Commit graph

27 commits

Author SHA1 Message Date
wiz
86a6754eff regress/Makefile: add reasons for commenting out entries 2019-12-12 04:35:21 +00:00
wiz
4222b21e25 regress: comment out two directories without Makefiles 2019-12-08 10:22:09 +00:00
rillig
9a544993f5 regress/check-perms: add test for broken CHECK_PERMS_AUTOFIX
The variable CHECK_PERMS_AUTOFIX has been existing since 2006 but is not
used in any package. This may be because it is not helpful in any way.
When a package sets this variables to yes, the permission errors are not
silently fixed, but the build still fails instead. This behavior is not
useful in any way and thus needs to be fixed.

See https://mail-index.netbsd.org/tech-pkg/2019/08/thread1.html#021828
2019-09-19 23:53:36 +00:00
rillig
7c3ef3e6ea lang/python: fix PYVERSSUFFIX escaping for print-PLIST
Before, the filename "3270" was wrongly replaced with "${PYVERSSUFFIX}"
since the version number "3.7", when interpreted as a regular expression,
matched that filename.
2019-07-17 18:34:16 +00:00
rillig
51148ded41 regress: add gnu-configure-strict to SUBDIRS 2019-05-04 15:17:39 +00:00
rillig
40cf71365f regress/infra-unittests: add small framework for testing mk/ with mocks 2019-03-21 21:45:30 +00:00
rillig
8f1611a664 mk/misc: in show-all, list values of *_ENV and *_ARGS in separate lines
The *_ENV and *_ARG values are typically very long, and reading them in
a single line is unnecessarily difficult. Therefore, each of their
values is listed on a separate line, for example:

fetch:
  usr   DIST_PATH (undefined)
  pkg   MASTER_SITES = \
                http://ftp.gnome.org/pub/GNOME/sources/glib/2.56/ \
                ftp://ftp.gnome.org/pub/GNOME/sources/glib/2.56/ \
                ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/glib/2.56/ \
                https://download.gnome.org/sources/glib/2.56/ \
                # end of MASTER_SITES
  pkg   DIST_SUBDIR (undefined)
2018-11-10 10:40:55 +00:00
rillig
3e7546a87d regress: Add a link to the pkgsrc guide 2018-11-09 06:48:27 +00:00
rillig
9f0d7cea03 regress: add env-vars 2018-11-09 06:46:35 +00:00
rillig
61e1811b4f Added regression test for portability checks. 2016-06-11 10:48:28 +00:00
rillig
6aecf48699 Added mk/misc/category.mk, which contains the definitions that are only
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is
also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13 08:12:41 +00:00
rillig
934cb486d6 Added a regression test for the SUBST framework, especially the newly
introduced SUBST_VARS.
2007-03-07 21:22:20 +00:00
ben
be2571a4ab Add make-env-phases. 2006-09-06 03:37:54 +00:00
rillig
a60185601f Added a testcase for the pkgsrc compilers. 2006-07-11 05:03:11 +00:00
rillig
e3d9249334 Added a test for the new pkgsrc barriers. It currently fails, but should
not.
2006-07-10 12:47:26 +00:00
rillig
bd2759ab0e Added a regression test for the TOOLS framework. 2005-11-19 21:28:35 +00:00
rillig
2065c61c76 Converted the Makefiles to the "category normal form", as required by
pkglint.
2005-08-06 20:33:56 +00:00
rillig
59f189819b Added the pkg-options regression test. 2005-05-19 10:08:56 +00:00
rillig
6a8f3844ac Added make-quoting. 2005-05-15 21:11:22 +00:00
jlam
359f88c945 Add and enable bootstrap-install-sh. 2005-05-08 09:51:59 +00:00
gavan
669081be1d New test to verify that the USE_GNU_TOOLS mechanism works while building
a different GNU tool.

For now, this test fails if flex or bison are already installed. This is
suboptimal, but the alternatives (choosing a different PKG_DBDIR and
LOCALBASE) are difficult to implement at the individual test level.
2005-02-12 14:45:53 +00:00
jmmv
3ad65effe6 Add and enable print-plist. 2004-09-08 15:04:45 +00:00
jlam
c335163e9d Add and enable buildlink-libtool. 2004-08-30 04:44:27 +00:00
jlam
a57b0a61e6 Add and enable buildlink-unwrap. 2004-08-28 06:18:39 +00:00
gavan
27dc9f9dd9 Add pkgfail, a simple regression test which ensures that PKG_FAIL_REASON works.
This test serves as a simple example of how to write a regression test.
2004-08-28 00:19:17 +00:00
jlam
2e74a2e65d Add and enable buildlink-transform. 2004-08-27 21:35:21 +00:00
jlam
d76ad0b5cd Add a new "regress" category for pkgsrc regression testing code. We
don't descend into this directory for anything since these packages aren't
packages in the normal sense, since they're not expected to install or
package correctly.
2004-08-27 21:32:55 +00:00