[petsc-dev] Globsearch fails for me when running tests
Matthew Knepley
knepley at gmail.com
Sat Mar 28 11:01:24 CDT 2020
On Fri, Mar 27, 2020 at 4:51 PM Jed Brown <jed at jedbrown.org> wrote:
> Lisandro Dalcin <dalcinl at gmail.com> writes:
>
> > On Thu, 26 Mar 2020 at 00:48, Jed Brown <jed at jedbrown.org> wrote:
> >
> >> Scott, you can't pass '$(alltesttargets)' on the command line like this.
> >>
> >> TESTTARGETS := $(shell $(PYTHON) -c"import sys,fnmatch,itertools;
> >> m=[fnmatch.filter(sys.argv[2].split(),p) for p in sys.argv[1].split()];
> >> print(' '.join(list(itertools.chain.from_iterable(m))))" '$(globsearch)'
> >> '$(alltesttargets)')
> >>
> >> For this feature, probably put them in an argsfile
> >>
> >> $(file >$(TESTDIR)/globsearch.args,$(alltesttargets))
> >>
> >>
> > IIRC, the $(file ...) function does not work with stock make in macOS.
>
> You're right; that is a make 4.0 feature. But developers who need
> globsearch should have the ability to evade Apple's anti-GNU smear.
>
Do we really have to make things hard on Mac to use something I use every
day hundreds of times?
Matt
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200328/91dfbda1/attachment.html>
More information about the petsc-dev
mailing list