SHA256
1
0
forked from pool/dejagnu
OBS User unknown 2006-12-18 23:15:38 +00:00 committed by Git OBS Bridge
commit ade555b9e2
9 changed files with 485 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
dejagnu-1.4.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57df65a6b9e242105f19bffdbc6382cc52d34159608cb31d16f869449c6b0084
size 868059

View File

@ -0,0 +1,23 @@
dejagnu/ChangeLog
* lib/target.exp (prune_warnings): Correct pic/PIC regexp.
Ignore incompatible library warning.
Index: dejagnu/lib/target.exp
===================================================================
RCS file: /cvs/src/src/dejagnu/lib/target.exp,v
retrieving revision 1.12
diff -u -p -r1.12 target.exp
--- dejagnu/lib/target.exp 21 Apr 2002 08:47:07 -0000 1.12
+++ dejagnu/lib/target.exp 9 Jun 2003 07:34:06 -0000
@@ -279,7 +279,10 @@ proc prune_warnings { text } {
regsub -all "(^|\n)\[^\n\]*: warning: as it has already been specified\[^\n\]*" $text "" text
# Cygwin cc1 warns about -fpic and -fPIC
- regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text
+ regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC) ignored for target \[^\n\]*" $text "" text
+
+ # Ignore linker warning when searching 64bit libraries in /lib.
+ regsub -all "(^|\n)\[^\n\]*: skipping incompatible \[^\n\]* when searching for \[^\n\]*" $text "" text
# It might be tempting to get carried away and delete blank lines, etc.
# Just delete *exactly* what we're ask to, and that's it.

29
dejagnu-make_doc.patch Normal file
View File

@ -0,0 +1,29 @@
--- doc/Makefile.am
+++ doc/Makefile.am
@@ -46,7 +46,7 @@
src=$(srcdir); \
dir=`(cd $${src}; pwd)`; \
mkdir html; \
- $(DOCBOOK)/db2html -o html $${dir}/$*.sgml
+ $(DOCBOOK)/db2html $${dir}/$*.sgml
# now for some extra dependencies that the automatic rules will not
# catch:
@@ -57,11 +57,11 @@
rm -fr $(TARGETS) DBHTOHTML* html dejagnu.info* overview.junk overview overview.{aux,dvi,log,ps,pdf,tex}
-install-doc: $(TARGETS)
+install-doc:
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html $(DESTDIR)$(pkgdatadir)/html/stylesheet-images
- $(INSTALL_DATA) html/*.html $(DESTDIR)$(pkgdatadir)/html
- $(INSTALL_DATA) overview.rtf $(DESTDIR)$(pkgdatadir)/dejagnu.rtf
- $(INSTALL_DATA) overview.ps $(DESTDIR)$(pkgdatadir)/dejagnu.ps
- $(INSTALL_DATA) overview.pdf $(DESTDIR)$(pkgdatadir)/dejagnu.pdf
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/html
+ $(INSTALL_DATA) html/*.html $(DESTDIR)$(pkgdatadir)/html
+ test -r overview.rtf && $(INSTALL_DATA) overview.rtf $(DESTDIR)$(pkgdatadir)/dejagnu.rtf
+ test -r overview.ps && $(INSTALL_DATA) overview.ps $(DESTDIR)$(pkgdatadir)/dejagnu.ps
+ test -r overview.pdf && $(INSTALL_DATA) overview.pdf $(DESTDIR)$(pkgdatadir)/dejagnu.pdf
$(INSTALL_DATA) $(srcdir)/runtest.1 $(mandir)/man1/

168
dejagnu.changes Normal file
View File

@ -0,0 +1,168 @@
-------------------------------------------------------------------
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.

207
dejagnu.spec Normal file
View File

@ -0,0 +1,207 @@
#
# spec file for package dejagnu (Version 1.4.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: dejagnu
License: GPL
Group: Development/Tools/Building
Requires: tcl expect
Autoreqprov: on
Version: 1.4.4
Release: 16
Summary: Framework for Running Test Suites on Software Tools
URL: http://www.gnu.org/software/dejagnu/
Source: %{name}-%{version}.tar.bz2
Source1: site.exp
Patch0: %{name}-make_doc.patch
Patch4: dejagnu-ignore-libwarning.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
Authors:
--------
Rob Savoye <rob@welcomehome.org>
%prep
%setup -n %{name}-%{version}
%patch0
%patch4 -p1
# argh, auto* requires this file
touch example/calc/ChangeLog
%build
%{suse_update_config}
autoreconf -f -i
CFLAGS="$RPM_OPT_FLAGS -g" LDFLAGS= \
./configure \
--verbose \
--prefix=%{_prefix} \
--datadir=%{_datadir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
%{_target_cpu}-suse-linux
make
#cd doc
#makeinfo dejagnu.texi
%install
rm -rf "$RPM_BUILD_ROOT"
make install DESTDIR=$RPM_BUILD_ROOT
#install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dejagnu
install -d $RPM_BUILD_ROOT%{_sysconfdir}/dejagnu
#install -d $RPM_BUILD_ROOT%{_datadir}/dejagnu
install %{S:1} $RPM_BUILD_ROOT%{_sysconfdir}/dejagnu/site.exp
ln -s -f %{_sysconfdir}/dejagnu/site.exp $RPM_BUILD_ROOT%{_datadir}/dejagnu/site.exp
#
# install doc
make install-doc \
DESTDIR=$RPM_BUILD_ROOT \
mandir=%{_mandir} \
pkgdatadir=%{_docdir}/dejagnu \
install-doc
# we currently don't want some doc...
rm -f %{_defaultdocdir}/dejagnu/{dejagnu.ps,dejagnu.rtf}
# add some text files
install -m 644 ChangeLog COPYING NEWS README AUTHORS TODO $RPM_BUILD_ROOT%{_defaultdocdir}/dejagnu/
# install examples
install -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/dejagnu/example
# examples
for exmp in calc hello ; do
cp -r example/$exmp $RPM_BUILD_ROOT%{_defaultdocdir}/dejagnu/example/
pushd $RPM_BUILD_ROOT%{_defaultdocdir}/dejagnu/example/$exmp;
autoreconf -fi
make distclean
rm -rf *~ autom4te.cache
popd
done
# info pages
#mkdir -p $RPM_BUILD_ROOT/%{_infodir}
#install -m 644 doc/dejagnu.info* $RPM_BUILD_ROOT/%{_infodir}
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-, root, root)
%doc %{_defaultdocdir}/dejagnu
%dir %{_datadir}/dejagnu
%dir %{_sysconfdir}/dejagnu
/usr/bin/runtest
%doc %{_mandir}/man1/*
/usr/include/*
#%doc %{_infodir}/*
%config(noreplace) %{_sysconfdir}/dejagnu/site.exp
%{_datadir}/dejagnu/*
%changelog -n dejagnu
* Wed Jun 14 2006 - mmarek@suse.cz
- remove more backup files (autoreconf leftovers)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jul 26 2004 - schwab@suse.de
- Rerun autoreconf in example directories.
* Mon May 31 2004 - mcihar@suse.cz
- update to 1.4.4
* Thu Mar 18 2004 - mcihar@suse.cz
- remove backup files
* Wed Oct 01 2003 - kukuk@suse.de
- Don't regenerate documentation
* Thu Aug 14 2003 - mcihar@suse.cz
- included examples (bug #28172)
* Mon Jun 09 2003 - aj@suse.de
- Ignore linker warning when searching 64bit libraries in /lib.
* Tue May 20 2003 - aj@suse.de
- Fix wrong break statement so that correct runtest.exp is taken.
* Mon May 19 2003 - aj@suse.de
- Fix handling of [getdirs -all $rootdir].
* Tue May 13 2003 - aj@suse.de
- Handle _exit correctly.
* Mon Nov 11 2002 - ro@suse.de
- changed neededforbuild <jade_dsl> to <openjade>
- changed neededforbuild <sp> to <opensp>
* Fri Nov 08 2002 - mcihar@suse.cz
- included /usr/include/dejagnu.h in rpm
* Wed Sep 25 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 2002 - ro@suse.de
- removed bogus self-provides
* Mon Sep 02 2002 - kukuk@suse.de
- Remove sh-utils from neededforbuild
* Fri Jul 12 2002 - aj@suse.de
- Fix remote.exp.
- Add support for mmixware simulator.
* Wed Jun 26 2002 - schwab@suse.de
- Fix argument parsing.
* Tue Jun 25 2002 - schwab@suse.de
- Restore working site.exp.
* Fri Jun 14 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 08 2001 - mfabian@suse.de
- bzip2 sources
* Wed Apr 18 2001 - nadvornik@suse.cz
- installed info pages [bug #6990]
* Thu Mar 15 2001 - nadvornik@suse.cz
- update to 1.4.0
* Wed Apr 19 2000 - nadvornik@suse.cz
- added BuildRoot
- added URL
- fixed Group tag
* Mon Mar 06 2000 - ro@suse.de
- use macro for mandir
* Tue Nov 30 1999 - kukuk@suse.de
- Fix SIGPWR/SIGLOST for SPARC
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Wed Jun 30 1999 - ro@suse.de
- update to snapshot 19990614
* Mon Oct 20 1997 - hf@suse.de
ready for autobuild
* Mon Apr 28 1997 - hf@suse.de
New version of dejagnu works with tcl7.6 and expect 5.22,
and have more procs.

0
ready Normal file
View File

31
site.exp Normal file
View 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.
#