| #
0a6dbf51
|
| 30-Mar-2026 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
pkgbase: Move all of ATF into the atf package
Parts of ATF (including the licence and some of the documentation) were for some reason part of the tests package instead of the atf package. Moving the
pkgbase: Move all of ATF into the atf package
Parts of ATF (including the licence and some of the documentation) were for some reason part of the tests package instead of the atf package. Moving them to where they logically belong poses no problem since tests already depends on atf.
PR: 294129 MFC after: 1 week Reviewed by: ivy Differential Revision: https://reviews.freebsd.org/D56158
show more ...
|
| #
9065390d
|
| 18-Sep-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Remove the tests-dev package
We don't want a tests-dev package, because this means set-devel depends on tests-dev, which transitively depends on tests, which means you can't install set-de
packages: Remove the tests-dev package
We don't want a tests-dev package, because this means set-devel depends on tests-dev, which transitively depends on tests, which means you can't install set-devel without also getting tests.
The only real "dev" files in tests-dev are from ATF (libprivateatf), so move that to its own package and add a dependency from tests.
Also move Kyua to its own package, since this might be useful for running tests even when the user doesn't want the whole set of base tests installed.
Add a dependency from -tests to both -atf and -kyua, and a dependency on -set-base, since the tests won't work without the full base system installed.
The remaining "dev" files in tests are actually test artifacts, not real development libraries. Add a new NO_DEV_PACKAGE option to bsd.lib.mk, which causes dev files to be installed in the base package instead of creating a -dev package, and set this option for everything that installs test libraries.
While here, add a slightly more informative description for the tests package.
MFC after: 3 seconds Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D52597
show more ...
|
| #
83a1ee57
|
| 31-May-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
atf, kyua: Implement require.kmods.
This adds a metadata variable, require.kmods, and corresponding functions or methods in C, C++, and shell, which allow a test to specify that it requires particul
atf, kyua: Implement require.kmods.
This adds a metadata variable, require.kmods, and corresponding functions or methods in C, C++, and shell, which allow a test to specify that it requires particular kernel modules to run. If the kernel modules are not present, the test is skipped. One might want to consider a kyua option which makes it attempt to load the modules instead.
Differential Revision: https://reviews.freebsd.org/D47470
show more ...
|
| #
5e6befda
|
| 16-Apr-2025 |
John Baldwin <jhb@FreeBSD.org> |
atf: Switch from std::auto_ptr<> to std::unique_ptr<>
This mirrors upstream commit f053ab687f6e27aa264f599ecbfc5ef27ad4e2d3.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D
atf: Switch from std::auto_ptr<> to std::unique_ptr<>
This mirrors upstream commit f053ab687f6e27aa264f599ecbfc5ef27ad4e2d3.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D49789
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
066a8c69
|
| 21-Dec-2020 |
Emmanuel Vadot <manu@freebsd.org> |
pkgbase: Install atf and kyua in the tests package
While here make sure that all tests dirs are taggued correctly.
Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D27714
|
| #
38c0ca14
|
| 09-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 9.0.0 final release r372316.
Release notes for llvm, clang, lld and libc++ 9.0.0 are available here:
https://releases.llvm.or
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 9.0.0 final release r372316.
Release notes for llvm, clang, lld and libc++ 9.0.0 are available here:
https://releases.llvm.org/9.0.0/docs/ReleaseNotes.html https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html https://releases.llvm.org/9.0.0/tools/lld/docs/ReleaseNotes.html https://releases.llvm.org/9.0.0/projects/libcxx/docs/ReleaseNotes.html
PR: 240629 MFC after: 1 month
show more ...
|
| #
2c3f47a7
|
| 17-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Another round of attempting to squelch -Wdeprecated-declarations, which has become very trigger-happy with libc++ 9.0.0.
It does not help that gcc's implementation of this warning is even more trigg
Another round of attempting to squelch -Wdeprecated-declarations, which has become very trigger-happy with libc++ 9.0.0.
It does not help that gcc's implementation of this warning is even more trigger-happy, in the sense that it already warns on the declaration itself, not when you are using it. This is very annoying with our use of -Wsystem-headers. That should really be disabled for gcc.
show more ...
|
| #
23e2b4d9
|
| 14-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Instead of disabling gcc's deprecated declaration warnings about e.g. std::auto_ptr in a whole bunch of individual Makefiles, make the warning globally non-fatal instead. This is similar to what was
Instead of disabling gcc's deprecated declaration warnings about e.g. std::auto_ptr in a whole bunch of individual Makefiles, make the warning globally non-fatal instead. This is similar to what was done to many more non-fatal warnings from newer gcc versions.
show more ...
|
| #
b903ca97
|
| 03-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add workarounds for obsolete std::auto_ptr usage in atf.
|
| #
9065390d
|
| 18-Sep-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Remove the tests-dev package
We don't want a tests-dev package, because this means set-devel depends on tests-dev, which transitively depends on tests, which means you can't install set-de
packages: Remove the tests-dev package
We don't want a tests-dev package, because this means set-devel depends on tests-dev, which transitively depends on tests, which means you can't install set-devel without also getting tests.
The only real "dev" files in tests-dev are from ATF (libprivateatf), so move that to its own package and add a dependency from tests.
Also move Kyua to its own package, since this might be useful for running tests even when the user doesn't want the whole set of base tests installed.
Add a dependency from -tests to both -atf and -kyua, and a dependency on -set-base, since the tests won't work without the full base system installed.
The remaining "dev" files in tests are actually test artifacts, not real development libraries. Add a new NO_DEV_PACKAGE option to bsd.lib.mk, which causes dev files to be installed in the base package instead of creating a -dev package, and set this option for everything that installs test libraries.
While here, add a slightly more informative description for the tests package.
MFC after: 3 seconds Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D52597
show more ...
|
| #
83a1ee57
|
| 31-May-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
atf, kyua: Implement require.kmods.
This adds a metadata variable, require.kmods, and corresponding functions or methods in C, C++, and shell, which allow a test to specify that it requires particul
atf, kyua: Implement require.kmods.
This adds a metadata variable, require.kmods, and corresponding functions or methods in C, C++, and shell, which allow a test to specify that it requires particular kernel modules to run. If the kernel modules are not present, the test is skipped. One might want to consider a kyua option which makes it attempt to load the modules instead.
Differential Revision: https://reviews.freebsd.org/D47470
show more ...
|
| #
5e6befda
|
| 16-Apr-2025 |
John Baldwin <jhb@FreeBSD.org> |
atf: Switch from std::auto_ptr<> to std::unique_ptr<>
This mirrors upstream commit f053ab687f6e27aa264f599ecbfc5ef27ad4e2d3.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D
atf: Switch from std::auto_ptr<> to std::unique_ptr<>
This mirrors upstream commit f053ab687f6e27aa264f599ecbfc5ef27ad4e2d3.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D49789
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
066a8c69
|
| 21-Dec-2020 |
Emmanuel Vadot <manu@freebsd.org> |
pkgbase: Install atf and kyua in the tests package
While here make sure that all tests dirs are taggued correctly.
Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D27714
|
| #
38c0ca14
|
| 09-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 9.0.0 final release r372316.
Release notes for llvm, clang, lld and libc++ 9.0.0 are available here:
https://releases.llvm.or
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 9.0.0 final release r372316.
Release notes for llvm, clang, lld and libc++ 9.0.0 are available here:
https://releases.llvm.org/9.0.0/docs/ReleaseNotes.html https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html https://releases.llvm.org/9.0.0/tools/lld/docs/ReleaseNotes.html https://releases.llvm.org/9.0.0/projects/libcxx/docs/ReleaseNotes.html
PR: 240629 MFC after: 1 month
show more ...
|
| #
2c3f47a7
|
| 17-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Another round of attempting to squelch -Wdeprecated-declarations, which has become very trigger-happy with libc++ 9.0.0.
It does not help that gcc's implementation of this warning is even more trigg
Another round of attempting to squelch -Wdeprecated-declarations, which has become very trigger-happy with libc++ 9.0.0.
It does not help that gcc's implementation of this warning is even more trigger-happy, in the sense that it already warns on the declaration itself, not when you are using it. This is very annoying with our use of -Wsystem-headers. That should really be disabled for gcc.
show more ...
|
| #
23e2b4d9
|
| 14-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Instead of disabling gcc's deprecated declaration warnings about e.g. std::auto_ptr in a whole bunch of individual Makefiles, make the warning globally non-fatal instead. This is similar to what was
Instead of disabling gcc's deprecated declaration warnings about e.g. std::auto_ptr in a whole bunch of individual Makefiles, make the warning globally non-fatal instead. This is similar to what was done to many more non-fatal warnings from newer gcc versions.
show more ...
|
| #
b903ca97
|
| 03-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Add workarounds for obsolete std::auto_ptr usage in atf.
|
| #
d511b20a
|
| 02-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Add HAS_TESTS to all Makefiles that are currently using the `SUBDIR.${MK_TESTS}+= tests` idiom.
This is a follow up to r321912.
|
| #
4b330699
|
| 02-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Convert traditional ${MK_TESTS} conditional idiom for including test directories to SUBDIR.${MK_TESTS} idiom
This is being done to pave the way for future work (and homogenity) in ^/projects/make-ch
Convert traditional ${MK_TESTS} conditional idiom for including test directories to SUBDIR.${MK_TESTS} idiom
This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox .
No functional change intended.
MFC after: 1 weeks
show more ...
|
| #
4fb696d6
|
| 30-Jun-2017 |
Enji Cooper <ngie@FreeBSD.org> |
atf-sh(3): document atf_init_test_cases(3) fully
The function was missing from the NAME/SYNOPSIS sections. Add a manpage link to complete the documentation reference.
MFC after: 1 month
|
| #
3a286197
|
| 07-Jun-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Add MLINKS for atf-sh(3) to each of the functions it implements
This hopefully will make atf-sh(3) easier to understand for newcomers, without having to go through the atf-sh(3) level of indirection
Add MLINKS for atf-sh(3) to each of the functions it implements
This hopefully will make atf-sh(3) easier to understand for newcomers, without having to go through the atf-sh(3) level of indirection.
MFC after: 1 week Sponsored by: Dell EMC Isilon
show more ...
|
| #
92d317a9
|
| 20-Sep-2016 |
Enji Cooper <ngie@FreeBSD.org> |
Use SRCTOP instead of the longhand version for defining the path to contrib/atf
MFC after: 3 days Sponsored by: Dell EMC Isilon
|
| #
ee5a34ec
|
| 25-Nov-2014 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Convert to LIBADD Reduce overlinking
|