native-build-tools
native-build-tools copied to clipboard
-DagentOptions=access-filter-file=access-filter.json not taken in account
As shown in this branch with the samples/commandlinerunner-agent
project, passing -DagentOptions=access-filter-file=access-filter.json
(I also tried the absolute path variant) does not seems to be taken in account (no filtering of JUnit entries for example) while it works when specified in the pom.xml
:
<configuration>
<agent>
<enabled>true</enabled>
<options name="test">
<option>access-filter-file=${basedir}/access-filter.json</option>
</options>
</agent>
</configuration>
To be checked on Gradle side as well.