summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* sh: Add tests for modifying an alias (r242766).jilles2012-11-083-0/+21
| | | | | Note: parser/alias10.0 will eat a lot of memory/cpu time when it fails (with the old sh).
* sh: Test that a redefined alias works.jilles2012-11-071-0/+6
|
* Add a description of WITHOUT_CLANG_IS_CC.brooks2012-11-051-0/+6
|
* Test both active and non-active cases.obrien2012-10-261-0/+8
|
* Iterate rather than use recursion. We can blow out the kernel stack if thereobrien2012-10-262-3/+198
| | | | is a long chain of fork(2)s.
* remove duplicate semicolons where possible.eadler2012-10-222-2/+2
| | | | | Approved by: cperciva MFC after: 1 week
* Covert regression test to python 3eadler2012-10-221-7/+7
| | | | | Approved by: cperciva MFC after: 3 days
* Finish migration of MAINTAINER entrieseadler2012-10-221-2/+0
| | | | | Approved by: cperciva MFC after: 3 days
* Covert to python 3eadler2012-10-221-4/+4
| | | | | Approved by: cperciva MFC after: 3 days
* Add ATF to the build. This is may be a bit rought around the egdes,marcel2012-10-222-0/+73
| | | | | | | | | | | | | | | | | but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@
* Remove the netncp and nwfs files from here. They will be moved to theandreast2012-10-171-41/+0
| | | | | | ObsoleteFiles.inc file later. Discussed with: attilio
* - Remove GNU sort and the WITH_GNU_SORT knobgabor2012-10-131-2/+0
|
* Make local function static.emaste2012-10-111-1/+1
|
* Add a "clearstats" subcommand to cxgbetool that lets you clear thenp2012-10-101-0/+25
| | | | | | | | | | MAC statistics for any port. For example: # cxgbetool t4nex0 clearstats 0 Submitted by: gnn@ MFC after: 3 days
* Add an "i2c" subcommand to cxgbetool. You can use this to readnp2012-10-101-0/+58
| | | | | | | | | | | | | | information from the transceivers connected to the ports of a cxgbe(4) based card. # cxgbetool t4nex0 i2c <port_id> <dev_addr> <addr> [<count>] For example: # cxgbetool t4nex0 i2c 0 0xa0 3 0x10 [16] (As per SFF-8472 the SFP+ module is at 0xa0 and bit 4 in the value at address 3 indicates it's a 10Gbase-SR module, which it is.)
* Revert previous commit...kevlo2012-10-105-8/+9
| | | | Pointyhat to: kevlo (myself)
* Prefer NULL over 0 for pointerskevlo2012-10-095-9/+8
|
* Add support for bmake. This includes:marcel2012-10-061-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net>
* Add bmake to the build and allow it to be installed as make(1) insteadmarcel2012-10-061-0/+8
| | | | | | | | of FreeBSD's make by setting WITH_BMAKE. The WITH_BMAKE build makes it easy for people to switch while working out the kinks -- think ports tree here. The option will be removed in due time. Submitted by: Simon Gerraty (sjg@juniper.net)
* Clean up compiler warnings.emaste2012-10-031-4/+22
| | | | | | | More work is needed here but this now builds with WARNS=6. Sponsored by: ADARA Networks MFC after: 2 weeks
* Add regression test for kern/172075.emaste2012-09-261-0/+59
| | | | | Sponsored by: ADARA Networks PR: kern/172075
* sh: Add some tests for aliasing a utility to itself.jilles2012-09-222-0/+8
|
* Add documentation for the WITHOUT_KDUMP switch.zeising2012-09-191-0/+5
| | | | | | This swtich was introduced in r240404 Approved by: joel (mentor)
* Correct double "the the"eadler2012-09-141-1/+1
| | | | | Approved by: cperciva MFC after: 3 days
* Remove scripts and tools which only functioned when src was using CVSeadler2012-09-1311-1080/+0
| | | | | Approved by: cperciva MFC after: 1 week
* r235638 is not the clean way to add support for building on ancient FreeBSDobrien2012-09-111-2/+14
| | | | | | | | versions. Instead use Imp's good work on "legacy" and follow the outcome of the previous TRB discussions on this topic. Now use the libc getline() if it exists, and only where it doesn't create a bootstraping version.
* Add SOFT as a possible section to exclude from counter list.fabient2012-09-101-1/+1
|
* Add some colour to make it easy (well, easier) to see what the currentadrian2012-09-101-1/+49
| | | | | | | selected rates and current sample rates are. (Note: when run under high traffic and with -s 0.1 the display becomes very mesmerising. You've been warned.)
* Add a '-s <timeout>' option which will display live rate controladrian2012-09-082-26/+74
| | | | statistics.
* Tidy up the output quite substantially, making it fit well withinadrian2012-09-071-4/+4
| | | | | | | 80 columns. This makes it much easier to use in a shell script, to display a "top" style output with live rate control data.
* Make this build again!adrian2012-09-071-1/+2
|
* Failure to open netmap device is unrecoverable.emaste2012-09-041-1/+1
| | | | | There's no reason to "fail later" since there's nothing this tool can do in netmap mode without /dev/netmap open.
* Add a reasonable error message telling the caller to specify a programgnn2012-09-041-0/+4
| | | | | to be executed under hwpmc. If there is no program to run then exit.
* Minor mdoc fix.joel2012-09-011-5/+3
|
* The error syntax has changed.des2012-08-301-1/+1
|
* Do a bunch of fixing and refactoring.adrian2012-08-291-8/+10
| | | | | | | Fix up gzip to crunch right. Add kenv, although I'm not yet sure why it isn't working on my MIPS boards (reading kenv always returns blank.)
* Disable fsck_ffs for now, 4MB target size issues.adrian2012-08-291-1/+1
|
* Disable building textproc for now, it doesn't fit on my 4MB flashadrian2012-08-291-2/+2
| | | | | | partition. Add -lcrypt as a dynamic target.
* For now, disable building wpa_supplicant.adrian2012-08-291-3/+3
| | | | My 4MB flash builds can't handle the bloat.
* Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc.dim2012-08-261-0/+115
| | | | MFC after: 1 week
* Add three additional clang intrinsics headers, which I missed in thedim2012-08-201-0/+3
| | | | previous import.
*-. Upgrade our copy of llvm/clang to trunk r162107. With thanks todim2012-08-201-0/+24
|\ \ | | | | | | | | | Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
| | * Vendor import of clang trunk r161861:dim2012-08-1550-355/+6121
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@161861
| | * Vendor import of clang release_31 branch r155985:dim2012-05-0312-18/+64
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/branches/release_31@155985
| | * Vendor import of clang trunk r154661:dim2012-04-1453-1065/+7699
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@r154661
| | * Vendor import of clang release_30 branch r142614:dim2011-10-2036-1107/+2817
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/branches/release_30@142614
| | * Vendor import of clang trunk r135360:dim2011-07-1726-74/+1119
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@135360
| | * Vendor import of clang trunk r132879:dim2011-06-1211-46/+148
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@132879
| | * Vendor import of clang trunk r130700:dim2011-05-0218-290/+903
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@130700
| | * Vendor import of clang trunk r126547:dim2011-02-266-49/+237
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@126547
OpenPOWER on IntegriCloud