Re: echo arbitrary text in autotest?

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

 



* Daily, Jeff A wrote on Fri, Jan 28, 2011 at 08:17:53PM CET:
> I want to dump some environment variables near the top of my tests
> suite since these variables affect my tests.  In my local.at file I
> have:
> AT_INIT
> AS_ECHO(["tests use seq $NP_START $NP_INC $NP_STOP"])
> 
> But it doesn't make it into my suite script at all.  I would like for
> the echo to go to both stdout and the suite.log file.  How can I do
> this?

I think this should work (untested):

m4_divert_push([PREPARE_TESTS])dnl
AS_ECHO(["tests use seq $NP_START $NP_INC $NP_STOP"])
AS_ECHO(["tests use seq $NP_START $NP_INC $NP_STOP"]) >&AS_MESSAGE_LOG_FD
m4_divert_pop([PREPARE_TESTS])dnl

Cheers,
Ralf

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux