<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Build2,<br />I am trying to run a single test target across multiple build configurations.<br />Here is a description of the case. The out of source build tree contains two or more build configurations (a,b,...) :<br /><br />bld/<br />├── confa<br />│ └── build<br />│ ├── bootstrap.build<br />│ ├── config.build<br />│ └── root.build<br />└── confb<br /> └── build<br /> ├── bootstrap.build<br /> ├── config.build<br /> └── root.build<br /><br /><br />The source tree contains several tests:<br /><br />src/<br />├── build<br />│ ├── bootstrap.build<br />│ └── root.build<br />├── buildfile<br />├── default.test<br />├── dira<br />│ ├── testa1.cpp<br />│ └── testa2.cpp<br />└── dirb<br /><br /><br />I like the ability to run all tests on all configurations:<br />$ b '{test}(./src@bld/{*/})'<br />test src/test{default}@bld/confa/ bld/confa/dira/exe{testa1}<br />test src/test{default}@bld/confb/ bld/confb/dira/exe{testa2}<br />test src/test{default}@bld/confa/ bld/confa/dira/exe{testa2}<br />test src/test{default}@bld/confb/ bld/confb/dira/exe{testa1}<br /><br />But, as the number of test target is growing, I would also like to be able to run a single test target across all the configurations. Currently I tried few variations around the following which does not provide the result I expect: <br />$ b '{test}(./src@bld/*/exe{dira/testa1})'<br />test src/test{default}@bld/*/ bld/*/dira/exe{testa1}<br /><br /><br />Is there a simple way to achieve this?<br />Thanks<br /><br /> </body>
</html>