summaryrefslogtreecommitdiffstats
path: root/cddl/usr.sbin/dtrace
Commit message (Collapse)AuthorAgeFilesLines
* MFC r307400, r307401:markj2017-02-031-0/+1
| | | | DTrace test fixes.
* MFC r309698, r309699, r309700:markj2017-02-031-1/+1
| | | | DTrace test fixes.
* MFC r303900:ngie2016-08-283-3/+20
| | | | | | | | | | | | | Highball memory requirement (4GB) with common/{raise,safety} Both test suites require more memory than my amd64 VM using GENERIC-NODEBUG can provide and reliably panic it with OOM issues in dtrace(4). Some of the testcases fail, but this at least bypasses the panic behavior on platforms that don't have enough resources Discussed with: markj
* Fix DTrace test ATF wrapper generation.markj2016-05-101-1/+1
|
* Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedngie2016-05-0484-87/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after r298107 Summary of changes: - Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup) Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info. MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Connect MK_TESTS.bdrewery2016-03-0981-0/+971
| | | | Sponsored by: EMC / Isilon Storage Division
* Test directories can build in parallel fine.bdrewery2016-02-161-2/+0
| | | | Sponsored by: EMC / Isilon Storage Division
* Fix a discrepancy in r291738.markj2015-12-071-1/+1
| | | | | | The script that generates these makefiles was changed to modify LIBADD rather than LDADD/DPADD, but the makefile itself was also changed in a slightly different way.
* Update DTrace test suite makefiles after r291963.markj2015-12-071-0/+2
|
* Fix LDADD/DPADD that should be LIBADD.bdrewery2015-12-042-4/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* Reduce overlinking of libdtrace consumers with libctf, libelf, libproc.bdrewery2015-12-021-1/+1
| | | | | | | | | | | | The proper place for this list is _DP_dtrace. Due to removing the LDADD_dtrace, more LIBADD are needed in cddl/usr.sbin/dtrace to prevent underlinking. This fixes overlinking in cddl/usr.sbin/lockstat and cddl/usr.sbin/plockstat. Sponsored by: EMC / Isilon Storage Division
* META MODE: Fix userland/cddl.bdrewery2015-12-011-3/+0
| | | | | | | MK_CTF controls whether ctfmerge is ran against the binaries, not whether CTF tools should be built. Sponsored by: EMC / Isilon Storage Division
* Rename Makefile.inc1 to dtrace.test.mk to avoid clash with top-level ↵bdrewery2015-11-2583-82/+82
| | | | | | | Makefile.inc1. Discussed with: ngie, markj Sponsored by: EMC / Isilon Storage Division
* Reduce the Makefile snippet complexity a bitngie2015-11-091-5/+3
| | | | | | | | | - Set BINDIR to TESTSDIR globally (and subsequently, remove all `${FILESGROUP}DIR` setting because BINDIR is set to `TESTSDIR`) - Set MAN to "" globally, instead of per-PROG MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove unneeded _RECURSING_PROGS check.bdrewery2015-10-301-2/+0
| | | | | | | | It is definitely not needed after r288158, and is a private variable as well that should not be checked here. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-121-2/+1
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* Update DTrace test makefiles after r288415.markj2015-09-302-0/+3
|
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-251-2/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Add a src.conf option to build and install the DTrace test suite.markj2015-08-021-0/+6
| | | | | Reviewed by: gnn, ngie Differential Revision: https://reviews.freebsd.org/D3195
* Add META_MODE support.sjg2015-06-131-0/+32
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * Merge sync of headsjg2015-05-2789-4/+3512
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-101-0/+3
| |
| * Updated dependenciessjg2013-03-111-0/+2
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| * Updated/new Makefile.dependsjg2012-11-081-0/+28
| |
* | Correctly link libdtrace and convert to LIBADDbapt2015-05-191-4/+1
| | | | | | | | Make dtrace only link to libdtrace
* | Fix a typo that snuck in with r283024, and remove the EXFAIL annotation frommarkj2015-05-171-1/+0
| | | | | | | | a test which now passes as a result of that change.
* | Replace dtest.pl, the upstream DTrace test suite harness, with a shellmarkj2015-03-304-7/+133
| | | | | | | | | | | | | | | | script. This reimplementation is much simpler than dtest.pl and is more amenable to being run under Kyua - dtest.pl writes error output to a temporary directory that is deleted when the run finishes, making it hard to debug test failures. This change also removes the test suite's dependency on perl.
* | Add infrastructure to integrate the DTrace test suite with Kyua.markj2015-02-2887-0/+3386
|/ | | | | | | | | | | | | | | | | | For each test category, we generate a script containing ATF test cases for the tests under that category. Each test case simply runs dtest.pl (the upstream test harness) with the corresponding test files. The exclude.sh script is used to record info about tests which should be skipped or are expected to fail; it is used to generate atf_skip and atf_expect_fail calls. The genmakefiles.sh script can be used to regenerate the test makefiles when new tests are brought it from upstream. The test suite is currently not connected to the build as there is a small number of lingering test issues which still need to be worked out. In the meantime however, the test suite can be easily built and installed manually from cddl/usr.sbin/dtrace/tests. Reviewed by: ngie Sponsored by: EMC / Isilon Storage Division
* dtrace(1) now depends on libutil and librtld_db.rpaulo2010-07-311-2/+4
| | | | Sponsored by: The FreeBSD Foundation
* Remove manual .includes in cddl Makefilesuqs2010-03-021-7/+3
| | | | | | | | | | | | | | | - Break the dependency on ../Makefile.inc for .PATH, and include ../Makefile.inc implicitly. This is required to ... - Set WARNS?=6 in top-level Makefile.inc - Remove now redundant WARNS settings, add WARNS?=0 where appropriate - Remove redundant SHLIB_MAJOR overrides - Use NO_MAN, not MK_MAN=no - Remove redundant inclusion of bsd.own.mk - Order Makefiles more according to style.Makefile(9) - Reduce diff of cddl Makefiles against each other No objection: pjd Approved by: ed (co-mentor)
* Fixed dependencies (make checkdpadd).ru2010-02-251-9/+2
|
* Add the dtrace client app to the build.jb2008-05-221-0/+37
OpenPOWER on IntegriCloud