Compare commits
10 Commits
b70499aedc
...
8529eea77b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8529eea77b | ||
|
|
9f7248d248 | ||
|
|
7e34ea81fd | ||
|
|
d21f836be7 | ||
|
|
41c38cf15d | ||
|
|
be15954115 | ||
|
|
c79a09818d | ||
|
|
d112149df9 | ||
|
|
278c5675f1 | ||
|
|
587319c211 |
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# atf
|
||||
|
||||
#### Description
|
||||
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
39
README.md
39
README.md
@ -1,39 +0,0 @@
|
||||
# atf
|
||||
|
||||
#### 介绍
|
||||
{**以下是码云平台说明,您可以替换此简介**
|
||||
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
|
||||
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 码云特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
BIN
atf-0.21.tar.gz
Normal file
BIN
atf-0.21.tar.gz
Normal file
Binary file not shown.
147
atf.spec
Normal file
147
atf.spec
Normal file
@ -0,0 +1,147 @@
|
||||
Name: atf
|
||||
Version: 0.21
|
||||
Release: 2
|
||||
License: BSD
|
||||
Summary: Testing Framework for Automated
|
||||
URL: https://github.com/jmmv/atf/
|
||||
Source0: https://github.com/jmmv/atf/archive/atf-0.21.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++ autoconf libtool
|
||||
|
||||
%description
|
||||
No main package is built here. Because it is not used.
|
||||
|
||||
The Automated Test Framework (ATF) is a collection of libraries used to implement test programs
|
||||
in multiple languages. Currently, ATF provides C, C ++ and POSIX Shell bindings for performing
|
||||
tests. These bindings provide a similar feature set, and any test program written with them exposes
|
||||
a consistent user interface.
|
||||
ATF-based test programs rely on separate runtime engines to execute them. The runtime engine is
|
||||
responsible for isolating the test program from the rest of the system to ensure that its results
|
||||
are deterministic and do not affect the running system. The runtime engine is also responsible for
|
||||
collecting the results of all tests and writing reports. The currently selected runtime is Kyua.
|
||||
|
||||
%package -n libatf-c
|
||||
Summary: Testing Framework for Automated - C bindings
|
||||
|
||||
%description -n libatf-c
|
||||
This package contains a runtime library to run tests of the ATF C bindings.
|
||||
|
||||
%package -n libatf-c-devel
|
||||
Summary: ATesting Framework for Automated - C bindings (headers)
|
||||
Requires: libatf-c = %{version}-%{release}
|
||||
|
||||
%description -n libatf-c-devel
|
||||
This package contains ATF C bindings headers and libraries.
|
||||
|
||||
%package -n libatf-c++
|
||||
Summary: Testing Framework for Automated - C++ bindings
|
||||
|
||||
%description -n libatf-c++
|
||||
This package contains a runtime library to run tests of the ATF C++ bindings.
|
||||
|
||||
%package -n libatf-c++-devel
|
||||
Summary: Testing Framework for Automated - C++ bindings (headers)
|
||||
Requires: libatf-c = %{version}-%{release} libatf-c-devel = %{version}-%{release}
|
||||
Requires: libatf-c++ = %{version}-%{release}
|
||||
%description -n libatf-c++-devel
|
||||
This package contains ATF C++ bindings headers and libraries.
|
||||
|
||||
%package -n libatf-sh
|
||||
Summary: Testing Framework for Automated - POSIX shell bindings
|
||||
Requires: libatf-c++ = %{version}-%{release}
|
||||
|
||||
%description -n libatf-sh
|
||||
This package contains a runtime library to run tests of the ATF POSIX shell bindings.
|
||||
|
||||
%package -n libatf-sh-devel
|
||||
Summary: Testing Framework for Automated - POSIX shell bindings (headers)
|
||||
Requires: libatf-sh = %{version}-%{release}
|
||||
|
||||
%description -n libatf-sh-devel
|
||||
This package contains POSIX shell bindings headers and libraries.
|
||||
|
||||
%package tests
|
||||
Summary: Testing Framework for Automated - Test suite
|
||||
Requires: libatf-c = %{version}-%{release} libatf-c++ = %{version}-%{release}
|
||||
Requires: libatf-sh = %{version}-%{release} libatf-c-devel = %{version}-%{release}
|
||||
Requires: libatf-c++-devel = %{version}-%{release} libatf-sh-devel = %{version}-%{release}
|
||||
|
||||
%description tests
|
||||
This package contains all ATF component installation runtime tests, including tests for C, C++
|
||||
and POSIX Shell libraries and runtime tools.
|
||||
For more details on how to run the installed tests, see the README file in the documentation
|
||||
directory.
|
||||
|
||||
%package help
|
||||
Summary: Help documents for atf
|
||||
|
||||
%description help
|
||||
Man pages and other related help documents for atf.
|
||||
|
||||
%prep
|
||||
%autosetup -n atf-%{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
autoreconf -i -s
|
||||
%configure INSTALL="/usr/bin/install -p" --disable-static
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
%make_build pkgtestsdir=%{_libexecdir}/atf/tests testsdir=%{_libexecdir}/atf/tests
|
||||
|
||||
%install
|
||||
%make_install doc_DATA= pkgtestsdir=%{_libexecdir}/atf/tests testsdir=%{_pkgtestsdir}
|
||||
%delete_la
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files -n libatf-c
|
||||
%{_libdir}/libatf-c.{so.1,so.1.0.0}
|
||||
%{_datadir}/man/man1/atf-test-program.1.gz
|
||||
%{_datadir}/man/man4/atf-test-case.4.gz
|
||||
|
||||
%files -n libatf-c-devel
|
||||
%{_includedir}/{atf-c.h,atf-c}
|
||||
%{_datadir}/aclocal/{atf-c,atf-common}.m4
|
||||
%{_libdir}/{libatf-c.so,pkgconfig/atf-c.pc}
|
||||
|
||||
%files -n libatf-c++
|
||||
%{_libdir}/libatf-c++.{so.2,so.2.0.0}
|
||||
|
||||
%files -n libatf-c++-devel
|
||||
%{_datadir}/aclocal/atf-c++.m4
|
||||
%{_includedir}/{atf-c++.hpp,atf-c++}
|
||||
%{_libdir}/{libatf-c++.so,pkgconfig/atf-c++.pc}
|
||||
|
||||
%files -n libatf-sh
|
||||
%{_datadir}/atf
|
||||
%{_bindir}/atf-sh
|
||||
%{_libexecdir}/atf-check
|
||||
|
||||
%files -n libatf-sh-devel
|
||||
%{_datadir}/aclocal/atf-sh.m4
|
||||
%{_libdir}/pkgconfig/atf-sh.pc
|
||||
|
||||
%files tests
|
||||
%doc README
|
||||
%{_libexecdir}/atf/tests
|
||||
|
||||
%files help
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
%{_mandir}/man7/*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 31 2020 Ge Wang <wangge20@huawei.com> - 0.21-2
|
||||
- Modify Source url and remove redundancy source file
|
||||
|
||||
* Thu Jun 4 2020 sunguoshuai <sunguoshuai@huawei.com> 0.21-1
|
||||
- Package update to 0.21-1
|
||||
|
||||
* Tue Dec 31 2019 duyeyu <duyeyu@huawei.com> - 0.20-13
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user