Commit Graph

16576 Commits

Author SHA1 Message Date
rillig
a989a4e99f make(1): add test for looking up suffixes 2020-10-24 02:25:02 +00:00
rillig
f686c5aa1f make(1): add test for dependencies of the form '%.o: %.c' 2020-10-23 19:54:35 +00:00
rillig
f1f99ad284 make(1): add test case in which .BEGIN depends on .END
Just for fun.
2020-10-23 19:23:00 +00:00
rillig
67a0f8d800 make(1): add test for the '::' dependency operator 2020-10-23 19:11:30 +00:00
rillig
4fa705e6c5 make(1): move tests from cond2.mk to varmod-ifelse.mk 2020-10-23 14:24:51 +00:00
rillig
2290e324ad make(1): add test for .ERROR_CMD in jobs mode 2020-10-23 06:18:23 +00:00
maya
d7187d6c73 Build fixes for freetype 2.10.4 2020-10-21 15:12:15 +00:00
nia
e3bcf8bd2d Improve instructions for getting you a pkgsrc.
Use awge on evbarm.
2020-10-21 07:46:22 +00:00
rillig
3e905e9da4 make(1): split test suffixes.mk into simpler, isolated tests
The code in suff.c is already hard to understand, and so were the tests
in suffixes.mk since several independent topics were merged into a
single test.

Splitting this test into a separate test per issue allows to document
the expected and actual behavior in more detail.  That's complicated
enough already.

PR bin/49086
2020-10-20 20:36:53 +00:00
rillig
7fb19ed146 make(1): add test for turning a target into a transformation 2020-10-18 16:33:18 +00:00
rin
1cdc8960cb Fix build for mips; move from mi to module.mi debug symbols for
test cases only available when MKKMOD=yes.
2020-10-18 10:10:18 +00:00
ryo
43c43af826 in my previous commit, entries before the move must be obsolete rather than removed
pointed out by nonaka@, thanks
2020-10-16 15:40:40 +00:00
rin
0699e316fe Add missig t_convert_xmm_s87.debug to fix build with MKDEBUG=yes. 2020-10-16 11:09:32 +00:00
nia
0ac8b018bc Add xcompmgr 2020-10-16 10:32:52 +00:00
nia
f00cc4dd89 Hook up xcompmgr to the build 2020-10-16 08:28:17 +00:00
mgorny
9a479d9096 Try to fix tests/sys/x86 again
Thank to Martin Husemann for the suggestion.
2020-10-16 07:12:26 +00:00
mgorny
1373f641d4 Move the new x86 test into x86-specific lists 2020-10-15 22:15:08 +00:00
mgorny
268edb6f45 Add tests for process_xmm_to_s87() and process_s87_to_xmm() 2020-10-15 17:44:44 +00:00
jmcneill
8ec3504b1d Only add iso_image target for aarch64 2020-10-15 08:59:57 +00:00
ryo
d87a4d00ad vmx(4) should be MI. moved to sys/dev/pci from sys/arch/x86/pci 2020-10-14 10:19:10 +00:00
nia
ad94c89804 Automatic font scaling based on screen size in the default ctwm config.
Based on a shell script which gets the DPI from the X server, and if this
fails, attempts to guess based on resolution. Taking advantage of M4 macros
in the ctwmrc, we can also scale the workspace manager and window list.

The following sizes are supported: 6x12 (<800x600) 8x16 12x24 (4k and higher)
16x32 32x64

Also makes Spleen the default font in ctwm
2020-10-12 11:07:23 +00:00
nia
369baf1326 Generate oldschool Latin-1 variants of Spleen fonts.
Needed so ctwm can load them. ctwm uses XCreateFontSet which for some
reason seems adverse to returning UTF-8 fonts...
2020-10-11 17:49:07 +00:00
jmcneill
2daa1c2c88 Exclude live images from install media 2020-10-11 14:54:08 +00:00
jmcneill
25ebdff55f Create a bootable El Torito installation ISO. 2020-10-11 14:24:50 +00:00
jmcneill
3794e8818c Sync with amd64 2020-10-11 14:24:31 +00:00
jmcneill
fe29b3ea10 Include newfs_msdos 2020-10-11 14:10:34 +00:00
jmcneill
e64bf27803 Copy release to /${RELEASEMACHINEDIR} instead of /${MACHINE} to match
sysinst expectations.
2020-10-11 14:10:04 +00:00
nia
922a346a2e Switch to the same hack in pkgsrc for avoiding bitmap fonts on the web
Just for consistency's sake, and making it easier to disable this if
someone wants to do that.
2020-10-10 09:17:33 +00:00
nia
4f713b22cd hook up X11 "Spleen" fonts to the build 2020-10-10 08:33:29 +00:00
rin
9a73b3e67e Fix MKDEBUG=yes build for hppa. 2020-10-10 06:10:54 +00:00
macallan
b329d54d54 set list for hppa 2020-10-09 04:32:58 +00:00
rillig
92250d426d make(1): move test for .CURDIR from misc.mk to varname-dot-curname.mk 2020-10-08 19:09:08 +00:00
skrll
45faa84740 Mark US/Pacific-New obsolete 2020-10-08 14:22:21 +00:00
rin
95f08238e2 Revert the previous again; miniroot overflows this time...
- switch to x_disklabel (drop non-native label support)
- switch to x_fsck_ffs and x_newfs (drop byte-swapped and Apple UFS support)
- switch to more
2020-10-06 13:32:41 +00:00
rin
607f089e82 Try to fix ramdisk overflow (somehow build succeeds without fix for me);
drop mount_{cd9660,nfs} as cd(4) and NFS are disabled for RAMDISK kernel.
2020-10-04 23:50:59 +00:00
rin
b335f2f241 Revert previous; ``fix'' against wrong directory... 2020-10-04 23:42:43 +00:00
rin
a9c87449c2 Fix ramdisk overflow:
- switch to x_disklabel (drop non-native label support)
- switch to x_fsck_ffs and x_newfs (drop byte-swapped and Apple UFS support)
- switch to more
2020-10-04 09:42:48 +00:00
rin
5958de7d2a Fix miniroot overflow by switching to x_fsck_ffs and x_newfs
(drop byte-swapped and Apple UFS support).
2020-10-04 09:34:18 +00:00
rillig
65f1297096 make(1): add tests for parsing assignments, especially :sh
Luckily nobody uses the :sh variable assignment modifier since its
syntactical variant != is simpler.
2020-10-04 06:53:15 +00:00
rillig
00e17f17bf make(1): add unit test for the Towers of Hanoi puzzle 2020-10-03 20:34:06 +00:00
christos
f717d52b2d bump libc for set_rpc_maxgrouplist 2020-10-03 18:35:21 +00:00
christos
f0047c9ccc add set_rpc_maxgrouplist 2020-10-03 18:33:52 +00:00
rillig
227e2c03bb make(1): add tests for the various supported shells 2020-10-03 14:39:36 +00:00
rillig
1c85acad23 make(1): add tests for parsing and exporting variables
Once again, there are a few surprises deeply hidden inside the edge
cases.
2020-10-02 20:34:59 +00:00
pgoyette
055829b56d Fix up the debug stuff for if_tap and if_vether 2020-10-01 02:00:04 +00:00
christos
9b07800afe Add missing lint library 2020-09-30 17:11:31 +00:00
roy
9357589466 Add rump_open_tap 2020-09-30 14:54:33 +00:00
roy
428927374e vether(4): Add ATF tests based on the tap(4) tests. 2020-09-29 19:41:48 +00:00
roy
6c00c3be34 rumpify vether(4) 2020-09-29 18:33:22 +00:00
msaitoh
57920690e6 s/occurence/occurrence/ 2020-09-29 02:58:51 +00:00
msaitoh
811d5a8b03 s/parition/partition/ 2020-09-29 02:49:55 +00:00
rillig
84d053a33b make(1): add test for merging long lines of job output 2020-09-27 20:11:33 +00:00
roy
4b44dc0b5e vether: Implement a virtual ethernet interface
The vether interface simulates a normal Ethernet interface by encapsulating
standard network frames with an Ethernet header, specifically for use as
a member in a bridge(4).

To use vether the administrator needs to configure an address onto the
interface so that packets can be routed to it. An Ethernet header will
be prepended and, if the vether interface is a member of a bridge(4),
the frame will show up there.

Taken from OpenBSD.
2020-09-27 13:31:04 +00:00
jmcneill
c9f4e317e7 Add HAVE_NVMM and use it to control the build of NVMM related components.
Defined to "yes" on amd64, "no" everywhere else.
2020-09-26 17:49:49 +00:00
skrll
584896eb82 G/C arm/atomic.h 2020-09-26 10:06:25 +00:00
rillig
6c4e4cfc20 make(1): add test for harmless bug in Parse_File
When there is a dependency group at the end of a top-level makefile,
this dependency group is not finished properly.  This allows to add
further commands to the targets of this dependency group, which was not
intended.
2020-09-25 23:24:49 +00:00
rillig
b4b854cf1c make(1): add test for deleting the suffixes during parsing 2020-09-25 18:18:25 +00:00
rillig
df955ddda3 make(1): add test for partial expansion of undefined variables 2020-09-25 05:56:59 +00:00
pgoyette
47b23bc72c As indicated at the top of the file, don't simply remove entries. Instead
we need to mark them "obsolete" so they will get removed if already in the
$DESTDIR
2020-09-24 14:14:18 +00:00
nia
499e9f4300 add a script for dynamically generating a menu in the ctwm desktop
this parses the files in /usr/pkg/share/applications and provides a
submenu for launching applications.

TODO: make /usr/pkg configurable somehow?
2020-09-23 15:30:36 +00:00
rillig
cf2410f348 make(1): add variant of the counter test
I had expected that using the ::+= modifier instead of the ::= modifier
would work, since the assignment modifier for COUNTER no longer contains
a reference to itself.  But instead of ending up at 4, the counter even
goes up to 6.
2020-09-23 03:33:54 +00:00
rillig
84ce7c67b4 make(1): fix assertion failure in -j mode with .END node
There had been two separate global variables for the .END node, and in
parallel mode, only the one in jobs.c was initialized.

The code in JobRun heads over to Compat_Make without calling Compat_Run
first, which left the variable ENDNode uninitialized.
2020-09-23 03:06:38 +00:00
nia
c17662fdc1 remove getentropy 2020-09-22 23:12:06 +00:00
snj
fde9d6c257 alpha: GENERIC.MP is no more 2020-09-22 02:53:52 +00:00
kamil
8f03799314 Add new RTLD test file for r_debug
New tests:
 - self
 - dlopen

Both check whether the r_debug structure seems to be well-formed, without
and with a dlopen(3) call.
2020-09-22 01:09:32 +00:00
kim
7448e6b5a0 Add MLINKS for empb.4 2020-09-21 14:03:15 +00:00
nia
cb99bd5907 ancient ARM stuff 2020-09-16 09:58:37 +00:00
mrg
284829f6eb bump bebox and prep image sizes for GCC 9. 2020-09-15 08:13:51 +00:00
nia
2cfdce2a15 new dtb set needs reflecting in instructions 2020-09-15 07:15:21 +00:00
mrg
ebc1bdaad3 actually, disable tsan on everything but amd64.
it fails to build on mips64 and arm64 for me as well as others..
2020-09-15 07:00:03 +00:00
mrg
5fd8bd8464 mark tsan files as !machine=sparc64. 2020-09-15 06:22:33 +00:00
rillig
10c6f48261 make(1): add test for undefined expressions in conditions in lint mode 2020-09-14 06:44:50 +00:00
rillig
b444745605 make(1): add tests for numbers in conditions 2020-09-14 06:22:59 +00:00
rin
0ed4729c3f Revert previous to make iscsi kernel headers optional again, as
required by kamil.

Now, sanitizer in GCC9 has been fixed differently for MKISCSI=no.
2020-09-14 00:40:02 +00:00
rin
0bb512d8c8 Revert previous to make iscsi kernel headers optional again, as
required by kamil.

Now, sanitizer in GCC9 has been fixed differently for MKISCSI=no.
2020-09-14 00:40:01 +00:00
mrg
b9e25dab96 fix earmv7eb builds -- add the dtb set items. 2020-09-14 00:01:51 +00:00
rillig
edc36b2d67 make(1): add recently added tests to distrib file list 2020-09-13 13:03:15 +00:00
kamil
0de11bbf9c Currently restrict GCC TSan files to gcc=9 2020-09-13 03:43:16 +00:00
kamil
4b3dee3027 Build and install GCC TSan for 64-bit CPUs 2020-09-13 02:37:31 +00:00
jmcneill
0d54a9589a Add HAVE_ACPI and HAVE_UEFI flags to bsd.own.mk and use them to
conditionally include ACPI and UEFI bits instead of relying on adhoc
MACHINE_ARCH tests.
2020-09-12 15:25:41 +00:00
roy
c04fae54cf Include nd.h in sets 2020-09-12 12:11:19 +00:00
jakllsch
66078c4dd6 Limit bootarm.efi expectation further.
Should fix iyonix, and zaurus builds.  Also probably fixes all oarm AKA
'arm' builds too.
2020-09-11 15:21:48 +00:00
jmcneill
f2c0a93275 Build acpi tools and iasl on aarch64eb, and fix set lists for MKDEBUG. 2020-09-11 14:06:00 +00:00
jakllsch
0fe0802f28 fix earmv7hfeb set list for bootarm.efi
Do this by explicitly marking all the non-earmv7hf* arm archs as not wanted,
because the set lists processor doesn't have a better way to be told.
2020-09-10 15:17:23 +00:00
martin
18aaa0a559 Add iavf 2020-09-10 04:56:00 +00:00
rin
6aef683d05 Unconditionally install kernel headers for iSCSI as required by
sanitizer shipped with GCC9.

Fix build release with HAVE_GCC=9 for sun2, where MKISCSI=no by default.
2020-09-10 01:53:22 +00:00
kamil
b1012e3f8c Register getrandom.0
Fixes MKCATPAGES=yes build.
2020-09-09 14:38:41 +00:00
jmcneill
e3afd33ec2 Look for the string "amazon" in a few different sysctl nodes. There doesn't
seem to be a single spot to check that works with both XenPVHVM and KVM
instances.
2020-09-09 13:25:48 +00:00
mrg
154bfe8e08 install new libstdc++ pstl headers. remove some dead makefile
code and consolidate some of the header installation.
2020-09-09 07:23:45 +00:00
mrg
949f2e0433 add new /usr/include/g++/pstl for GCC 9. 2020-09-09 06:50:33 +00:00
rillig
1276186758 distrib/sets/fmt-list: add no-action mode
This is useful for finding parse errors only.  Inspired by some entries
that are obsolete and have more than the "obsolete" flag.  There are
only few of these entries though, and they don't seem worth fixing.
2020-09-08 19:11:30 +00:00
rillig
45a9907314 lists/man/mi: remove extraneous space 2020-09-08 19:06:49 +00:00
jmcneill
6a59eace58 Build EFI bootloader on big endian armv7 and aarch64 targets. 2020-09-08 16:39:36 +00:00
martin
e6dd42d44f Add if_iavf 2020-09-08 14:57:32 +00:00
martin
bdb3c472cf Remove if_iavf 2020-09-08 14:55:44 +00:00
martin
3f05a659fd Add if_iavf 2020-09-08 14:53:10 +00:00
christos
cf8329dab9 Add bind test 2020-09-08 14:17:03 +00:00
adam
1575e0afaa Restore libgomp, liblsan, and libstdc++ as GCC-only 2020-09-08 13:01:47 +00:00
martin
fdb483b5a5 Adjust for MOUNTCRITLOCAL -> CRITLOCALMOUNTED rename 2020-09-08 12:52:44 +00:00
yamaguchi
f474b47c56 Added iavf(4) that is based on OpenBSD's iavf(4) implementation
reviewed by msaitoh@n.o and knakahara@n.o
2020-09-08 10:05:47 +00:00