Commit Graph

214992 Commits

Author SHA1 Message Date
msaitoh ecf9d1862b - Delete "no" entries for mvsdio sdmmc sbt and ld. The bug was fixed.
- Delete mvpex, pci, pchb, mvsata, atabus and wd. These are defined in
  conf/SHEEVAPLUG
2012-12-03 23:41:35 +00:00
pgoyette 430b860e38 Christos fixed the crash in ipftest, so re-enable the failing tests. 2012-12-03 23:39:30 +00:00
msaitoh dd1ebdfb0c - Add MSGBUFSIZE=32768 because 4K is very small
- Add commented out entry for MVGBE_EVENT_COUNTERS
- Comment out COPTS="-O1"
- Enable mvpex, pci and pchb to share with OPENRD
- Enable mvsata to share with DREAMPLUG
- Enable mvsocgpp, gpio, atabus and wd
2012-12-03 23:38:29 +00:00
pgoyette 0a24a43187 Add a couple more inet6 tests to verify correct rule parsing 2012-12-03 21:29:15 +00:00
pgoyette eef4456861 Include an explicit test for correctly inferring family inet6 when there
is an IPv6 address in the rule
2012-12-03 20:43:59 +00:00
pgoyette 5d29dd1420 Now that expected output files have been adjusted, we can remove the
expectation that tests i14 and i19 will fail.

Should address kern/47262 which will be closed.
2012-12-03 19:43:36 +00:00
pgoyette aaf9c67393 Without explicit address, the address family is not inferred and not
displayed in the output.
2012-12-03 19:42:00 +00:00
pgoyette b757daddb1 For rules without any address, don't infer an address family. 2012-12-03 19:35:33 +00:00
christos 5c13de37e7 PR/47270: Paul Goyette: ipftest -N aborts
1. check for NULL before de-refencing; in particular sel is assigned to NULL,
   in the default case, and then couple of lines down we do sel->
2. gcc appears to optimize u_32_t hash[4], to u_32_t hash, since we only
   use hash[0], disregarding the fact that we pass it to MD5Final() leading
   to stack corruption. Use an explicit union, so that the compiler stops
   butting its head where it shouldn't.

XXX: pullup to 6
2012-12-03 18:30:25 +00:00
agc 28853c6d2d Make the mp_digit type an "unsigned long" so that it works for ILP32 and
LP64.

Fixes problems showing up on regression tests on i386 (which work fine on
amd64) i.e. turn:

	t_netpgpverify (1/1): 2 test cases
	    netpgpverify_dsa: [0.309746s] Failed: atf-check failed; see the output of the test for details
	    netpgpverify_rsa: [0.183148s] Passed.
	[0.495102s]

	Failed test cases:
	    t_netpgpverify:netpgpverify_dsa

	Summary for 1 test programs:
	    1 passed test cases.
	    1 failed test cases.
	    0 expected failed test cases.
	    0 skipped test cases.

into:

	t_netpgpverify (1/1): 2 test cases
	    netpgpverify_dsa: [0.236076s] Passed.
	    netpgpverify_rsa: [0.154680s] Passed.
	[0.393034s]

	Summary for 1 test programs:
	    2 passed test cases.
	    0 failed test cases.
	    0 expected failed test cases.
	    0 skipped test cases.
2012-12-03 18:02:22 +00:00
apb 3e31590ff0 Add src/etc/Makefile.params, containing the definition of the
RELEASEVARS variable, and commands related to printing the values of
the variables whose names are in RELEASEVARS.

Add an awk script to remove noise printed by "make -j" or high levels
of MAKEVERBOSE, so we get only the variables names and values.  The
values are escaped so that variables containing embedded newlines,
quotation marks, and backslashes, are passed through safely.

Adapt src/etc/Makefile and src/Makefile to use the new ${PRINT_PARAMS}
command defined in src/etc/Makefile.params.

Now ${DESTDIR}/etc/release and the params file in the top-level
.OBJDIR should never contain unwanted noise, even after a build with
MAKEVERBOSE=4.
2012-12-03 13:53:28 +00:00
wiz be789ebcbe Document how to resize the WAPBL log size.
Based on patch by Edgar Fuß <ef@math.uni-bonn.de>.
2012-12-03 12:28:06 +00:00
wiz 298083cd0a Bump date to this year for new man page. 2012-12-03 07:50:29 +00:00
wiz c7ee419f37 Bump date for previous. Remove trailing whitespace. 2012-12-03 07:49:21 +00:00
rkujawa 12bf97c62f Add z3rambd to files.amigappc, hopefully this will fix amigppc build. 2012-12-02 22:11:25 +00:00
erh 740a124173 Honor the -t option to set the time format when running stat -s.
Document the format used by -s on the man page.
2012-12-02 21:13:07 +00:00
agc 5f7e73a0dd Remove the Atffile, which should not have been added in the first place.
With thanks to Herbert J. Skuhra and Paul Goyette
2012-12-02 20:27:10 +00:00
apb 30bff44eb3 Document MAKEDIRTARGETENV 2012-12-02 20:19:46 +00:00
rkujawa 0ccb5cc7b5 Now add pcu(9) links to dist list. 2012-12-02 19:58:18 +00:00
rkujawa 7fe3167ae4 Also add links to pcu(9). 2012-12-02 19:51:56 +00:00
rkujawa 8577082055 Add pcu(9) to dist list. 2012-12-02 19:45:18 +00:00
rkujawa 57cdcb1a4f Add pcu(9). 2012-12-02 19:30:18 +00:00
rmind f87454b068 Add pcu(9) man page. 2012-12-02 19:28:34 +00:00
apb 381c3917c4 Move some tests from validatemakeparams() to sanitycheck(), so the
related error messages can be printed before build.sh builds
a new version of make.

Also make some sanity tests unconditional, instead of conditional on
${do_build} || ${do_distribution} || ${do_release} || ${do_install}.
2012-12-02 19:19:36 +00:00
pgoyette d3317b816e Actually remove the no-longer-needed Atffiles 2012-12-02 18:40:43 +00:00
pgoyette f93daef0af Build helper programs as PROGS and not as TESTS_{C,SH}
This enables us to remove custom Atffiles whose only purpose was to avoid
using the helpers as tests.

XXX src/tests/dev/dm/ is not (yet) linked into the build!
2012-12-02 18:39:53 +00:00
msaitoh 20de507730 Add get_device(), set_root_device() to get root device via bootargs.
This is same as some other archs. PR#47250.
2012-12-02 18:22:45 +00:00
msaitoh bbe22882db Get bootargs and parse them. This was accidentally removed in rev. 1.17.
Fixes PR#47250.
2012-12-02 18:20:20 +00:00
pgoyette 826c760e5d Helper programs are programs, not tests, so build them appropriately.
Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
2012-12-02 17:36:10 +00:00
chs 2e01f80e03 fix device/softc split: initialize sc->sc_dev. 2012-12-02 15:34:36 +00:00
apb 15a61bc010 Change the default value of COMPATLIB_UNINSTALLED to no, now that
all users of comapt/defs.mk have been adjusted.  This is the last
commit related to fixing PR 47188.
2012-12-02 13:05:14 +00:00
apb ee9a2498cf Adjust everything under src (but outside src/tools) to use
the TOOLDIR version of libnbcompat, associated include files,
and associated defs.mk file, instead of the version from the
.OBJDIR of src/tools/compat.  This should fix PR 47188.
2012-12-02 12:55:27 +00:00
apb e0d2aa9d82 Make most things under src/tools use the TOOLDIR version of compat/defs.mk,
instead of the version in the .OBJDIR of tools/compat.
2012-12-02 12:48:32 +00:00
apb a2542bc740 Now that tools/Makefile builds tools/binstall before installing
tools/host-mkdep, we can use the newly-built install program
to install host-mkdep.
2012-12-02 12:44:06 +00:00
apb f996a13f4f In tools/binstall/Makefile, explicitly use the uninstalled copy
of libnbcompat, not the version that's installed under TOOLDIR.
2012-12-02 12:39:55 +00:00
apb d4a6601b30 Add two variables to tools/compat/defs.mk.in:
COMPATLIB_UNINSTALLED:
		If "yes", then use the files from the .OBJDIR of
		NETBSDSRCDIR/tools/compat.  Otherwise, use the files
		from TOOLDIR.

COMPATLIB_NO_LIB:
		If "yes" then do not use the library (but still use
		the include files).

COMPATLIB_UNINSTALLED defaults to "yes" for now, but this will soon be
changed to "no.
2012-12-02 12:37:08 +00:00
apb fe5488e7a4 Make tools/compat/Makefile install the library in
${TOOLDIR}/lib/libnbcompat.a, install the include files in
${TOOLDIR}/include/compat/**, and install defs.mk in
${TOOLDIR}/share/compat/defs.mk.  Previously, nothing from
tools/compat was installed under TOOLDIR.

Adjust tools/compat/Makefile to use an uninstalled copy of
host-mkdep from the .OBJDIR of tools/host-mkdep, and an uninstalled
copy of the install program from the .OBJDIR of tools/binstall.
This allows it to be built after tools/host-mkdep is built but
before tools/host-mkdep is installed; and to be installed after
tools/binstall is built but before tools/binstall is installed.
2012-12-02 12:34:51 +00:00
apb e95f6bc055 Make tools/Makefile build host-mkdep, compat, and binstall in that order,
before installing any of them.  It installs them in any order relative
to each other.  The .WAIT points that used to be between these three
tools are replaced by .ORDER and dependencies.

This is needed in preparation for making tools/compat install
some files into TOOLDIR.
2012-12-02 12:25:25 +00:00
apb 0b3c0236de Use a CONFIGURE_ENV variable instead of in-line code for passing
environment variables to the confifure script for host-mkdep.
Also reword the comment about why TOOL_AWK can't be included.
2012-12-02 12:21:51 +00:00
apb 3a6b21ba52 Teach tools/compat/Makefile to use an uninstalled copy of host-mkdep
from the.OBJDIR of tools/host-mkdep.  This is in preparation for
building all three of tools/host-mkdep, tools/compat, and tools/binstall,
before installing any of them.

While here, also move the regen target to the end.
2012-12-02 12:19:34 +00:00
apb 3b5482ec3a Teach tools/binstall/Makefile to use an uninstalled copy of
host-mkdep from the.OBJDIR of tools/host-mkdep.  This is
in preparation for building all three of tools/host-mkdep,
tools/compat, and tools/binstall, before installing any of them.
2012-12-02 12:18:16 +00:00
apb 9ff9611745 TOOLDIR must be valid, unless MKTOOLS=no.
Add tests and .error directives to enforce this.
2012-12-02 12:10:43 +00:00
apb 326b13ee70 If tools are not wanted, then set SUBDIR= empty instead of
defining all the subdir-related targets to do nothing.  This way,
the targets are not invoked at all, instead of being invoked but
doing nothing.
2012-12-02 11:46:34 +00:00
apb 34072b3232 remove trailing white space 2012-12-02 11:19:45 +00:00
pgoyette 0855789845 Test-case n3_6 is not applicable to NetBSD (according to Darren R.) 2012-12-02 08:52:06 +00:00
reed ed8d05eebe install the mkubootimage(1) manual 2012-12-02 02:21:28 +00:00
chs 11c69f2d20 adapt the cyclic module and profile dtrace provider to netbsd.
for now, just hook the cyclic callback into hardclock().
2012-12-02 01:05:16 +00:00
chs 30f1068241 remove unneeded include dirs. 2012-12-02 00:47:37 +00:00
chs a32db86a29 update cyclic module to the freebsd 8-stable version as of svn r219520. 2012-12-02 00:05:38 +00:00
pgoyette 08896ebe5a More test clean-up 2012-12-01 21:37:41 +00:00