autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

35-kill-snippets.patch


From: DEMAILLE Akim
Subject: 35-kill-snippets.patch
Date: Mon, 20 Nov 2000 10:18:26 +0100

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * tests/atconfig.in: Remove the `snippet' marks, there are no
        longer used.
        * tests/atgeneral.m4: Likewise.

Index: tests/atconfig.in
--- tests/atconfig.in Fri, 03 Nov 2000 20:58:02 +0100 akim (ace/b/18_atconfig.i 
1.5 644)
+++ tests/atconfig.in Sat, 18 Nov 2000 17:11:20 +0100 akim (ace/b/18_atconfig.i 
1.5 644)
@@ -45,14 +45,11 @@
 # any notice of this special exception to the GPL from your modified
 # version.

-# Snippet (1
 # This debugging script has been automatically generated from `make check'.
 # Call it with `--help' to get a quick usage summary.

 address@hidden@
 address@hidden@
-# Snippet )1
-# Snippet (2
 address@hidden@
 at_c='@ECHO_C@'
 test -f atlocal && . ./atlocal
@@ -79,4 +76,3 @@

 # We need GNU m4.
 address@hidden@
-# Snippet )2
Index: tests/atgeneral.m4
--- tests/atgeneral.m4 Sat, 18 Nov 2000 17:10:13 +0100 akim 
(ace/b/19_atgeneral. 1.24 644)
+++ tests/atgeneral.m4 Sat, 18 Nov 2000 17:15:00 +0100 akim 
(ace/b/19_atgeneral. 1.24 644)
@@ -1,5 +1,5 @@
 include(m4sh.m4)                                           -*- Autoconf -*-
-# `m4' macros used in building test suites.
+# M4 macros used in building test suites.
 # Copyright 2000 Free Software Foundation, Inc.

 # This program is free software; you can redistribute it and/or modify
@@ -74,7 +74,6 @@ m4_define([AT_UNDEFINE], m4_defn([m4_und
 [m4_divert_push(0)dnl
 AT_DEFINE([AT_ordinal], 0)
 . ./atconfig
-# Snippet (3
 # -e sets to true
 at_stop_on_error=false;
 # Shall we save and check stdout and stderr?
@@ -96,11 +95,8 @@ m4_define([AT_UNDEFINE], m4_defn([m4_und
   -v  Force more detailed output, default for debugging scripts unless -s
   -x  Have the shell to trace command execution; also implies option -n"

-# Snippet )3
-
-# Snippet (4
 while test $[#] -gt 0; do
-  case "$[1]" in
+  case $[1] in
     --help) echo "$at_usage"; exit 0 ;;
     --version) echo "$[0] ($at_package) $at_version"; exit 0 ;;
     -d) at_debug=:;;
@@ -139,7 +135,6 @@ m4_define([AT_UNDEFINE], m4_defn([m4_und
 # up files at the beginning only, not at the end.  This is so we can repeat
 # the script many times and browse left over files.  To cope with such left
 # over files, the full test suite cleans up both before and after test groups.
-# Snippet )4

 if $1 --version | grep "$at_package.*$at_version" >/dev/null; then
   at_banner="Testing suite for $at_package, version $at_version"
@@ -278,11 +273,6 @@ m4_define([AT_UNDEFINE], m4_defn([m4_und
     fi
     if test -z "$at_skip_mode"; then
        (
-[#] Snippet (d[]AT_ordinal[](
-[#] Testing $1
-[#] Snippet )d[]AT_ordinal[])
-[#] Snippet (s[]AT_ordinal[](
-[#] starting from `AT_LINE'.
 $at_traceon
 ])

@@ -294,8 +284,7 @@ m4_define([AT_UNDEFINE], m4_defn([m4_und
 # nor files created with AT_DATA.
 AT_DEFINE([AT_CLEANUP],
 $at_traceoff
-[[#] Snippet )s[]AT_ordinal[])
-       )
+[      )
        at_status=$?
       else
         echo 'ignored (skipped)'
@@ -304,10 +293,8 @@ m4_define([AT_UNDEFINE], m4_defn([m4_und
       at_test_count=`expr 1 + $at_test_count`
       if $at_stop_on_error && test -n "$at_failed_list"; then :; else
 m4_divert(1)[]dnl
-[#] Snippet (c[]AT_ordinal[](

     rm ifelse([AT_data_files$1], , [-f], [-rf[]AT_data_files[]ifelse($1, , , [ 
$1])]) stdout stderr[]AT_data_expout[]AT_data_experr
-    [#] Snippet )c[]AT_ordinal[])
 m4_undivert(2)[]dnl
     rm ifelse([AT_data_files$1], , [-f], [-rf[]AT_data_files[]ifelse($1, , , [ 
$1])]) stdout stderr[]AT_data_expout[]AT_data_experr
       fi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]