[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32-at-data-autotest-mode.patch
From: |
Akim Demaille |
Subject: |
32-at-data-autotest-mode.patch |
Date: |
Mon, 20 Aug 2001 16:47:48 +0200 |
Index: ChangeLog
from Akim Demaille <address@hidden>
* tests/base.at, tests/m4sh.at, tests/m4sugar.at,
* tests/semantics.at, tests/tools.at, tests/torture.at:
s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
Index: tests/base.at
--- tests/base.at Sun, 19 Aug 2001 11:34:51 +0200 akim
+++ tests/base.at Sun, 19 Aug 2001 11:36:10 +0200 akim
@@ -28,7 +28,7 @@
AT_SETUP([AC_REQUIRE: topological sort])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[define([REQUIRE_AND_CHECK],
[AC_REQUIRE([$1])
test -z "address@hidden@_translit([$1], [A-Z], [a-z])" && AS_EXIT(1)])
Index: tests/m4sh.at
--- tests/m4sh.at Sun, 19 Aug 2001 11:34:51 +0200 akim
+++ tests/m4sh.at Sun, 19 Aug 2001 11:36:10 +0200 akim
@@ -30,7 +30,7 @@
m4_pattern_allow([^AS_DIRNAME(_SED)?$])
AT_SETUP([[AS_DIRNAME & AS_DIRNAME_SED]])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_PLAIN_SCRIPT()
#! /bin/sh
Index: tests/m4sugar.at
--- tests/m4sugar.at Sun, 19 Aug 2001 11:34:51 +0200 akim
+++ tests/m4sugar.at Sun, 19 Aug 2001 11:36:10 +0200 akim
@@ -135,7 +135,7 @@ script.s4g:11: the top level
m4_text_wrap([First, second , third, [,quoted]])
]])
-AT_DATA(expout,
+AT_DATA([expout],
[[/* Short string */
/* Much longer
Index: tests/semantics.at
--- tests/semantics.at Sun, 19 Aug 2001 10:26:42 +0200 akim
+++ tests/semantics.at Sun, 19 Aug 2001 11:36:10 +0200 akim
@@ -202,7 +202,7 @@
# or to the new one.
AT_SETUP([AC_CHECK_TYPES: backward compatibility])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
define([_AC_CHECK_TYPE_NEW], [NEW])
define([_AC_CHECK_TYPE_OLD], [OLD])
@@ -283,7 +283,7 @@ m4_define([AT_CHECK_PROGS_PREPARE],
AT_CHECK_PROGS_PREPARE
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
pwd=`pwd`
p="1${ac_path_separator}2${ac_path_separator}3${ac_path_separator}4${ac_path_separator}5${ac_path_separator}6"
@@ -365,7 +365,7 @@ m4_define([AT_CHECK_PROGS_PREPARE],
AT_CHECK_PROGS_PREPARE
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
pwd=`pwd`
p="1${ac_path_separator}2${ac_path_separator}3${ac_path_separator}4${ac_path_separator}5${ac_path_separator}6"
Index: tests/tools.at
--- tests/tools.at Sun, 19 Aug 2001 11:34:51 +0200 akim
+++ tests/tools.at Sun, 19 Aug 2001 11:36:10 +0200 akim
@@ -49,7 +49,7 @@
# A script that never returns. We don't care that it never returns,
# broken /bin/sh loop equally with `false', but it makes it easier to
# test the robusteness in a good environment: just remove the `-n'.
-AT_DATA(endless.sh,
+AT_DATA([endless.sh],
[[while :
do
:
@@ -57,7 +57,7 @@
]])
# A script in charge of testing `/bin/sh -n'.
-AT_DATA(syntax.sh,
+AT_DATA([syntax.sh],
[[(/bin/sh -n endless.sh) &
sleep 2
if kill $! >/dev/null 2>&1; then
@@ -134,7 +134,7 @@
AT_SETUP([autoconf --trace: user macros])
m4_pattern_allow([^m4_(define|shift)$])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[m4_define([active], [ACTIVE])
m4_define([TRACE1], [TRACE2(m4_shift($@))])
m4_define([TRACE2], [[$2], $1])
@@ -221,7 +221,7 @@ configure.ac:19:TRACE2:bar foo
# --------------------------
AT_SETUP([autoconf --trace: builtins])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[define([active], [ACTIVE])
]])
@@ -377,14 +377,14 @@ configure:18: error: possibly undefined
AT_SETUP([autoheader])
-AT_DATA(acconfig.h,
+AT_DATA([acconfig.h],
[[/* Define this to whatever you want. */
#undef this
]])
# 1. Check that `acconfig.h' is still honored.
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
AC_CONFIG_HEADERS(config.h)
AC_DEFINE(this, "whatever you want.")
@@ -398,7 +398,7 @@ configure:18: error: possibly undefined
# 2. Check that missing templates are a fatal error.
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
AC_CONFIG_HEADERS(config.h)
AC_DEFINE(that, "whatever you want.")
@@ -410,7 +410,7 @@ configure:18: error: possibly undefined
# 3. Check TOP and BOTTOM.
-AT_DATA(acconfig.h,
+AT_DATA([acconfig.h],
[[/* Top from acconfig.h. */
@TOP@
/* Middle from acconfig.h. */
@@ -418,7 +418,7 @@ configure:18: error: possibly undefined
/* Bottom from acconfig.h. */
]])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
AC_CONFIG_HEADERS(config.h)
AH_TOP([Top1 from configure.ac.])
@@ -463,7 +463,7 @@ configure:18: error: possibly undefined
# Check that AC_CANONICAL_SYSTEM and AC_OUTPUT are properly updated.
AT_SETUP([autoupdate])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT(Test, 1.0)
AC_CANONICAL_SYSTEM
# The doc says 27 is a valid fubar.
@@ -497,15 +497,15 @@ configure:18: error: possibly undefined
# --------------------------
AT_SETUP([autoupdating AC_LINK_FILES])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
AC_LINK_FILES(dst1 dst2, src1 src2)
AC_OUTPUT
]])
-AT_DATA(dst1, dst1
+AT_DATA([dst1], dst1
)
-AT_DATA(dst2, dst2
+AT_DATA([dst2], dst2
)
# Checking `autoupdate'.
Index: tests/torture.at
--- tests/torture.at Sun, 19 Aug 2001 11:34:51 +0200 akim
+++ tests/torture.at Sun, 19 Aug 2001 11:36:10 +0200 akim
@@ -106,7 +106,7 @@ m4_define([AT_CHECK_AC_ARG_VAR],
AT_SETUP([AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
rm -rf header var-header file var-file link var-link command var-command
echo 'OK' >input
@@ -191,7 +191,7 @@ m4_define([AT_CHECK_CONFIG_CREATION],
# Check that config.status detects missing input files
AT_SETUP([Missing templates])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
AC_CONFIG_FILES([nonexistent])
AC_OUTPUT
@@ -222,7 +222,7 @@ m4_define([AT_CHECK_CONFIG_CREATION],
AT_SETUP([configure invocation])
-AT_DATA(configure.ac,
+AT_DATA([configure.ac],
[[AC_INIT
echo "result=$one$enable_two$with_three"
AC_OUTPUT
@@ -424,7 +424,7 @@ m4_define([AT_DUMMY_VAR],
AT_CHECK_CONFIGURE
# Checking that AC_DEFINE worked properly.
-AT_DATA(expout,
+AT_DATA([expout],
[m4_for(AT_Count, 1, 100, 1,
[
/* AT_DESCRIPTION */
@@ -433,7 +433,7 @@ m4_define([AT_DUMMY_VAR],
AT_CHECK([sed -n '3,$ p' config.h], 0, expout)
# Checking that AC_SUBST worked properly.
-AT_DATA(expout,
+AT_DATA([expout],
[m4_for(AT_Count, 1, 100, 1,
[AT_BIG_VALUE
])])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 32-at-data-autotest-mode.patch,
Akim Demaille <=