Sync from SUSE:ALP:Source:Standard:1.0 dejagnu revision cc4e019317324972faf68fa5ffaf1926
This commit is contained in:
commit
a7ac05e969
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
dejagnu-1.6.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
dejagnu-1.6.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
dejagnu-1.6.3.tar.gz.sig
Normal file
BIN
dejagnu-1.6.3.tar.gz.sig
Normal file
Binary file not shown.
367
dejagnu.changes
Normal file
367
dejagnu.changes
Normal file
@ -0,0 +1,367 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 30 13:28:31 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- testsuite-legacy.patch: support deprecated legacy uses of dejagnu
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 21 08:10:02 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Update to dejagnu 1.6.3
|
||||
* The internal proc 'is_remote' has been renamed to 'isremote' for
|
||||
consistency with the other similar procs (eg, istarget)
|
||||
* runtest now accepts --local_init and --global_init options to override
|
||||
the default of reading "site.exp"
|
||||
* runtest now responds consistently to all Tcl errors and generates an
|
||||
UNRESOLVED result when a test script aborts
|
||||
* runtest now collects Tcl errors encountered during a test run and prints
|
||||
the collected errors a second time at the end of the test run after the
|
||||
summary
|
||||
* A utility procedure relative_filename has been added
|
||||
* The utility procedure 'grep' now accepts a '-n' option that
|
||||
includes line numbers in the output, consistent with GNU grep
|
||||
* The target_compile procedure now accepts a "linker=" option that
|
||||
overrides the compiler selection when producing an executable
|
||||
* The internal default_target_compile procedure now supports compiling
|
||||
sources in Go (using GCC Go) and Rust
|
||||
* The host_execute procedure no longer insists that the executable be in
|
||||
the current directory if the file exists under the given name
|
||||
* The host_execute procedure now reads input to end-of-file
|
||||
* The match patterns in the host_execute procedure have been revised to
|
||||
fix timing issues causing test names to be truncated
|
||||
* The host_execute procedure is no longer sensitive to the value of the
|
||||
"text" global variable
|
||||
* A new multiplex procedure "testsuite" is added for commands retrieving
|
||||
or providing information about the current testsuite
|
||||
* A command "testsuite file" is added to replace the use of the "*dir"
|
||||
variables in test scripts
|
||||
* A command "testsuite can call" is added to report the availability of
|
||||
multiplexed API calls
|
||||
* A new multiplex procedure "testcase" is added for commands examining or
|
||||
manipulating the dynamic state of ongoing testing
|
||||
* A command "testcase group" is provided for reporting test groups to the
|
||||
DejaGnu core
|
||||
* A shell command "dejagnu" is added as a place to hang various
|
||||
auxiliary commands not directly involved with running tests
|
||||
* The first auxiliary command is added: "report card"
|
||||
* A Tcl namespace is now used for some internal procedures and variables.
|
||||
* The Tcl namespace ::dejagnu and all child namespaces are entirely
|
||||
internal and should not be mentioned in testsuite code
|
||||
* The DejaGnu testsuite no longer searches for a nearby Expect executable
|
||||
in the location where it would have been located in the old Cygnus tree
|
||||
layout
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 08:58:00 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to dejagnu 1.6.2
|
||||
* runtest will abort if $DEJAGNU is defined but the file is not
|
||||
found.
|
||||
- close-wait-program.patch: Removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 31 09:55:04 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Adjust license
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 17 13:13:19 UTC 2018 - schwab@suse.de
|
||||
|
||||
- close-wait-program.patch: Use separate kill command for each pid
|
||||
(bsc#1100206)
|
||||
- Use %license.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 17 07:25:25 UTC 2017 - schwab@suse.de
|
||||
|
||||
- Update to 1.6.1
|
||||
* Minor bug fixes, no major changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Update to dejagnu 1.5.3
|
||||
* More bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 14:16:30 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Add gpg signature
|
||||
- Add dependencies for macros dealing with info files
|
||||
- Use fdupes to avoid duplicate files
|
||||
- Small spec file cleanup by spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 9 09:08:12 UTC 2015 - schwab@suse.de
|
||||
|
||||
- Update to dejagnu 1.5.2
|
||||
* New boards and bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 8 09:50:28 UTC 2014 - schwab@suse.de
|
||||
|
||||
- Update to dejagnu 1.5.1
|
||||
1. The runtest.1 man page has been brought up to date.
|
||||
2. The Docbook/SGML documentation files were removed in favour of the
|
||||
Docbook/XML documentation. The Texinfo source for the Info pages is
|
||||
now automatically generated from the Docbook source.
|
||||
3. The Makefile structure has been substantially simplified. There
|
||||
is now a single top-level Makefile.am. The use of recursive make
|
||||
has been eliminated.
|
||||
4. lib/mondfe.exp and lib/xsh.exp have been removed. Users requiring
|
||||
these communication modes can still use the DejaGnu 1.4 branch or
|
||||
can contact dejagnu@gnu.org to discuss reinstating these files.
|
||||
5. The configure script now ensures that Expect is installed and that
|
||||
it is linked against Tcl 8.3 or greater.
|
||||
6. The runtest program now gracefully handles the possibility of the
|
||||
expect binary vanishing after DejaGnu has been installed (for
|
||||
example, by the user altering their PATH).
|
||||
7. The user-visible utility procedures `absolute', `prune', `psource'
|
||||
and `slay' are 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.
|
||||
- dejagnu-ignore-libwarning.patch: Removed
|
||||
- dejagnu-make_doc.patch: Removed
|
||||
- Build as noarch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 12:17:45 UTC 2013 - mmeister@suse.com
|
||||
|
||||
- Added url as source.
|
||||
Please see http://en.opensuse.org/SourceUrls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 11 12:38:40 UTC 2013 - coolo@suse.com
|
||||
|
||||
- remove suse_update_config macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 16:05:04 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add automake as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
(cf. packaging guidelines)
|
||||
- Use %_smp_mflags for parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 7 12:34:27 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- enable parallel building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 16 11:44:52 CEST 2007 - rguenther@suse.de
|
||||
|
||||
- Remove files from correct place.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 11 16:51:28 CET 2007 - aj@suse.de
|
||||
|
||||
- Fix install of manpage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 14 15:00:44 CEST 2006 - mmarek@suse.cz
|
||||
|
||||
- remove more backup files (autoreconf leftovers)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:06 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 26 13:02:33 CEST 2004 - schwab@suse.de
|
||||
|
||||
- Rerun autoreconf in example directories.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 31 11:23:54 CEST 2004 - mcihar@suse.cz
|
||||
|
||||
- update to 1.4.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 18 18:00:39 CET 2004 - mcihar@suse.cz
|
||||
|
||||
- remove backup files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 1 22:28:26 CEST 2003 - kukuk@suse.de
|
||||
|
||||
- Don't regenerate documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 15:11:10 CEST 2003 - mcihar@suse.cz
|
||||
|
||||
- included examples (bug #28172)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 9 11:10:40 CEST 2003 - aj@suse.de
|
||||
|
||||
- Ignore linker warning when searching 64bit libraries in /lib.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 20 11:11:27 CEST 2003 - aj@suse.de
|
||||
|
||||
- Fix wrong break statement so that correct runtest.exp is taken.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 19 11:49:20 CEST 2003 - aj@suse.de
|
||||
|
||||
- Fix handling of [getdirs -all $rootdir].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 13 08:16:32 CEST 2003 - aj@suse.de
|
||||
|
||||
- Handle _exit correctly.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 11:26:13 CET 2002 - ro@suse.de
|
||||
|
||||
- changed neededforbuild <jade_dsl> to <openjade>
|
||||
- changed neededforbuild <sp> to <opensp>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 08 14:59:06 CET 2002 - mcihar@suse.cz
|
||||
|
||||
- included /usr/include/dejagnu.h in rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 16:33:06 CEST 2002 - mcihar@suse.cz
|
||||
|
||||
- new upstream version 1.4.3, major changes:
|
||||
1. New XML output option, so test results can be loaded into a
|
||||
database.
|
||||
2. Support for the KFAIL/KPASS (known failures). This is
|
||||
mostly oriented towards GDB testing.
|
||||
3. New "Hello World" example.
|
||||
4. New tutorial chapter.
|
||||
- removed uneeded patches
|
||||
- config site.exp is now physically located in /etc/dejagnu, in
|
||||
/usr/share/dejagnu is just symlink
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
|
||||
|
||||
- removed bogus self-provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 2 08:54:13 CEST 2002 - kukuk@suse.de
|
||||
|
||||
- Remove sh-utils from neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 12 08:18:34 CEST 2002 - aj@suse.de
|
||||
|
||||
- Fix remote.exp.
|
||||
- Add support for mmixware simulator.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 26 10:18:42 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix argument parsing.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 25 14:39:26 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Restore working site.exp.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 16:39:12 CEST 2002 - mcihar@suse.cz
|
||||
|
||||
- updated to 1.4.2:
|
||||
* Various patches for bugs reported from net users.
|
||||
* There is new support for a simple unit testing API, that is
|
||||
also useful for embedded testing.
|
||||
- html and pdf documantaion is included
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 8 23:17:38 CEST 2001 - mfabian@suse.de
|
||||
|
||||
- bzip2 sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 18 11:56:04 CEST 2001 - nadvornik@suse.cz
|
||||
|
||||
- installed info pages [bug #6990]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 15 10:28:57 CET 2001 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.4.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 19 11:10:26 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- added BuildRoot
|
||||
- added URL
|
||||
- fixed Group tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 6 07:59:30 CET 2000 - ro@suse.de
|
||||
|
||||
- use macro for mandir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 12:35:59 MET 1999 - kukuk@suse.de
|
||||
|
||||
- Fix SIGPWR/SIGLOST for SPARC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 30 13:08:29 MEST 1999 - ro@suse.de
|
||||
|
||||
- update to snapshot 19990614
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Mon Oct 20 15:01:01 MEST 1997 - hf@suse.de
|
||||
|
||||
ready for autobuild
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Mon Apr 28 13:31:24 GMT 1997 - hf@suse.de
|
||||
|
||||
New version of dejagnu works with tcl7.6 and expect 5.22,
|
||||
and have more procs.
|
||||
|
56
dejagnu.keyring
Normal file
56
dejagnu.keyring
Normal file
@ -0,0 +1,56 @@
|
||||
Release GPG keyring of dejagnu group.
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1.4.0 (GNU/Linux)
|
||||
|
||||
mQILBGBQGtgBEACwuY5WSXMWws9z4cyO2g0HWjqdmDtMs9eUf+lSXUg3xoWbHul/
|
||||
IFBn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mvFjlPO1KcPdgB/s3pEJiRsQTeQ5hqVxcsvA==
|
||||
=/XnG
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
112
dejagnu.spec
Normal file
112
dejagnu.spec
Normal file
@ -0,0 +1,112 @@
|
||||
#
|
||||
# spec file for package dejagnu
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: dejagnu
|
||||
Version: 1.6.3
|
||||
Release: 0
|
||||
Summary: Framework for Running Test Suites on Software Tools
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
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: https://savannah.gnu.org/project/release-gpgkeys.php?group=dejagnu&download=1#/%{name}.keyring
|
||||
Source3: site.exp
|
||||
Patch0: testsuite-legacy.patch
|
||||
BuildRequires: expect
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
Requires: expect
|
||||
Requires: info
|
||||
Requires: tcl
|
||||
Requires(post): %{install_info_prereq}
|
||||
Requires(preun):%{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
DejaGnu is a framework for testing other programs. Its purpose is to
|
||||
provide a single front-end for all tests. Beyond this, DejaGnu offers
|
||||
several advantages for testing:
|
||||
|
||||
1. The flexibility and consistency of the DejaGnu framework make it
|
||||
easy to write tests for any program.
|
||||
|
||||
1. DejaGnu provides a layer of abstraction that allows you to write
|
||||
tests that are portable to any host or target where a program
|
||||
must be tested. For instance, a test for GDB can run (from any
|
||||
Unix-based host) on any target architecture that DejaGnu
|
||||
supports.
|
||||
|
||||
1. All tests have the same output format. This makes it easy to
|
||||
integrate testing into other software development processes.
|
||||
DejaGnu's output is designed to be parsed by other filtering
|
||||
scripts and it is also human-readable.
|
||||
|
||||
DejaGnu is written in expect, which in turn uses "Tcl"--Tool command
|
||||
language.
|
||||
|
||||
Running tests requires two things: the testing framework and the test
|
||||
suites themselves.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# 49078@debbugs.gnu.org: bug in Expect 5.45.4 triggers a testsuite failure
|
||||
# when building in source directory
|
||||
mkdir build
|
||||
cd build
|
||||
%define _configure ../configure
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make -C build check
|
||||
|
||||
%install
|
||||
make -C build %{?_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}
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/dejagnu.info%{ext_info}
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/dejagnu.info%{ext_info}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%license COPYING
|
||||
%doc ChangeLog NEWS README AUTHORS TODO
|
||||
%dir %{_datadir}/dejagnu
|
||||
%dir %{_sysconfdir}/dejagnu
|
||||
%{_bindir}/dejagnu
|
||||
%{_bindir}/runtest
|
||||
%{_mandir}/man1/dejagnu.1%{ext_man}
|
||||
%{_mandir}/man1/dejagnu-help.1%{ext_man}
|
||||
%{_mandir}/man1/dejagnu-report-card.1%{ext_man}
|
||||
%{_mandir}/man1/runtest.1%{ext_man}
|
||||
%{_infodir}/dejagnu.info%{ext_info}
|
||||
%{_includedir}/*
|
||||
%config(noreplace) %{_sysconfdir}/dejagnu/site.exp
|
||||
%{_datadir}/dejagnu/*
|
||||
|
||||
%changelog
|
31
site.exp
Normal file
31
site.exp
Normal file
@ -0,0 +1,31 @@
|
||||
#
|
||||
# site.tmpl -- Sample template for a global config file.
|
||||
# Add changes here to to work at your site.
|
||||
#
|
||||
|
||||
#
|
||||
# transform -- transform a tool name to get the installed name. We only define
|
||||
# this if there wasn't one. This was the global config file can
|
||||
# override how the tool names are calculated.
|
||||
#
|
||||
|
||||
#
|
||||
# uncomment this if you wish to redefine the transform procedure
|
||||
#
|
||||
|
||||
#if ![string match "transform" [info procs transform]] then {
|
||||
# proc transform { name } {
|
||||
# global target_triplet
|
||||
#
|
||||
# if [string match "" $target_triplet] then {
|
||||
# return $name
|
||||
# } else {
|
||||
# return ${target_triplet}-$name
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
|
||||
#
|
||||
# Set a default target list for various target triplets.
|
||||
#
|
||||
|
50
testsuite-legacy.patch
Normal file
50
testsuite-legacy.patch
Normal file
@ -0,0 +1,50 @@
|
||||
From: Jacob Bachmeyer <jcb62281@gmail.com>
|
||||
Subject: bug#49250: dejagnu 1.6.3 breaks automake 1.16.3 testsuite
|
||||
Date: Tue, 29 Jun 2021 23:49:09 -0500
|
||||
|
||||
The Automake tests are using a legacy layout that does not meet a
|
||||
long-documented requirement.
|
||||
|
||||
The DejaGnu manual has for years (including all available revision
|
||||
history) stated that a DejaGnu testsuite is required to be in a
|
||||
directory tree named "testsuite" at its root. Previous versions of
|
||||
DejaGnu did not actually care, but this led to an ambiguity that made
|
||||
integrating DejaGnu with non-recursive Automake build systems very
|
||||
difficult. This caused significant difficulties with DejaGnu's own
|
||||
testsuite, and fixing it was needed to actually run the DejaGnu
|
||||
testsuite properly.
|
||||
|
||||
The simple fix is to move the DejaGnu testsuites in the Automake test
|
||||
cases into "testsuite" directories, but this causes the tests to fail
|
||||
with older versions of DejaGnu. This broken legacy case is deprecated
|
||||
in 1.6.3 but still supposed to be supported, even though the manual has
|
||||
always said that DejaGnu testsuites are required to be in testsuite/
|
||||
directories.
|
||||
|
||||
The code that detects this legacy case was written to match conditions
|
||||
observed with DejaGnu's own testsuite, with an older version of Automake
|
||||
in use at that time. As a result, that code branch fails to catch the
|
||||
situations in the Automake 1.16.3 testsuite and DejaGnu falls back to a
|
||||
"deep legacy" mode in which some features do not work. One of the
|
||||
features that does not work in this mode is limiting testing to a single
|
||||
tool at a time; this appears to cause most of the failures.
|
||||
|
||||
|
||||
An experimental patch is attached.
|
||||
|
||||
|
||||
|
||||
-- Jacob
|
||||
|
||||
diff -urN -x '*~' dejagnu-1.6.3/runtest.exp dejagnu-1.6.3-patch/runtest.exp
|
||||
--- dejagnu-1.6.3/runtest.exp 2021-06-16 21:15:25.000000000 -0500
|
||||
+++ dejagnu-1.6.3-patch/runtest.exp 2021-06-29 21:41:28.735667904 -0500
|
||||
@@ -741,7 +741,7 @@
|
||||
set testsuitedir $base_dir
|
||||
set testbuilddir $base_dir
|
||||
} else {
|
||||
- if { $testsuitedir eq "testsuite" && $srcdir eq "." && $objdir eq "." } {
|
||||
+ if { $testsuitedir eq "testsuite" && $testbuilddir eq "testsuite" } {
|
||||
# Broken legacy case -- testsuite not actually in testsuite/
|
||||
# Produce a warning, but continue.
|
||||
send_error "WARNING: testsuite is not in a testsuite/ directory.\n"
|
Loading…
Reference in New Issue
Block a user