From 6806831352568499d4e0ece8f6197db101ce0fd758e8f5027ee614aba68057b7 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 18 Apr 2016 18:48:04 +0000 Subject: [PATCH] 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 --- dejagnu-1.5.3.tar.gz | 3 --- dejagnu-1.5.3.tar.gz.sig | Bin 543 -> 0 bytes dejagnu-1.6.tar.gz | 3 +++ dejagnu-1.6.tar.gz.sig | Bin 0 -> 543 bytes dejagnu.changes | 35 +++++++++++++++++++++++++++++++++++ dejagnu.spec | 27 +++++++++++++++------------ 6 files changed, 53 insertions(+), 15 deletions(-) delete mode 100644 dejagnu-1.5.3.tar.gz delete mode 100644 dejagnu-1.5.3.tar.gz.sig create mode 100644 dejagnu-1.6.tar.gz create mode 100644 dejagnu-1.6.tar.gz.sig diff --git a/dejagnu-1.5.3.tar.gz b/dejagnu-1.5.3.tar.gz deleted file mode 100644 index d100cc3..0000000 --- a/dejagnu-1.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:099b8e364ca1d6248f8e1d32168c4b12677abff4253bbbb4a8ac8cdd321e3f19 -size 597171 diff --git a/dejagnu-1.5.3.tar.gz.sig b/dejagnu-1.5.3.tar.gz.sig deleted file mode 100644 index c247978e8858b55ddbcb386d0dfb85a4299dcb67ec25108d90e5064573b67c67..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p-wW%T)jh2@rNRD2TOLh}4IP5C2@5S(Z{cZf7-u5Ux(? z%-z9ToVB%ZmVGJ<=mnx!6}bR1E1_!Oh^e$(;v#2Th^uqdVgCO?c%l{cWy(A(0kfJt z23jxt42{$o{&X>1?AV z?rAhPgE$Owl}NpDN##4%&Ee=U9CPDiFlK={+-hIHvOL6U1>`lxYG$%Z7 zmF1*1I)adNg}9eUEyV}{y2FPZST|erFE{)~6g|S6y$^Mg`CCO2b+lUhbzP*g)S#D6 zR?hfHKJp8I$Afl)R6kqX48qVa-+$A6JD&XnjNVc~R4}AEdxBv`XeAlU!BW&AN9UrA he>zbq%Y6Di)6 zGV2O+#vE+uChPBH)_B&YA0eZn@2cc5JN;J|Fof;TTa1oQY?ZT-9w8$ua*S#o^%8$H zm4z~qWGsL)-n3-IOm~Gh`g`*{(vIdC#q1GVfYaJw7~VX`DCelv;O%->d&bt^M4Plc zMU~I6R%RyLM|62rZGvN?VFYuBV*H9mwMb_WdXy2YgsgP_ai_5>^MYVU#NVZhz!g)? zqcv^eSL0JVOxx=Dm#TRa17(PbT8Rj16|xR2Iod+gY1+HI(xpC6OIfHBb`=qpIV(S5 zbaWBY7_J$#m?(#A;RD>s%t=#6+;70nMAuZI%H%x|!ZT=0V?aw5p3$Vf^5v&E3D31| zSn+LkWEk)n&__kwBqa|g(2h9Kg literal 0 HcmV?d00001 diff --git a/dejagnu.changes b/dejagnu.changes index 26301f3..c6f741b 100644 --- a/dejagnu.changes +++ b/dejagnu.changes @@ -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 diff --git a/dejagnu.spec b/dejagnu.spec index 6b6321a..11d761e 100644 --- a/dejagnu.spec +++ b/dejagnu.spec @@ -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/*