Commit Graph

38 Commits

Author SHA1 Message Date
Jakub Jelinek
a945c346f5 Update copyright years. 2024-01-03 12:19:35 +01:00
GCC Administrator
6fb55db0e1 Daily bump. 2023-11-24 00:17:53 +00:00
Hans-Peter Nilsson
4eafb9748b contrib/regression/btest-gcc.sh: Optionally handle XPASS.
Tests with keys that match both PASS, FAIL (or now
optionally XPASS), count as fail.  XPASSes were previously
ignored.  Handling them as FAIL seems the most useful
alternative, but not counting XPASSes may be deliberate.
It's also a matter of compatibility, so make it optional.

Attempts to use --handle-xpass-as-fail was previously
flagged as a usage error.  If you pass it now, on state with
previous mixed XPASS and PASS results but doesn't change in
this run, the XPASS is discovered as a (new) regression.
For new XPASSing tests, it's handled as a new FAIL.

	* btest-gcc.sh (--handle-xpass-as-fail): New option.
2023-11-24 00:21:31 +01:00
Hans-Peter Nilsson
071dadb728 contrib/regression/btest-gcc.sh: Simplify option handling.
* btest-gcc.sh (Option handling): Break out shifts from each
	option alternative.
2023-11-24 00:21:08 +01:00
Hans-Peter Nilsson
0ca1e90ae1 contrib/regression/btest-gcc.sh: Handle multiple options.
This is a long-standing bug: passing "-j --add-passes-despite-regression"
or "--add-passes-despite-regression -j" caused the second option to be
treated as TARGET; the first non-option parameter.

	* btest-gcc.sh (Option handling): Handle multiple options.
2023-11-24 00:20:42 +01:00
GCC Administrator
88cc449525 Daily bump. 2023-02-17 00:17:49 +00:00
Hans-Peter Nilsson
384dedaf65 objs-gcc.sh: Only bootstrap if source-directory contains gcc
I use objs-gcc.sh as a preparatory step before calling
btest-gcc.sh in my scripts, for example my cris-elf
autotester.  I thought, why not use it for native builds
too.  Except that use, with binutils release-style tarballs
and a x86_64-pc-linux-gnu host, was broken.  Now that I look
at it, the script seems to have aged poorly...  Still,
there's a need for such a script to install stuff needed for
btest-gcc.sh (and to fix up stuff if needed), and this can
still be that script.  So, I prefer to fix show-stoppers for
common uses, while taking care to retain compatibility for
use that could possibly still work, with current sources.

A long time ago (before 2011, but after this script was
created in 2002, and used for a few years), the binutils
(and gdb and gcc) toplevel Makefile may have had a bootstrap
target that worked with binutils but didn't require gcc
sources to be present.  Now, you'll get an error (see
configure.ac line 1366 and on).  Let's just build the
default make-target when "bootstrap" is known to fail.
An alternative would be to fold this native
non-i686-pc-linux-gnu clause into the native
i686-pc-linux-gnu clause, as that seems to have been
originally intended as *the* single native clause, but
that'd require further edits (e.g. to remove install-dejagnu
and make gdb build conditional on gdb sources presence, to
work with binutils tarballs, and I'd also then prefer to
build not just ld, but also gas and binutils).

As it's a minimal obvious change required for current native
use with release-tarballs and git-checkout use(*), I'm
installing this as obvious.

*) Native i686-pc-linux-gnu remains broken for other use
than specially constructed combined trees where dejagnu is
included at the toplevel (i.e. historic Cygnus devo-type).

contrib/regression:
	* objs-gcc.sh: Only bootstrap if source-directory contains gcc.
2023-02-16 01:26:45 +01:00
Jakub Jelinek
83ffe9cde7 Update copyright years. 2023-01-16 11:52:17 +01:00
Hans-Peter Nilsson
7fc242e09f * btest-gcc.sh (TESTLOGS): Make gfortran.sum optional.
From-SVN: r190702
2012-08-26 19:30:44 +00:00
Hans-Peter Nilsson
063c573e9e * btest-gcc.sh (TESTLOGS): Add libmudflap.sum, if it exists.
From-SVN: r190682
2012-08-26 01:21:14 +00:00
Geoffrey Keating
2f6924a484 * btest-gcc.sh: Continue after bootstrap comparison failure.
From-SVN: r151349
2009-09-02 20:26:15 +00:00
Jakub Jelinek
748086b7b2 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
From-SVN: r145841
2009-04-09 17:00:19 +02:00
Geoffrey Keating
e835fd1a4f * mkindex.pl: New.
From-SVN: r142251
2008-11-27 23:37:51 +00:00
Geoffrey Keating
788ded72d6 * objs-gcc.sh: Revert previous change.
From-SVN: r131162
2007-12-24 23:18:57 +00:00
Geoffrey Keating
356a12e7de objs-gcc.sh: Set up the GDB testsuite even if the gdb installed is just called 'gdb'.
* objs-gcc.sh: Set up the GDB testsuite even if the gdb installed
	is just called 'gdb'.

From-SVN: r131151
2007-12-23 23:50:32 +00:00
Geoffrey Keating
1584031f69 * btest-gcc.sh (TESTLOGS): Add gfortran, and optionally libgomp.
From-SVN: r131146
2007-12-23 02:32:15 +00:00
Geoffrey Keating
30f4c25dd8 widget.html: Mark as HTML 4.01, which it now is, rather than XHTML, which it never was.
* GCC_Regression_Tester.wdgt/widget.html: Mark as HTML 4.01,
	which it now is, rather than XHTML, which it never was.
	(<head>): Mark as UTF-8.  Add title.  Move CSS to top of
	document, specify type.  Mark script as 'defer'.
	(updateContents): If loaded from HTTP, look for status in same
	place as widget.
	(gotContents): Use DOM methods to change text rather than innerHTML.
	(<body>): Eliminate unnecessary DIV element.
	* GCC_Regression_Tester.wdgt/Info.plist: Update version, copyright
	notice.

From-SVN: r131145
2007-12-23 00:57:19 +00:00
Geoffrey Keating
ec1ee65573 * btest-gcc.sh: .bad_compare has moved to toplevel from gcc/.
From-SVN: r116702
2006-09-05 18:11:49 +00:00
Andrew Pinski
c8db7d5c17 btest-gcc.sh: gcc.sum has moved to gcc/testsuite/gcc/gcc.sum.
2006-01-18  Andrew Pinski  <pinskia@physics.uc.edu>

        * btest-gcc.sh: gcc.sum has moved to gcc/testsuite/gcc/gcc.sum.
        g++.sum has moved to gcc/testsuite/g++/g++.sum.
        objc.sum has moved to gcc/testsuite/objc/objc.sum.

From-SVN: r109937
2006-01-18 17:09:56 -08:00
Geoffrey Keating
df239d2bf9 * btest-gcc.sh: Support -j option.
From-SVN: r108866
2005-12-20 20:20:24 +00:00
Geoffrey Keating
3327e41f58 GCC Regression Tester.wdgt: Rename to GCC_Regression_Tester.wdgt.
* GCC Regression Tester.wdgt: Rename to GCC_Regression_Tester.wdgt.
	* GCC_Regression_Tester.wdgt/Info.plist
	(CFBundleDisplayName): Update for rename.
	(CFBundleName): Use shorter name.
	(CFBundleVersion): Update to 1.0.1.
	(CFBundleShortVersionString): Update to 1.0.1.
	(LSHasLocalizedDisplayName): New.
	(NSHumanReadableCopyright): New.
	* GCC_Regression_Tester.wdgt/de.lproj/InfoPlist.strings: New.
	* GCC_Regression_Tester.wdgt/en.lproj/InfoPlist.strings: New.
	* GCC_Regression_Tester.wdgt/ja.lproj/InfoPlist.strings: New.

	* GCC_Regression_Tester.wdgt/widget.html: Use max-age=30
	to help out intermediate caches.

From-SVN: r107606
2005-11-28 17:41:07 +00:00
Geoffrey Keating
40f4ed784b GCC Regression Tester.wdgt/widget.html: New file.
* GCC Regression Tester.wdgt/widget.html: New file.
	* GCC Regression Tester.wdgt/Info.plist: New file.
	* GCC Regression Tester.wdgt/Icon.png: New file.
	* GCC Regression Tester.wdgt/Default.png: New file.
	* README: Describe new files.

From-SVN: r107430
2005-11-23 20:29:09 +00:00
Kelley Cook
89ee9c70a1 All files: Update with new FSF address.
2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>

	* All files: Update with new FSF address.

From-SVN: r103095
2005-08-15 00:41:31 +00:00
Hans-Peter Nilsson
bd127a7515 btest-gcc.sh: Add support for option --add-passes-despite-regression.
* btest-gcc.sh: Add support for option
	--add-passes-despite-regression.

From-SVN: r100699
2005-06-07 07:42:22 +00:00
Hans-Peter Nilsson
7721d5d4cb btest-gcc.sh: Don't pass --with-newlib when target is "*-linux*".
* btest-gcc.sh <Build>: Don't pass --with-newlib when target is
	"*-linux*".

From-SVN: r100649
2005-06-06 05:59:07 +00:00
Hans-Peter Nilsson
e7700967a1 * btest-gcc.sh (TESTLOGS): Make libstdc++.sum optional.
From-SVN: r100648
2005-06-06 05:57:03 +00:00
James A. Morrison
328a2a74da README: Update website URL.
2004-11-07  James A. Morrison  <phython@gcc.gnu.org>

        * README: Update website URL.

From-SVN: r90239
2004-11-07 17:08:09 +00:00
Geoffrey Keating
36b8a0315c btest-gcc.sh (TESTLOGS): The libstdc++-v3 test log is called libstd++.sum not libstdc++-v3.sum.
* btest-gcc.sh (TESTLOGS): The libstdc++-v3 test log is called
	libstd++.sum not libstdc++-v3.sum.

From-SVN: r89697
2004-10-27 18:19:41 +00:00
Geoffrey Keating
bbdb90f76b btest-gcc.sh (TESTLOGS): Examine regressions in libstdc++, libffi, and libjava.
* btest-gcc.sh (TESTLOGS): Examine regressions in libstdc++,
	libffi, and libjava.

From-SVN: r89576
2004-10-26 08:30:32 +00:00
Andrew Pinski
30107ebef8 btest-gcc.sh: Remove g77.sum from TESTLOGS.
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * btest-gcc.sh: Remove g77.sum from TESTLOGS.

From-SVN: r81799
2004-05-13 12:06:56 -07:00
Andreas Tobler
bdf1f1c16d btest-gcc.sh: Add make check-target-libffi.
2003-09-18  Andreas Tobler  <a.tobler@schweiz.ch>

	* btest-gcc.sh: Add make check-target-libffi.

From-SVN: r71537
2003-09-18 22:25:51 +02:00
Andreas Tobler
049d2251b8 btest-gcc.sh: Add make check-target-libjava.
2003-07-31  Andreas Tobler  <a.tobler@schweiz.ch>

        * btest-gcc.sh: Add make check-target-libjava.

From-SVN: r70008
2003-07-31 20:10:10 +02:00
Geoffrey Keating
cac67f1c73 * btest-gcc.sh: Add gdb.sum to TESTLOGS only when GDB testsuite is run.
From-SVN: r58415
2002-10-22 20:02:49 +00:00
Geoffrey Keating
ca91148bcd objs-gcc.sh: Don't install GDB testsuite if GDB was not built.
* objs-gcc.sh: Don't install GDB testsuite if GDB was not built.
	* btest-gcc.sh: Don't run GDB testsuite if it doesn't exist.

From-SVN: r58062
2002-10-11 20:23:21 +00:00
Phil Edwards
e85f1e188b btest-gcc.sh, [...]: Update TARGET comments.
2002-10-09  Phil Edwards  <pme@gcc.gnu.org>

	* btest-gcc.sh, objs-gcc.sh:  Update TARGET comments.

From-SVN: r57999
2002-10-09 23:10:32 +00:00
Geoffrey Keating
b4d8dbcfa1 * objs-gcc.sh: On (non-linux) native hosts, use 'make bootstrap'.
From-SVN: r57993
2002-10-09 21:00:54 +00:00
Geoffrey Keating
ae53d63a9e btest-gcc.sh: For crosses, assume newlib and GNU binutils.
* btest-gcc.sh: For crosses, assume newlib and GNU binutils.
	* site.exp: Correct mips-elf triplet.

From-SVN: r50504
2002-03-09 19:41:11 +00:00
Geoffrey Keating
5ffc350051 Contribute regression tester scripts
From-SVN: r49432
2002-02-02 05:23:34 +00:00