Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
8529eea77b !5 Remove redundancy sourcefile and modify homepage url
From: @wang--ge
Reviewed-by: @small_leek,@overweight
Signed-off-by: @small_leek,@overweight
2021-01-05 16:08:20 +08:00
wang--ge
9f7248d248 remove reduancancy source file,modify homepage url 2021-01-04 16:13:37 +08:00
openeuler-ci-bot
7e34ea81fd !4 update to 0.21 version
Merge pull request !4 from sigui/master
2020-06-04 17:18:34 +08:00
si-gui
d21f836be7 update to 0.21 version 2020-06-04 17:04:16 +08:00
openeuler-ci-bot
41c38cf15d !3 add yaml file
Merge pull request !3 from ultra_planet/master
2020-05-09 16:59:37 +08:00
ultra_planet
be15954115 add yaml file 2020-05-09 09:32:09 +08:00
openeuler-ci-bot
c79a09818d !2 delete extra files
Merge pull request !2 from 严志华/master
2020-03-31 09:53:43 +08:00
yanzh_h
d112149df9 delete extra files 2020-03-31 09:36:09 +08:00
严志华
278c5675f1 !1 atf:package init
Merge pull request !1 from 严志华/next_openeuler
2019-12-31 18:13:36 +08:00
yanzh_h
587319c211 add package 2019-12-31 18:06:38 +08:00
5 changed files with 151 additions and 75 deletions

View File

@ -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/)

View File

@ -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

Binary file not shown.

147
atf.spec Normal file
View 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

4
atf.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jmmv/atf
tag_prefix: "^v"
seperator: "."