[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Question on --test-name=NAME
From: |
Arthur Schwarz |
Subject: |
RE: Question on --test-name=NAME |
Date: |
Sun, 26 Apr 2015 14:13:14 -0700 |
> -----Original Message-----
> From: Gavin Smith [mailto:address@hidden
> Sent: Sunday, April 26, 2015 1:42 PM
> To: Arthur Schwarz
> Cc: Automake Mailing List
> Subject: Re: Question on --test-name=NAME
>
> > As a point, 15.3.3.1 Command-line arguments for test drivers shows all
> > options as having the syntax "--option=value". Your example does not
have
> > this syntax. Will your example work? Should this be in the manual, as in
> > "--option[=| ]value?"
>
> I am sure that both should be supported although I haven't found a
> reference for this.
>
> > By the way, you have "@p='t/file.sh'" and --test-name "$$f". Do you mean
> > --test-name "$$p"?
>
> I just copied from a Makefile.in file, which does work. You wouldn't
> be writing something like that by hand. I expect the "f" variable is
> hidden in $(am__check_pre) somewhere.
>
Bye the bye:
"15.3.3.1 Command-line arguments for test drivers
A custom driver can rely on various command-line options and arguments being
passed to it automatically by the Automake-generated test harness. It is
mandatory that it understands all of them (even if the exact interpretation
of the associated semantics can legitimately change between a test driver
and another, and even be a no-op in some drivers)."
Which covers your comments about the command line interface being a test
driver option. However, I don't see any mechanism to pass a test driver
option to a driver. The _FLAGS seems to be for the _DRIVER. Do you know how
this is done?