[build2] Single test across multiple build configurations

Boris Kolpackov boris at codesynthesis.com
Wed Jan 24 12:06:36 UTC 2018


Ankur deDev <ankur.dedev at tuta.io> writes:

> Currently I tried few variations around the following which does not
> provide the result I expect:
>
> $ b '{test}(./src at bld/*/exe{dira/testa1})'

Right, there is no wildcard support in the directory part of a name.
See the relevant documentation for details:

https://build2.org/build2/doc/build2-build-system-manual.xhtml#name-patterns


> Is there a simple way to achieve this?

I feel like the config.test variable might allow you to achieve what
you want:

https://build2.org/build2/doc/build2-build-system-manual.xhtml#module-test

Boris



More information about the users mailing list