[petsc-dev] Globsearch fails for me when running tests

Lisandro Dalcin dalcinl at gmail.com
Fri Mar 27 12:52:44 CDT 2020


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.

-- 
Lisandro Dalcin
============
Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200327/627e0e08/attachment.html>


More information about the petsc-dev mailing list