f6f54bd63a
Changes in this release: * Added two new manual pages, atf-c++-api and atf-sh-api, describing the C++ and POSIX shell interfaces used to write test programs. * Added a pkg-config file, useful to get the flags to build against the C++ library or to easily detect the presence of ATF. * Added a way for test cases to require a specific architecture and/or machine type through the new 'require.arch' and 'require.machine' meta-data properties, respectively. * Added the 'timeout' property to test cases, useful to set an upper-bound limit for the test's run time and thus prevent global test program stalls due to the test case's misbehavior. * Added the atf-exec(1) internal utility, used to execute a command after changing the process group it belongs to. * Added the atf-killpg(1) internal utility, used to kill process groups. * Multiple portability fixes. Of special interest, full support for SunOS (Solaris Express Developer Edition 2007/09) using the Sun Studio 12 C++ compiler. * Fixed a serious bug that prevented atf-run(1) from working at all under Fedora 8 x86_64. Due to the nature of the bug, other platforms were likely affected too.
75 lines
3.4 KiB
Plaintext
75 lines
3.4 KiB
Plaintext
Automated Testing Framework (atf)
|
|
The NetBSD Foundation, Inc.
|
|
---------------------------------------------------------------------------
|
|
|
|
|
|
License
|
|
=======
|
|
|
|
Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
|
|
All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|
|
are met:
|
|
1. Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in the
|
|
documentation and/or other materials provided with the distribution.
|
|
3. All advertising materials mentioning features or use of this
|
|
software must display the following acknowledgement:
|
|
This product includes software developed by the NetBSD
|
|
Foundation, Inc. and its contributors.
|
|
4. Neither the name of The NetBSD Foundation nor the names of its
|
|
contributors may be used to endorse or promote products derived
|
|
from this software without specific prior written permission.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
|
|
CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
|
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
|
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
|
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
|
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
Relicensed code
|
|
===============
|
|
|
|
The following code snippets have been taken from other projects.
|
|
Even though they were not originally licensed under the terms above,
|
|
the original authors have agreed to relicense their work so that
|
|
this project can be distributed under a single license. This section
|
|
is put here just to clarify this fact.
|
|
|
|
* configure.ac, Makefile.am: The original versions were derived from
|
|
the ones in the XML Catalog Manager project, version 2.2.
|
|
Author: Julio M. Merino Vidal <jmmv@users.sourceforge.net>
|
|
|
|
* atf/ui.cpp: The format_paragraph and format_text functions were
|
|
derived form the ones in the Monotone project,
|
|
revision 3a0982da308228d796df35f98d787c5cff2bb5b6.
|
|
Author: Julio M. Merino Vidal <jmmv@NetBSD.org>
|
|
|
|
* atf/io.hpp, atf/io.cpp, tests/units/t_io.cpp: These files were derived
|
|
from the file_handle, systembuf, pipe, pistream and postream classes
|
|
and tests found in the Boost.Process library.
|
|
Author: Julio M. Merino Vidal <jmmv84@gmail.com>
|
|
|
|
* admin/check-style.sh, admin/check-style-common.awk,
|
|
admin/check-style-cpp.awk, admin/check-style-shell.awk: These files,
|
|
except the first one, were first implemented in the Buildtool project.
|
|
They were later adapted to be part of Boost.Process and, during that
|
|
process, the shell script was created.
|
|
Author: Julio M. Merino Vidal <jmmv84@gmail.com>
|
|
|
|
|
|
---------------------------------------------------------------------------
|
|
End of document
|