Accepting request 390323 from home:pluskalm:branches:devel:tools

- Update to 1.6
- Run tests during build

OBS-URL: https://build.opensuse.org/request/show/390323
OBS-URL: https://build.opensuse.org/package/show/devel:tools/dejagnu?expand=0&rev=22
This commit is contained in:
Martin Pluskal 2016-04-18 18:48:04 +00:00 committed by Git OBS Bridge
parent e1208ba497
commit 6806831352
6 changed files with 53 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:099b8e364ca1d6248f8e1d32168c4b12677abff4253bbbb4a8ac8cdd321e3f19
size 597171

Binary file not shown.

3
dejagnu-1.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00b64a618e2b6b581b16eb9131ee80f721baa2669fa0cdee93c500d1a652d763
size 523969

BIN
dejagnu-1.6.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sat Apr 16 17:06:08 UTC 2016 - mpluskal@suse.com
- Update to 1.6
* Proper support for target communication via SSH has been added.
* A large number of very old config and baseboard files have been
removed. If you need to resurrect these, you can get them from
version 1.5.3. If you can show that a board is still in use,
it can be put back in the distribution.
* The --status command line option is now the default. This means
that any error in the testsuite Tcl scripts will cause runtest
to abort with exit status code 2. The --status option has been
removed from the documentation, but will continue to be
accepted for backward compatibility.
* runtest now exits with exit code 0 if the testsuite "passed",
1 if something unexpected happened (eg, FAIL, XPASS or
UNRESOLVED), and 2 if an exception is raised by the Tcl
interpreter.
* runtest now exits with the standard exit codes of programs that
are terminated by the SIGINT, SIGTERM and SIGQUIT signals.
* The user-visible utility procedures `absolute', `psource' and
`slay' have been removed. If a testsuite uses any of these
procedures, a copy of the procedure should be made and placed
in the lib directory of the testsuite.
* Support was added for testing the D compiler.
* ~/.dejagnurc is now loaded last, not first. This allows the
user to have the ability to override anything in their
environment (even the site.exp file specified by $DEJAGNU).
* The user-visible utility procedure `unsetenv' is deprecated
and will be removed in the next release. If a testsuite uses
any of these procedures, a copy of the procedure should be made
and placed in the lib directory of the testsuite.
- Run tests during build
- Small spec-file polishing
-------------------------------------------------------------------
Wed Apr 1 10:41:56 UTC 2015 - schwab@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package dejagnu
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,23 +17,24 @@
Name: dejagnu
Version: 1.5.3
Version: 1.6
Release: 0
Summary: Framework for Running Test Suites on Software Tools
License: GPL-2.0+
Group: Development/Tools/Building
Url: http://www.gnu.org/software/dejagnu/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
Url: https://www.gnu.org/software/dejagnu/
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring
Source3: site.exp
BuildRequires: expect
BuildRequires: fdupes
BuildRequires: gcc-c++
Requires: expect
Requires: info
Requires: tcl
Requires(post): %install_info_prereq
Requires(preun): %install_info_prereq
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@ -69,10 +70,12 @@ suites themselves.
%configure
make %{?_smp_mflags}
%check
make check
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
install -d %{buildroot}%{_sysconfdir}/dejagnu
install %{SOURCE3} %{buildroot}%{_sysconfdir}/dejagnu/site.exp
make %{?_smp_mflags} DESTDIR=%{buildroot} install
install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/dejagnu/site.exp
ln -s -f %{_sysconfdir}/dejagnu/site.exp %{buildroot}%{_datadir}/dejagnu/site.exp
%fdupes -s %{buildroot}
@ -88,8 +91,8 @@ ln -s -f %{_sysconfdir}/dejagnu/site.exp %{buildroot}%{_datadir}/dejagnu/site.ex
%dir %{_datadir}/dejagnu
%dir %{_sysconfdir}/dejagnu
%{_bindir}/runtest
%doc %{_mandir}/man1/*.gz
%doc %{_infodir}/*.gz
%{_mandir}/man1/runtest.1%{ext_info}
%{_infodir}/dejagnu.info%{ext_info}
%{_includedir}/*
%config(noreplace) %{_sysconfdir}/dejagnu/site.exp
%{_datadir}/dejagnu/*