autoconf-patches
[Top][All Lists]
Advanced

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

Re: Test for temporary files


From: Akim Demaille
Subject: Re: Test for temporary files
Date: 25 Oct 2000 10:51:21 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

| As promised, it's the patch for temporary files left by Autoconf macros.
| Suggestions on better names are welcome.

Yours are fine.

| Also I must rename files to "expout" due to limitations of AT_CHECK. Maybe
| we should have a macro for comparing files.

Yep.  There are several things lacking in Autotest.  The thing is to
let idiom appear and then import them into Autotest.

| ChangeLog:
|         * tests/aclocal.m4 (AC_ENV_SAVE): Renamed to ...
|         (AC_STATE_SAVE): ... this. Also is saves the list of all files
|         in the current directory.

        * tests/aclocal.m4 (AC_ENV_SAVE): Rename to ...
         (AC_STATE_SAVE): ... this.  Save the list of all files
         in the current directory.



| +if test -f state-env.after; then
| +  cp -f state-env.before expout
| +  AT_CHECK([cat state-env.after], 0, expout)
| +  cp -f state-ls.before expout
| +  AT_CHECK([cat state-ls.after], 0, expout)
|  fi
| +exit 1

huh?

| +rm -f state*
|  ])# _AT_CHECK_AC_MACRO



reply via email to

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