mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-12 10:35:06 +08:00
f6dd7456f3
Introduce a new style of testing, independent from DejaGNU. Introduce the logistics. * configure.in: Initialize AT, and output tests/atconfig, and tests/Makefile. * m4/atconfig.m4: New file. * m4/Makefile.am: Adjusted. * aclocal.m4: Include atconfig.m4. * Makefile.am: Adjusted. * tests/Makefile.am: New file. * tests/atgeneral.m4: Likewise. * tests/atconfig.in: Likewise. Write tests. * tests/syntax.m4: New file, in charge of checking the validity of the sh code produced by the macros defined in acspecific.m4. acgeneral.m4 is not checked here, because these macros require arguments. * tests/suite.m4: New file. Run syntax.m4.
32 lines
918 B
Bash
32 lines
918 B
Bash
# @configure_input@ -*- shell-script -*-
|
|
# Configurable variable values for building test suites.
|
|
# Copyright (C) 2000 Free Software Foundation, Inc.
|
|
|
|
# Snippet (1
|
|
# This debugging script has been automatically generated from `make check'.
|
|
|
|
at_package=@PACKAGE@
|
|
at_version=@VERSION@
|
|
# Snippet )1
|
|
# Snippet (2
|
|
at_n=@ECHO_N@
|
|
at_c='@ECHO_C@'
|
|
test -f atlocal && . ./atlocal
|
|
|
|
# LC_MESSAGES is always shadowed by LC_ALL. Here are the only cases:
|
|
# - GNU: LANGUAGE -> LC_ALL -> LC_MESSAGES -> LANG
|
|
# - POSIX: LC_ALL -> LC_MESSAGES -> LANG
|
|
# - XPG4: LC_ALL -> LANG
|
|
# - SysV/XPG2: LANG
|
|
export LANGUAGE; LANGUAGE=C
|
|
export LANG; LANG=C
|
|
export LC_ALL; LC_ALL=C
|
|
|
|
srcdir=@srcdir@
|
|
top_srcdir=@top_srcdir@
|
|
# Use absolute file notations, as the test might change directories.
|
|
at_srcdir=`cd @srcdir@ && pwd`
|
|
at_top_srcdir=`cd @top_srcdir@ && pwd`
|
|
export PATH; PATH=`pwd`:`cd @AT_TESTPATH@ && pwd`:$PATH
|
|
# Snippet )2
|