|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0 |
|
| #
fe815331 |
| 18-Sep-2020 |
Kyle Evans <[email protected]> |
build: provide a default WARNS for all in-tree builds
The current default is provided in various Makefile.inc in some top-level directories and covers a good portion of the tree, but doesn't cover p
build: provide a default WARNS for all in-tree builds
The current default is provided in various Makefile.inc in some top-level directories and covers a good portion of the tree, but doesn't cover parts of the build a little deeper (e.g. libcasper).
Provide a default in src.sys.mk and set WARNS to it in bsd.sys.mk if that variable is defined. This lets us relatively cleanly provide a default WARNS no matter where you're building in the src tree without breaking things outside of the tree.
Crunchgen has been updated as a bootstrap tool to work on this change because it needs r365605 at a minimum to succeed. The cleanup necessary to successfully walk over this change on WITHOUT_CLEAN builds has been added.
There is a supplemental project to this to list all of the warnings that are encountered when the environment has WARNS=6 NO_WERROR=yes: https://warns.kevans.dev -- this project will hopefully eventually go away in favor of CI doing a much better job than it.
Reviewed by: emaste, brooks, ngie (all earlier version) Reviewed by: emaste, arichardson (depend-cleanup.sh change) Differential Revision: https://reviews.freebsd.org/D26455
show more ...
|
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
3c766430 |
| 13-May-2019 |
Mark Johnston <[email protected]> |
Convert the libcap_sysctl test cases to ATF.
Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D17855
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
e1c30f7a |
| 05-Jan-2018 |
Mariusz Zaborski <[email protected]> |
Build service tests with Casper support.
|
| #
ceb36bc9 |
| 28-Oct-2017 |
Mariusz Zaborski <[email protected]> |
Introduce caspermocks.
The idea behinds mocks is that we don't need to ifdef a lot of code in tools itself but those defines are hidden in the casper library. Right now the mocks are implemented as
Introduce caspermocks.
The idea behinds mocks is that we don't need to ifdef a lot of code in tools itself but those defines are hidden in the casper library. Right now the mocks are implemented as define/inlines functions. There was a very long discussion how this should be implemented. This approach has some advantages like we don't need to link to any additional libraries. Unfortunately there are also some disadvantages for example it is easy to get library out of sync between two versions of functions or that we need extra define to compile program with casper support. This isn't an ideal solution but it's good enough for now and should simplify capsicumizing programs. This also doesn't close us any other ways to do those mocks and this should evolve in time.
Discussed with: pjd, emaste, ed, rwatson, bapt, cem, bdrewery Differential Revision: https://reviews.freebsd.org/D8753
show more ...
|
|
Revision tags: release/10.4.0 |
|
| #
737fb907 |
| 13-Aug-2017 |
Enji Cooper <[email protected]> |
Make root-privileges a requirement for the test
Some of the testcases try to manipulate sysctls that require root privileges, e.g., "kern.sync_on_panic". Make root-privileges a hard requirement so t
Make root-privileges a requirement for the test
Some of the testcases try to manipulate sysctls that require root privileges, e.g., "kern.sync_on_panic". Make root-privileges a hard requirement so the tests don't raise false positives due to privilege issues when calling sysctlbyname(3) on writable sysctls.
MFC after: 1 week
show more ...
|
|
Revision tags: release/11.1.0, release/11.0.1, release/11.0.0 |
|
| #
d3bfc725 |
| 08-Sep-2016 |
Mariusz Zaborski <[email protected]> |
Move libcasper tests from regression/capsicum/libcasper/ to lib/libcasper/service/${service_name}/tests.
Reviewed by: emaste, ngie Differential Revision: https://reviews.freebsd.org/D7759
|