]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/testsuite (AT_INIT) <at_pass_list>: New.
authorAkim Demaille <akim@epita.fr>
Mon, 1 Oct 2001 07:01:22 +0000 (07:01 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 1 Oct 2001 07:01:22 +0000 (07:01 +0000)
Don't run twice the same test.

ChangeLog
doc/autoconf.texi
lib/autotest/general.m4

index 248680f39d914333498d1a58b0505126720ffc46..11d5f752d035105a9a762a649a58cf6bf7b3211d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-01  Akim Demaille  <akim@epita.fr>
+
+       * tests/testsuite (AT_INIT) <at_pass_list>: New.
+       Don't run twice the same test.
+
 2001-10-01  Akim Demaille  <akim@epita.fr>
 
        * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
index 6d48c02e540403cbb2d193c715b89fda45d381a2..354f8dc42aeb346b74c08014b6a18e294f0ef49c 100644 (file)
@@ -51,7 +51,7 @@
                                 Configuring a package
 * config.status: (autoconf)config.status Invocation.
                                 Recreating a configuration
-* testsuite: (autoconf)testsuite invocation
+* testsuite: (autoconf)testsuite Invocation.
                                 Running an Autotest test suite
 @end direntry
 
@@ -410,7 +410,7 @@ Generating Test Suites with Autotest
 
 * testsuite Scripts::           The concepts of Autotest
 * Writing testsuite.at::        Autotest macros
-* testsuite invocation::        Running @command{testsuite} scripts
+* testsuite Invocation::        Running @command{testsuite} scripts
 * Making testsuite Scripts::    Using autom4te to create @command{testsuite}
 
 Questions About Autoconf
@@ -1058,7 +1058,6 @@ each line consists of a symbol, whitespace, and the Autoconf macro to
 output if that symbol is encountered.  Lines starting with @samp{#} are
 comments.
 
-@code{autoscan} is only installed if you already have Perl installed.
 @code{autoscan} accepts the following options:
 
 @table @option
@@ -11420,7 +11419,7 @@ tool testing, which is probably its main limitation.
 @menu
 * testsuite Scripts::           The concepts of Autotest
 * Writing testsuite.at::        Autotest macros
-* testsuite invocation::        Running @command{testsuite} scripts
+* testsuite Invocation::        Running @command{testsuite} scripts
 * Making testsuite Scripts::    Using autom4te to create @command{testsuite}
 @end menu
 
@@ -11591,7 +11590,7 @@ Similarly for @var{stderr} with @samp{expout} and @samp{stderr}.
 @end defmac
 
 
-@node testsuite invocation
+@node testsuite Invocation
 @section Running @command{testsuite} Scripts
 @cindex @command{testsuite}
 
index a17da2014c47e18dee33e506db4ceb91d1a243ba..46862842317daad59a7ee455c703f8536a3d2acf 100644 (file)
@@ -459,6 +459,7 @@ done
 at_start_date=`date`
 at_start_time=`(date +%s) 2>/dev/null`
 echo "$as_me: starting at: $at_start_date" >&AS_MESSAGE_LOG_FD
+at_pass_list=
 at_fail_list=
 at_skip_list=
 at_test_count=0
@@ -468,6 +469,11 @@ for at_test in $at_tests
 do
   at_status=0
   rm -rf $at_data_files
+  # Skip tests we already run (using --keywords makes it easy to get
+  # duplication).
+  case " $at_pass_test $at_skip_test $at_fail_test " in
+    *" $at_test "* ) continue;;
+  esac
   # Clearly separate the tests when verbose.
   test $at_test_count != 0 && $at_verbose
   case $at_test in
@@ -493,14 +499,15 @@ _ATEOF
       at_test_count=`expr 1 + $at_test_count`
       $at_verbose $ECHO_N "$at_test. $at_setup_line: $ECHO_C"
       case $at_status in
-        0) at_msg="ok"
-           ;;
+        0)  at_msg="ok"
+            at_pass_list="$at_pass_list $at_test"
+            ;;
         77) at_msg="ok (skipped near \``cat at-check-line`')"
             at_skip_list="$at_skip_list $at_test"
             ;;
-        *) at_msg="FAILED near \``cat at-check-line`'"
-           at_fail_list="$at_fail_list $at_test"
-           ;;
+        *)  at_msg="FAILED near \``cat at-check-line`'"
+            at_fail_list="$at_fail_list $at_test"
+            ;;
       esac
       echo $at_msg
       at_log_msg="$at_test. $at_setup_line: $at_msg"