From: Jeff Law Date: Wed, 7 Apr 1999 04:32:04 +0000 (-0600) Subject: gcc.exp (proc gcc_target_compile): Add support for timeout specified by target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3af648177885ba0e288492c3e305cc096b75f5a1;p=gcc.git gcc.exp (proc gcc_target_compile): Add support for timeout specified by target. * lib/gcc.exp (proc gcc_target_compile): Add support for timeout specified by target. Also add missing ChangeLog entries for changes that we installed long ago... From-SVN: r26240 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c7c3c06ed33..909e97474da 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -119,6 +119,9 @@ Fri Feb 12 11:04:35 1999 Jeffrey A Law (law@cygnus.com) 1999-02-11 Nick Clifton + * lib/gcc.exp (proc gcc_target_compile): Add support for timeout + specified by target. + * lib/chill.exp: Fix typo: doesn'timeout -> doesn't Thu Feb 11 01:12:12 1999 Jeffrey A Law (law@cygnus.com) @@ -183,6 +186,14 @@ Sat Jan 30 11:10:06 1999 Jeffrey A Law (law@cygnus.com) * gcc.dg/990130-1.c: New test. +1999-01-27 Felix Lee + + * lib/c-torture.exp (c-torture-compile): pull out code for + analyzing gcc error messages. + (c-torture-execute): ditto, and fix some (harmless) false + positives. + * lib/gcc.exp (gcc_check_compile): new function. + Sun Jan 17 00:02:33 1999 Jeffrey A Law (law@cygnus.com) * gcc.dg/990117-1.c: New test. @@ -628,6 +639,12 @@ Thu Aug 27 23:59:18 1998 Jeffrey A Law (law@cygnus.com) * gcc.dg/980827-1.c: New test. +Wed Aug 26 16:25:38 1998 Nick Clifton + + * lib/c-torture.exp: Add support for + torture_eval_before_compile and torture_eval_before_execute + variables. + Tue Aug 25 19:42:13 1998 Jeffrey A Law (law@cygnus.com) * gcc.c-torture/compile/980825-1.c: New test. diff --git a/gcc/testsuite/lib/gcc.exp b/gcc/testsuite/lib/gcc.exp index b8249333c3f..e9ad6782aef 100644 --- a/gcc/testsuite/lib/gcc.exp +++ b/gcc/testsuite/lib/gcc.exp @@ -144,6 +144,9 @@ proc gcc_target_compile { source dest type options } { if [target_info exists gcc,no_varargs] { lappend options "additional_flags=-DNO_VARARGS" } + if [target_info exists gcc,timeout] { + lappend options "timeout=[target_info gcc,timeout]" + } lappend options "compiler=$GCC_UNDER_TEST" return [target_compile $source $dest $type $options] }