non port: devel/atf/Makefile |
Number of commits found: 15 |
Tuesday, 30 Jan 2024
|
20:25 Muhammad Moinur Rahman (bofh)
devel/atf: Moved man to share/man
3cb40cf |
Wednesday, 3 Jan 2024
|
05:27 Muhammad Moinur Rahman (bofh)
devel/atf: Switch to FreeBSD upstream
- As per the recent discussion switch to the FreeBSD upstream
- For now resetting MAINTAINER to myself with ci@ hat on but anyone from
ci@ feel free to commit
- Pet port{clippy|fmt}
PR: 276071
Approved by: jmmv (private mail)
46cb35f |
Sunday, 7 May 2023
|
18:38 Dimitry Andric (dim)
devel/atf: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because devel/atf's Makefile does not explicitly set its C++ standard,
this leads to several errors:
In file included from atf-c++/check.cpp:26:
./atf-c++/check.hpp:74:17: error: no template named 'auto_ptr' in namespace
'std'
friend std::auto_ptr< check_result > exec(const
atf::process::argv_array&);
~~~~~^
./atf-c++/check.hpp:123:6: error: no template named 'auto_ptr' in namespace
'std'
std::auto_ptr< check_result > exec(const atf::process::argv_array&);
~~~~^
In file included from atf-c++/tests.cpp:26:
./atf-c++/tests.hpp:76:10: error: no template named 'auto_ptr' in namespace
'std'
std::auto_ptr< tc_impl > pimpl;
~~~~~^
atf-c++/check.cpp:144:6: error: no template named 'auto_ptr' in namespace
'std'
std::auto_ptr< impl::check_result >
~~~~^
atf-c++/check.cpp:153:17: error: no member named 'auto_ptr' in namespace 'std'
return std::auto_ptr< impl::check_result >(new
impl::check_result(&result));
~~~~~^
atf-c++/check.cpp:153:46: error: expected '(' for function-style cast or type
construction
return std::auto_ptr< impl::check_result >(new
impl::check_result(&result));
~~~~~~~~~~~~~~~~~~ ^
Add USE_CXXSTD=gnu++98 to avoid these errors. While here, pet portlint.
PR: 271051
Approved by: maintainer timeout (2 weeks)
MFH: 2023Q2
b7ba1dd |
Wednesday, 7 Sep 2022
|
21:10 Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)
b7f0544 |
Wednesday, 7 Apr 2021
|
08:09 Mathieu Arnold (mat)
One more small cleanup, forgotten yesterday.
Reported by: lwhsu
cf118cc |
Tuesday, 6 Apr 2021
|
14:31 Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148 |
Friday, 21 Oct 2016
|
12:51 mat
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
|
Thursday, 30 Oct 2014
|
16:39 jmmv
Update devel/atf to 0.21.
Released on October 23rd, 2014.
* Restored the atf(7) manual page to serve as a reference to all the other
manual pages shipped by ATF.
* Added the -s flag to atf-sh to support specifying the shell interpreter
to be used.
* Removed ATF_WORKDIR. The only remaining consumers have been converted to
use the standard TMPDIR environment variable. As a benefit, and because
Kyua forces the TMPDIR to live within the test case's work directory,
any stale files left behind by ATF will be automatically cleaned up.
* Documented the environment variables recognized by each component in the
relevant manual pages. This information was lost with the atf-config(1)
removal.
* Added a new "require.diskspace" metadata property to test cases so that
they can specify the minimum amount of disk space required for the test
to run.
* Renamed the atf-{c,c++,sh}-api(3) manual pages to atf-{c,c++,sh}(3) for
discoverability purposes. Symbolic links are provided for the time
being to still make the old names visible.
* Issue #5: Recommend the (expected, actual) idiom for calls to the test
macros in the manual pages.
* Issue #7: Stopped catching unhandled exceptions in atf-c++ tests. This
propagates the crash to the caller, which in turn allows it to obtain
proper debugging information. In particular, Kyua should now be able to
extract a stacktrace pinpointing the problem.
* Issue #8: Fixed atf-c/macros_test:use test failures spotted by the clang
that ships with FreeBSD 11.0-CURRENT.
* Issue #12: Improved documentation of atf-sh(3) and atf-check(1) by better
explaining how they relate to each other.
* Issue #14: Stopped setting 'set -e' in atf-sh. This setting was
initially added as a way to enable a "strict" mode in the library and to
make test cases fail fast when they run unprotected commands. However,
doing so in the library is surprising as the responsibility of enabling
'set -e' should be on the user's code. Also, 'set -e' introduces
inconsistent behavior on subshells and users do not expect that.
* Issue #15: Fixed atf_utils_{fork,wait} to support nested calls.
* Issue #16: Fixed test failures (by removing a long-standing hack) on
systems that lack \e support in printf(1).
* Issue #19: Removed stale references to atf-config and atf-run.
Differential Revision: https://reviews.freebsd.org/D1001
Approved by: bapt
|
Monday, 26 May 2014
|
02:57 jmmv
Enable the TEST option by default in atf-based ports.
Get ports that use the atf libraries to install their tests by default.
This is to showcase the potential of getting the tests installed on a
live system and will also simplify the process of running them periodically
out of /usr/local/tests/.
Packages confirmed to build with this option enabled.
Approved by: bapt (ports)
|
Saturday, 24 May 2014
|
20:11 jmmv
Change ports that use the ATF libraries to depend on devel/atf.
As part of this, make it possible to install devel/atf independently of
the presence of ATF in the base system. This is so that we can turn the
ATF libraries in base into private libraries.
Note that this should have no effect on prebuilt binary packages because
these changes only apply when the TEST option is selected, and this option
is not yet the default.
Approved by: eadler (ports)
|
Saturday, 17 May 2014
|
17:03 jmmv
Update devel/atf to 0.20 and modernize the port.
This includes:
- Taking ownership of the package (with ack from previous maintainer).
- Forcing all file registrations into pkg-plist.
- Fully dropping support for the deprecated tools.
- Adding support for the TEST option.
- Properly using libtool via USES.
- Not using OSREVISION to determine whether atf can or can't be installed.
- Avoiding Makefile.in hacks by just using MAKE_FLAGS.
... which basically means this really is a full rewrite of the port.
Approved by: bapt, bdrewery
|
Sunday, 9 Feb 2014
|
04:03 jmmv
Stop handling the 'tests' directory.
We now rely on BSD.local.dist from ports to create /usr/local/tests.
Bump the port revision to 2.
Approved by: bdrewery
|
Friday, 20 Sep 2013
|
17:03 bapt
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 1)
|
Thursday, 1 Nov 2012
|
18:42 bdrewery
- Install tools by default to match the base version
PR: ports/173224
Submitted by: Roman Naumann <namor@hemio.de> (maintainer)
Feature safe: yes
|
Monday, 29 Oct 2012
|
22:58 bdrewery
The Automated Testing Framework (ATF) is a collection of libraries and
utilities designed to ease unattended application testing in the hands of
developers and end users of a specific piece of software.
As regards developers, ATF provides the necessary means to easily create
test suites composed of multiple test programs, which in turn are a
collection of test cases. It also attempts to simplify the debugging of
problems when these test cases detect an error by providing as much
information as possible about the failure.
As regards users, it simplifies the process of running the test suites and,
in special, encourages end users to run them often: they do not need to
have source trees around nor any other development tools installed to be
able to certify that a given piece of software works on their machine as
advertised.
Note that ATF is included in the base system since FreeBSD 10, so this
port does not need to be installed on FreeBSD 10.
WWW: http://code.google.com/p/kyua/wiki/ATF
PR: ports/173197
Submitted by: Roman Naumann <namor@hemio.de>
Reviewed by: bapt, eadler
Feature safe: yes
|
Number of commits found: 15 |