From: Ralf Wildenhues Date: Fri, 12 Mar 2010 05:58:46 +0000 (+0100) Subject: Formatting cleanups in macro comments. X-Git-Tag: v2.66~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8069104ae38b2e1c42365a104c0281c8433d67c;p=thirdparty%2Fautoconf.git Formatting cleanups in macro comments. For a list of candidate unaligned underlines, use this script: for f in `git ls-files`; do awk '{ len[NR] = length($0) } /----*/ && len[NR-1] != 0 { if (len[NR-1] != len[NR]) print FILENAME ":" NR ":" $0 }' $f done * lib/autoconf/c.m4, lib/autoconf/erlang.m4, lib/autoconf/fortran.m4, lib/autoconf/functions.m4, lib/autoconf/general.m4, lib/autoconf/lang.m4, lib/autoconf/programs.m4, lib/autoconf/specific.m4, lib/autoconf/status.m4, lib/autoconf/types.m4, lib/autotest/general.m4, lib/autotest/specific.m4, lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/autotest.at, tests/local.at, tests/m4sh.at, tests/semantics.at, tests/tools.at, tests/torture.at: Fix macro comment format. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index aad8ef75..48e22129 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2010-03-12 Ralf Wildenhues + + Formatting cleanups in macro comments. + * lib/autoconf/c.m4, lib/autoconf/erlang.m4, + lib/autoconf/fortran.m4, lib/autoconf/functions.m4, + lib/autoconf/general.m4, lib/autoconf/lang.m4, + lib/autoconf/programs.m4, lib/autoconf/specific.m4, + lib/autoconf/status.m4, lib/autoconf/types.m4, + lib/autotest/general.m4, lib/autotest/specific.m4, + lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, + tests/autotest.at, tests/local.at, tests/m4sh.at, + tests/semantics.at, tests/tools.at, tests/torture.at: Fix macro + comment format. + 2010-03-05 Ralf Wildenhues manual: index strings containing colon in non-info outputs. diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index 40fdab49..8cc4e559 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -79,7 +79,7 @@ AU_DEFUN([AC_LANG_C], [AC_LANG(C)]) # AC_LANG_CONFTEST(C)(BODY) -# ----------------------- +# ------------------------- # We can't use '#line $LINENO "configure"' here, since # Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 2002/05/09) # rejects $LINENO greater than 32767, and some configure scripts @@ -331,7 +331,7 @@ AC_DEFUN([_AC_ARG_VAR_LIBS], # AC_LANG_PREPROC(C) -# ------------------- +# ------------------ # Find the C preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. AC_DEFUN([AC_LANG_PREPROC(C)], [AC_REQUIRE([AC_PROG_CPP])]) @@ -622,7 +622,7 @@ fi # AC_LANG_PREPROC(C++) -# --------------------- +# -------------------- # Find the C++ preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. AC_DEFUN([AC_LANG_PREPROC(C++)], [AC_REQUIRE([AC_PROG_CXXCPP])]) @@ -995,7 +995,7 @@ AC_DEFUN([AC_LANG_COMPILER(Objective C++)], # AC_PROG_OBJCXX([LIST-OF-COMPILERS]) -# --------------------------------- +# ----------------------------------- # LIST-OF-COMPILERS is a space separated list of Objective C++ compilers to # search for (if not specified, a default list is used). This just gives # the user an opportunity to specify an alternative search list for the @@ -1953,7 +1953,7 @@ m4_define([_AC_LANG_OPENMP(Fortran 77)], [AC_LANG_FUNC_LINK_TRY([omp_get_num_threads])]) # _AC_LANG_OPENMP(Fortran) -# --------------------------- +# ------------------------ m4_copy([_AC_LANG_OPENMP(Fortran 77)], [_AC_LANG_OPENMP(Fortran)]) # AC_OPENMP diff --git a/lib/autoconf/erlang.m4 b/lib/autoconf/erlang.m4 index 26ecaf4d..bcdbb758 100644 --- a/lib/autoconf/erlang.m4 +++ b/lib/autoconf/erlang.m4 @@ -108,7 +108,7 @@ ac_link='$ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&AS_MESSAGE_LOG_FD && echo " # AC_LANG_ERLANG -# ----------------- +# -------------- AU_DEFUN([AC_LANG_ERLANG], [AC_LANG(Erlang)]) diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 4cfebe6e..1d8ef0b8 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -241,7 +241,7 @@ AC_DEFUN([AC_LANG_PREPROC(Fortran 77)], [$0: No preprocessor defined for ]_AC_LANG)]) # AC_LANG_PREPROC(Fortran) -# --------------------------- +# ------------------------ # Find the Fortran preprocessor. Must be AC_DEFUN'd to be AC_REQUIRE'able. AC_DEFUN([AC_LANG_PREPROC(Fortran)], [m4_warn([syntax], @@ -256,7 +256,7 @@ AC_DEFUN([AC_LANG_COMPILER(Fortran 77)], [AC_REQUIRE([AC_PROG_F77])]) # AC_LANG_COMPILER(Fortran) -# ---------------------------- +# ------------------------- # Find the Fortran compiler. Must be AC_DEFUN'd to be # AC_REQUIRE'able. AC_DEFUN([AC_LANG_COMPILER(Fortran)], @@ -466,7 +466,7 @@ AC_LANG_POP(Fortran 77)dnl # AC_PROG_FC_C_O -# --------------- +# -------------- AC_DEFUN([AC_PROG_FC_C_O], [AC_REQUIRE([AC_PROG_FC])dnl AC_LANG_PUSH(Fortran)dnl @@ -482,7 +482,7 @@ AC_LANG_POP(Fortran)dnl # _AC_PROG_FC_V_OUTPUT([FLAG = $ac_cv_prog_{f77/fc}_v]) -# ------------------------------------------------- +# ----------------------------------------------------- # Link a trivial Fortran program, compiling with a verbose output FLAG # (whose default value, $ac_cv_prog_{f77/fc}_v, is computed by # _AC_PROG_FC_V), and return the output in $ac_{f77/fc}_v_output. This @@ -549,7 +549,7 @@ esac # _AC_PROG_FC_V -# -------------- +# ------------- # # Determine the flag that causes the Fortran compiler to print # information of library and object files (normally -v) @@ -705,7 +705,7 @@ AC_LANG_POP(Fortran 77)dnl # AC_FC_LIBRARY_LDFLAGS -# ---------------------- +# --------------------- AC_DEFUN([AC_FC_LIBRARY_LDFLAGS], [AC_REQUIRE([AC_PROG_FC])dnl AC_LANG_PUSH(Fortran)dnl @@ -801,7 +801,7 @@ fi])], # AC_F77_DUMMY_MAIN -# ---------------------- +# ----------------- AC_DEFUN([AC_F77_DUMMY_MAIN], [AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl AC_LANG_PUSH(Fortran 77)dnl @@ -811,7 +811,7 @@ AC_LANG_POP(Fortran 77)dnl # AC_FC_DUMMY_MAIN -# ---------------------- +# ---------------- AC_DEFUN([AC_FC_DUMMY_MAIN], [AC_REQUIRE([AC_FC_LIBRARY_LDFLAGS])dnl AC_LANG_PUSH(Fortran)dnl @@ -972,7 +972,7 @@ AU_DEFUN([AC_F77_NAME_MANGLING], []) # _AC_F77_NAME_MANGLING -# ---------------------- +# --------------------- AC_DEFUN([_AC_F77_NAME_MANGLING], [AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl AC_REQUIRE([AC_F77_DUMMY_MAIN])dnl @@ -983,7 +983,7 @@ AC_LANG_POP(Fortran 77)dnl # _AC_FC_NAME_MANGLING -# ---------------------- +# -------------------- AC_DEFUN([_AC_FC_NAME_MANGLING], [AC_REQUIRE([AC_FC_LIBRARY_LDFLAGS])dnl AC_REQUIRE([AC_FC_DUMMY_MAIN])dnl diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index aae7220a..d5da2069 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -1770,7 +1770,7 @@ AU_ALIAS([AC_UTIME_NULL], [AC_FUNC_UTIME_NULL]) # AC_FUNC_FORK -# ------------- +# ------------ AN_FUNCTION([fork], [AC_FUNC_FORK]) AN_FUNCTION([vfork], [AC_FUNC_FORK]) AC_DEFUN([AC_FUNC_FORK], @@ -1831,7 +1831,7 @@ AC_DEFUN([_AC_FUNC_FORK], # _AC_FUNC_VFORK -# ------------- +# -------------- AC_DEFUN([_AC_FUNC_VFORK], [AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works, [AC_RUN_IFELSE([AC_LANG_SOURCE([[/* Thanks to Paul Eggert for this test. */ @@ -1930,7 +1930,7 @@ main () # AU::AC_FUNC_VFORK -# ------------ +# ----------------- AU_ALIAS([AC_FUNC_VFORK], [AC_FUNC_FORK]) # AU::AC_VFORK diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 15640c82..648f6061 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1485,7 +1485,7 @@ AU_DEFUN([AC_WITH], [AC_ARG_WITH([$1], [ --with-$1], [$2], [$3])]) # AC_DISABLE_OPTION_CHECKING -# -------------------------------------------------------------------- +# -------------------------- AC_DEFUN([AC_DISABLE_OPTION_CHECKING], [m4_divert_once([DEFAULTS], [enable_option_checking=no]) ])# AC_DISABLE_OPTION_CHECKING @@ -2033,7 +2033,7 @@ AS_LITERAL_IF([$2], # _AC_CACHE_CHECK_INT(MESSAGE, CACHE-ID, EXPRESSION, # [PROLOGUE = DEFAULT-INCLUDES], [IF-FAILS]) -# ------------------------------------------------------------- +# -------------------------------------------------------------- AC_DEFUN([_AC_CACHE_CHECK_INT], [AC_CACHE_CHECK([$1], [$2], [AC_COMPUTE_INT([$2], [$3], [$4], [$5])]) @@ -2733,7 +2733,7 @@ AS_IF([test "$cross_compiling" = yes], # AC_TRY_RUN(PROGRAM, # [ACTION-IF-TRUE], [ACTION-IF-FALSE], # [ACTION-IF-CROSS-COMPILING = RUNTIME-ERROR]) -# -------------------------------------------------------- +# ------------------------------------------------------- AU_DEFUN([AC_TRY_RUN], [AC_RUN_IFELSE([AC_LANG_SOURCE([[$1]])], [$2], [$3], [$4])]) @@ -2881,7 +2881,7 @@ m4_define([AC_LIBSOURCE], []) # AC_LIBSOURCES([FILE-NAME1, ...]) -# ------------------------------- +# -------------------------------- # Announce we might need these files. AC_DEFUN([AC_LIBSOURCES], [m4_map_args([AC_LIBSOURCE], $1)]) @@ -2902,7 +2902,7 @@ esac # AC_LIBOBJ(FILE-NAME-NOEXT) -# ------------------------- +# -------------------------- # We need `FILE-NAME-NOEXT.o', save this into `LIBOBJS'. AC_DEFUN([AC_LIBOBJ], [_AC_LIBOBJ([$1], diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4 index 98ccf5c4..3e8de53e 100644 --- a/lib/autoconf/lang.m4 +++ b/lib/autoconf/lang.m4 @@ -237,7 +237,7 @@ m4_define([_AC_LANG_NULL_PROGRAM()], # _AC_LANG_NULL_PROGRAM -# ---------------------- +# --------------------- # Produce valid source for the current language that does # nothing. AC_DEFUN([_AC_LANG_NULL_PROGRAM], @@ -245,7 +245,7 @@ AC_DEFUN([_AC_LANG_NULL_PROGRAM], # _AC_LANG_IO_PROGRAM -# ----------------------------------- +# ------------------- # Produce valid source for the current language that creates # a file. (This is used when detecting whether executables # work, e.g. to detect cross-compiling.) @@ -700,7 +700,7 @@ ac_objext=$OBJEXT ## ------------------------------- ## # AC_LANG_WERROR -# ------------------ +# -------------- # Treat warnings from the current language's preprocessor, compiler, and # linker as fatal errors. AC_DEFUN([AC_LANG_WERROR], diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4 index 3dc72211..9741f7b4 100644 --- a/lib/autoconf/programs.m4 +++ b/lib/autoconf/programs.m4 @@ -445,7 +445,7 @@ fi # AC_PATH_PROGS_FEATURE_CHECK(VARIABLE, PROGNAME-LIST, # FEATURE-TEST, [ACTION-IF-NOT-FOUND=:], # [PATH=$PATH]) -# ---------------------------------------------------------------- +# ------------------------------------------------------------------ # Designed to be used inside AC_CACHE_VAL. It is recommended, # but not required, that the user also use AC_ARG_VAR([VARIABLE]). # If VARIABLE is not empty, set the cache variable diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 0da742aa..1e20e014 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -105,7 +105,7 @@ m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], # CACHE-VAR, # DESCRIPTION, # PROLOGUE, [FUNCTION-BODY]) -# ---------------------------------------------------------- +# -------------------------------------------------------- m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE], [AC_CACHE_CHECK([for $1 value needed for large files], [$3], [while :; do @@ -306,7 +306,7 @@ AC_DEFUN([AC_SYS_POSIX_TERMIOS], # AC_GNU_SOURCE -# -------------- +# ------------- AU_DEFUN([AC_GNU_SOURCE], [AC_USE_SYSTEM_EXTENSIONS]) diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4 index 5988a61c..63ac5ae7 100644 --- a/lib/autoconf/status.m4 +++ b/lib/autoconf/status.m4 @@ -160,7 +160,7 @@ m4_define([_AC_FILE_DEPENDENCY_TRACE_COLON], # _AC_CONFIG_DEPENDENCY(MODE, DEST[:SOURCE1...]) -# --------------------------------------------- +# ---------------------------------------------- # MODE is `FILES', `HEADERS', or `LINKS'. # # Be sure that a missing dependency is expressed as a dependency upon diff --git a/lib/autoconf/types.m4 b/lib/autoconf/types.m4 index 0e0e3f30..646b1dcc 100644 --- a/lib/autoconf/types.m4 +++ b/lib/autoconf/types.m4 @@ -305,7 +305,7 @@ AU_DEFUN([AM_TYPE_PTRDIFF_T], # AC_TYPE_INTMAX_T -# ----------------- +# ---------------- AC_DEFUN([AC_TYPE_INTMAX_T], [ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) @@ -339,7 +339,7 @@ AC_DEFUN([AC_TYPE_UINTMAX_T], # AC_TYPE_INTPTR_T -# ----------------- +# ---------------- AC_DEFUN([AC_TYPE_INTPTR_T], [ AC_CHECK_TYPE([intptr_t], @@ -898,9 +898,9 @@ m4_define([_AC_CHECK_MEMBERS], [^\([^.]*\)\.\(.*\)], [[\2' is a member of `\1]])['.])]]) # AC_CHECK_MEMBERS([AGGREGATE.MEMBER, ...], -# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND] +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], # [INCLUDES = DEFAULT-INCLUDES]) -# --------------------------------------------------------- +# ---------------------------------------------------------- # The first argument is an m4 list. AC_DEFUN([AC_CHECK_MEMBERS], [m4_map_args_sep([AC_CHECK_MEMBER(_$0(], [)[ @@ -944,11 +944,11 @@ AC_DEFUN([_AC_STRUCT_DIRENT], ]) # AC_STRUCT_DIRENT_D_INO -# ----------------------------------- +# ---------------------- AC_DEFUN([AC_STRUCT_DIRENT_D_INO], [_AC_STRUCT_DIRENT([d_ino])]) # AC_STRUCT_DIRENT_D_TYPE -# ------------------------------------ +# ----------------------- AC_DEFUN([AC_STRUCT_DIRENT_D_TYPE], [_AC_STRUCT_DIRENT([d_type])]) diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4 index 79421645..c12f7d9e 100644 --- a/lib/autotest/general.m4 +++ b/lib/autotest/general.m4 @@ -177,7 +177,7 @@ m4_define([_AT_DEFINE_INIT], m4_append([_AT_DEFINE_INIT_LIST], [[$1]], [,])]) # _AT_DEFINE_SETUP(NAME, [DEFINITION]) -# ----------------------------------- +# ------------------------------------ # Define macro NAME to die if invoked outside AT_SETUP/AT_CLEANUP, and # to DEFINITION otherwise. m4_define([_AT_DEFINE_SETUP], @@ -1697,7 +1697,7 @@ m4_defun([AT_ARG_OPTION],[_AT_ARG_OPTION([$1],[$2],,[$3],[$4])]) # AT_ARG_OPTION_ARG(OPTIONS,HELP-TEXT,[ACTION-IF-GIVEN],[ACTION-IF-NOT-GIVEN]) -# --------------------------------------------------------------------------- +# ---------------------------------------------------------------------------- # Accept a set of OPTIONS with arguments, seperated by commas. Add HELP-TEXT # to the HELP_OTHER diversion. # @@ -1768,7 +1768,7 @@ m4_divert_push([TEST_SCRIPT])dnl # AT_FAIL_IF(SHELL-EXPRESSION) -# ----------------------------- +# ---------------------------- # Make the test die with hard failure if SHELL-EXPRESSION evaluates to # true (exitcode = 0). _AT_DEFINE_SETUP([AT_FAIL_IF], @@ -1783,7 +1783,7 @@ m4_case([$1], # AT_SKIP_IF(SHELL-EXPRESSION) -# ----------------------------- +# ---------------------------- # Skip the rest of the group if SHELL-EXPRESSION evaluates to true # (exitcode = 0). _AT_DEFINE_SETUP([AT_SKIP_IF], diff --git a/lib/autotest/specific.m4 b/lib/autotest/specific.m4 index 2505fc63..11eb88b3 100644 --- a/lib/autotest/specific.m4 +++ b/lib/autotest/specific.m4 @@ -25,7 +25,7 @@ m4_define([_AT_COPYRIGHT_YEARS], ## ------------------------ ## -## Erlang EUnit unit tests. ## +## Erlang EUnit unit tests. ## ## ------------------------ ## # AT_CHECK_EUNIT(MODULE, SPEC, [ERLFLAGS], [RUN-IF-FAIL], [RUN-IF-PASS]) diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index bfa6b440..f0565694 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -855,7 +855,7 @@ m4_defun([AS_LINENO_PUSH], # AS_LINENO_POP([LINENO]) -# ------------------------ +# ----------------------- # If this is call balances the outermost call to AS_LINENO_PUSH, # AS_MESSAGE will restart printing $LINENO as the line number. m4_defun([AS_LINENO_POP], @@ -964,7 +964,7 @@ _AS_DIRNAME_SED([$1])]) # _AS_DIRNAME_PREPARE -# -------------------- +# ------------------- m4_defun([_AS_DIRNAME_PREPARE], [AS_REQUIRE([_AS_EXPR_PREPARE])]dnl [if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then @@ -986,7 +986,7 @@ m4_defun_init([AS_ECHO], # AS_ECHO_N(WORD) -# ------------- +# --------------- # Like AS_ECHO(WORD), except do not output the trailing newline. m4_defun_init([AS_ECHO_N], [AS_REQUIRE([_AS_ECHO_PREPARE])], @@ -994,7 +994,7 @@ m4_defun_init([AS_ECHO_N], # _AS_ECHO_PREPARE -# ----------------- +# ---------------- # Arrange for $as_echo 'FOO' to echo FOO without escape-interpretation; # and similarly for $as_echo_n, which omits the trailing newline. # 'FOO' is an optional single argument; a missing FOO is treated as empty. @@ -1080,7 +1080,7 @@ m4_defun([_AS_ME_PREPARE], ]) # _AS_LINENO_WORKS -# --------------- +# ---------------- # Succeed if the currently executing shell supports LINENO. # This macro does not expand to a single shell command, so be careful # when using it. Surrounding the body of this macro with {} would @@ -1669,7 +1669,7 @@ m4_defun([_AS_VERSION_COMPARE_PREPARE], # AS_VERSION_COMPARE(VERSION-1, VERSION-2, # [ACTION-IF-LESS], [ACTION-IF-EQUAL], [ACTION-IF-GREATER]) -# ----------------------------------------------------------------------------- +# ---------------------------------------------------------------------------- # Compare two strings possibly containing shell variables as version strings. # # This usage is portable even to ancient awk, diff --git a/lib/m4sugar/m4sugar.m4 b/lib/m4sugar/m4sugar.m4 index a9dd09a0..06ac4c6d 100644 --- a/lib/m4sugar/m4sugar.m4 +++ b/lib/m4sugar/m4sugar.m4 @@ -736,7 +736,7 @@ m4_define([_m4_shiftn], # m4_shift2(...) # m4_shift3(...) -# ----------------- +# -------------- # Returns ... shifted twice, and three times. Faster than m4_shiftn. m4_define([m4_shift2], [m4_shift(m4_shift($@))]) m4_define([m4_shift3], [m4_shift(m4_shift(m4_shift($@)))]) @@ -1396,7 +1396,7 @@ m4_define([_m4_divert()], 0) # m4_divert_stack -# ------------------ +# --------------- # Print the diversion stack, if it's nonempty. The caller is # responsible for any leading or trailing newline. m4_define([m4_divert_stack], @@ -1922,7 +1922,7 @@ m4_define([_m4_divert_dump]) # m4_divert_require(DIVERSION, NAME-TO-CHECK, [BODY-TO-EXPAND]) -# -------------------------------------------------------------- +# ------------------------------------------------------------- # Same as m4_require, but BODY-TO-EXPAND goes into the named DIVERSION; # requirements still go in the current diversion though. # @@ -2171,7 +2171,7 @@ m4_defn([m4_cr_digits])dnl # m4_cr_symbols1 # m4_cr_symbols2 -# ------------------------------- +# -------------- m4_define([m4_cr_symbols1], m4_defn([m4_cr_Letters])dnl _) diff --git a/tests/autotest.at b/tests/autotest.at index 88078ace..4eca4b0e 100644 --- a/tests/autotest.at +++ b/tests/autotest.at @@ -84,7 +84,7 @@ AT_CLEANUP ])# AT_CHECK_AT # AT_CHECK_AT_TEST(TITLE, SUITE-SNIPPET, ...) -# ----------------------------------------------------------------------- +# ------------------------------------------- # Wrapper for AT_CHECK_AT that surrounds SUITE-SNIPPET with a boilerplate # AT_INIT, AT_SETUP, and AT_CLEANUP and passes other arguments verbatim. m4_define([AT_CHECK_AT_TEST], @@ -638,7 +638,7 @@ AT_CLEANUP ## Funny characters in test names. ## ## ------------------------------- ## -# AT_CHECK_AT_TITLE(TITLE, TITLE-TO-TEST, EXPANDED-TITLE-TO-TEST +# AT_CHECK_AT_TITLE(TITLE, TITLE-TO-TEST, EXPANDED-TITLE-TO-TEST, # [XFAIL-CONDITION], [COLUMN = 53]) # --------------------------------------------------------------- # Create a new test named TITLE that runs an Autotest test suite diff --git a/tests/local.at b/tests/local.at index c26d0713..a812c43e 100644 --- a/tests/local.at +++ b/tests/local.at @@ -224,7 +224,7 @@ m4_define([AT_CHECK_AUTOHEADER], # AT_CHECK_CONFIGURE(END-COMMAND, # [EXIT-STATUS = 0], # [STDOUT = IGNORE], STDERR) -# -------------------------------------------- +# --------------------------------------------- # `abs_top_srcdir' is needed so that `./configure' finds install-sh. # Using --srcdir is more expensive. m4_define([AT_CHECK_CONFIGURE], diff --git a/tests/m4sh.at b/tests/m4sh.at index f34e6bac..7f2cc392 100644 --- a/tests/m4sh.at +++ b/tests/m4sh.at @@ -552,7 +552,7 @@ AT_CLEANUP ## --------------------------- ## -## Nested AS_REQUIRE_SHELL_FN ## +## Nested AS_REQUIRE_SHELL_FN. ## ## --------------------------- ## # Hypothesis: M4sh expands nested AS_REQUIRE_SHELL_FN diff --git a/tests/semantics.at b/tests/semantics.at index 9aaffc34..bb4481b7 100644 --- a/tests/semantics.at +++ b/tests/semantics.at @@ -254,7 +254,7 @@ AT_CLEANUP # AC_CHECK_MEMBER -# ---------------- +# --------------- # Check that it performs the correct actions. # Must define HAVE_STRUCT_YES_S_YES, but not HAVE_STRUCT_YES_S_NO. AT_CHECK_MACRO([AC_CHECK_MEMBER], diff --git a/tests/tools.at b/tests/tools.at index f3adb116..05e88c9c 100644 --- a/tests/tools.at +++ b/tests/tools.at @@ -518,7 +518,7 @@ AT_CLEANUP # autoconf: AC_AUTOCONF_VERSION -# -------------------------------------- +# ----------------------------- AT_SETUP([autoconf: AC_AUTOCONF_VERSION]) AT_DATA([configure.ac], @@ -1272,7 +1272,7 @@ AT_CLEANUP # autotools and file names containing whitespace -# --------------------------------------------- +# ---------------------------------------------- AT_SETUP([autotools and whitespace in file names]) diff --git a/tests/torture.at b/tests/torture.at index 82916947..82e94526 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -221,7 +221,7 @@ AT_CHECK([grep OK var-$1], [], [OK # AT_CHECK_CONFIG_CREATION_NOWRITE(THING = (header | link | file | command)) -# ------------------------------------------------------------------ +# -------------------------------------------------------------------------- # Check that THING and var-THING (which uses variables in AC_CONFIG_THING) # are properly created, with the right content. # Use `grep OK' instead of a simple `cat' to avoid banners such as in