Commit Graph

16576 Commits

Author SHA1 Message Date
rillig
2e03ddb408 make(1): add test for bug in error handling of .BEGIN in -k mode 2020-11-24 19:02:59 +00:00
rillig
b4eade63ff make(1): add test for error in dependency of .END node in -k mode 2020-11-24 17:59:42 +00:00
rillig
c0b7bdab99 make(1): add test for missing "Stop" after error in .END 2020-11-24 15:36:51 +00:00
rillig
69e871d024 make(1): test that .PHONY targets are not resolved using suffix rules 2020-11-23 15:00:32 +00:00
martin
9b9b5e208c Add /dev/pts as standard mountpoint for a ptyfs. 2020-11-23 12:41:47 +00:00
rillig
fde9046190 make(1): add test for debug output from transformation rules 2020-11-22 23:45:20 +00:00
rillig
6bfc267595 make(1): add another unit test for suffix handling 2020-11-22 20:36:17 +00:00
rillig
43adeab6ec make(1): document the selection of the main target 2020-11-22 19:37:27 +00:00
rillig
27b9e4c5e6 make(1): add test for incomplete transformation rule 2020-11-21 10:32:42 +00:00
rillig
f40c84018a make(1): add test for self-referencing suffix rule
Just to ensure that make doesn't run into an endless loop.
2020-11-16 15:12:16 +00:00
rin
bdaedb86bc Correctly support aarch64eb and earmv7hfeb in a similar manner to
their little-endian counterparts.

Fix build failures for periodic binary snapshots.
2020-11-16 11:38:29 +00:00
jmcneill
86731f078b Use "efi" boot image platform ID. 2020-11-15 00:19:17 +00:00
rillig
0bd6f1df40 make(1): add test for the -t option in jobs mode 2020-11-14 15:35:20 +00:00
sjg
10eef09835 Add new make unit-test 2020-11-13 17:19:06 +00:00
maya
b8e4133b8f Hook up font-liberation-ttf to the build.
license ok'd by board.
2020-11-12 22:28:02 +00:00
christos
80a97e389b Add /var/games/warp 2020-11-11 19:56:09 +00:00
rillig
e0aa1a749c make(1): add more tests for parsing .if directives
The details of parsing are quite tricky and not documented in the manual
page.  Record the current behavior to be a little safer in future
refactorings.
2020-11-10 22:23:37 +00:00
kamil
994be4e978 Reintroduce the support of MKCATPAGES
Requested by <mrg>
2020-11-10 21:47:40 +00:00
kamil
2710a02cd6 Integrate Warp Kit into the NetBSD build
Fix the build and make it install and run with minimal required changes.
2020-11-10 08:49:08 +00:00
rillig
d5ad895255 make(1): move test for != assignments to var-op-shell 2020-11-09 20:39:46 +00:00
kamil
4189359aaa Remove the catman sets support
Remnant of MKCATPAGES
2020-11-09 12:12:08 +00:00
kamil
f3b4abb0cd Remove catman pages support
No longer relevant after the MKCATPAGES removal.
2020-11-09 01:05:51 +00:00
rillig
99b4cf5a91 make(1): in lint mode, only allow '&&' and '||', not '&' and '|'
These variants of the condition operators are neither documented in the
manual page nor are they used in practice.
2020-11-08 23:54:28 +00:00
kamil
f94f87c83f Move the html9/psref* files from comp-sys-catman to comp-sys-htmlman 2020-11-08 16:47:59 +00:00
rillig
fc3bb0099a make(1): add test for expanding variable expressions 2020-11-08 16:44:47 +00:00
kamil
4045d62396 Remove the support for MKCATPAGES
It was optional since 1999 and disabled by default since 2012.

Proposed on tech-userlevel@.
2020-11-08 14:52:35 +00:00
rillig
d30e3db9c1 make(1): add newly added test to file list 2020-11-08 02:33:18 +00:00
rillig
595e4d4033 make(1): add test for job command flags 2020-11-07 20:01:17 +00:00
martin
6d554402a1 Bump ramdisk size slightly 2020-11-06 18:36:20 +00:00
mrg
10773c0f60 mark pamu2fcfg(1) as pam so MKPAM=no sets work 2020-11-04 19:11:39 +00:00
rillig
5e72f6e7d2 make(1): add test for undefined variables in command line arguments
The variable discardUndefined has an implicit negation in its name,
which makes it hard to understand.  Plus, most of the time it is true.
It's better to have a flag that is false most of the time and has a
positive name.

On the first attempt of inverting that variable, I stumbled upon
MainParseArgs, which initially leaves discardUndefined == FALSE, and
after handling the dashed options, sets it to TRUE.  This would make a
difference when more command line arguments would be added later via the
.MAKEFLAGS special target.

Upon further inspection, the only place where discardUndefined is used
is in VarAssign_EvalSubst in parse.c, and that place is not reachable
from any of the dashed options.  Therefore, discardUndefined could
already be set at the very beginning of MainParseArgs or even when
initializing the global variable itself, without any observable
difference.

Not even the ::= variable modifier could do anything about this since it
is not reachable from the dashed command line options as well, and in
addition, it expands its right-hand side in any case, always discarding
undefined variables.  Oh, these little inconsistencies everywhere.
2020-11-04 04:24:57 +00:00
rillig
f7a7da5460 make(1): move tests from directives.mk to separate tests 2020-11-03 17:17:31 +00:00
rillig
2d4a31316a make(1): add test for parse errors in commands in lint mode (-dL)
The difference to non-lint mode is that the exit status is now 2 instead
of 0.
2020-11-02 20:43:27 +00:00
rillig
1d4c05cdbb make(1): add test for parse errors in shell commands, compat mode 2020-11-02 20:20:42 +00:00
rillig
bce24e830b remove extraneous tab, sort entries alphabetically (by fmt-list) 2020-11-02 20:16:26 +00:00
rillig
628f696d97 when formatting a file list, exit on errors
This is needed to regenerate distrib/sets/lists/tests/mi for adding
another test in usr.bin/make.
2020-11-02 20:14:01 +00:00
khorben
4e356941bc PR/55747: Tobias Nygren: Install manpages for pam-u2f
I have generated the manual pages and referenced them into the sets.
It would probably help to add a Makefile rule, indicating how to
generate the manual pages again.

Tested with "build.sh release" on amd64.

Reviewed by Tobias Nygren before the commit.
2020-11-02 06:40:11 +00:00
mrg
d7e8667f16 add missing files (one from me, one from someone else :-) 2020-11-02 00:29:49 +00:00
christos
78d65f1893 Add tests for col 2020-11-01 22:31:28 +00:00
pgoyette
36e147d608 Update sets lists for new compat_netbsd32_coredump module 2020-11-01 18:51:34 +00:00
uwe
3f54244104 Install ddb(9). Xref it from ddb(4). 2020-10-31 22:43:01 +00:00
rillig
a29ccc8f84 make(1): add test for recursive variable expressions 2020-10-31 11:30:56 +00:00
rillig
c85f19149b make(1): merge the SysV modifier tests into varmod-sysv 2020-10-31 11:06:24 +00:00
rillig
fbea726624 use the same indentation for all libcurses test files 2020-10-31 11:03:18 +00:00
nia
bf99f1741c xorg: retire XTrap library and sample clients
the DEC-XTRAP extension is deprecated since 1994, so modern X servers do
not support it

the library was removed from pkgsrc last year and is not required by
anything not-sample-client related in src

if you try to query the protocol on netbsd, you get the following:

$ xtrapproto
Display:  :0.0
Warning: Can't load DEC-XTRAP extension
xtrapproto: could not initialize extension
2020-10-28 08:10:08 +00:00
nia
4640ade553 xorg: obsolete libXevie
this is a library for an X server extension that the modern Xorg server
does not have.

it no longer has any users in src or pkgsrc.
2020-10-27 13:42:22 +00:00
ryo
0b42d22ad0 move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling
- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
  and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
2020-10-27 08:57:10 +00:00
nia
07022a1965 Unhook libglut (MesaGLUT) from the build.
The GL Utility Library was formerly a core part of most OpenGL
distributions.

Originally, this version of libglut was developed as part of Mesa (the
primary OpenGL implementation used in NetBSD) before it was mostly abandoned
and work moved to the freeglut fork. It provides a platform-neutral way of
creating OpenGL contexts, something that many other libraries can also do
today (e.g. SDL, glfw).

All users in pkgsrc have been switched to the freeglut fork and there are no
remaining users of this library in src. If having a GLUT implementation in
base turns out to be particularly useful outside of compatibility with
previous NetBSD versions, we can import freeglut (which, AFAIK, is also
ABI compatible with MesaGLUT).
2020-10-25 16:59:27 +00:00
kamil
fe62285e60 Install the NetBSD XML syscall definitions 2020-10-24 05:01:57 +00:00
blymn
e3b984d959 Add new tests and check files for libcurses from the Google Summoer of Code
project.
2020-10-24 04:47:43 +00:00