freezing-area-97131
04/21/2022, 5:56 AM./pants test xxx:all_test
And there would be a BUILD
file under xxx
like this:
target(
name='all_test',
dependencies=[
':aaa',
':bbb',
],
)
and then it will look into aaa
and bbb
recursively to find python_tests
but in this newer version (2.10) of pants when I do the same thing, I will get this warning:
22:51:00.65 [WARN] No applicable files or targets matched. The `test` goal works with these target types:
* junit_test
* python_test
* scala_junit_test
* scalatest_test
However, you only specified targets with these target types:
* target
and it doesn’t run any test.
What should I do to make BUILD
files behave like they did in the past?happy-kitchen-89482
04/21/2022, 6:41 AMhappy-kitchen-89482
04/21/2022, 6:41 AM./pants test ::
happy-kitchen-89482
04/21/2022, 6:48 AMfreezing-area-97131
04/21/2022, 7:00 AMrefined-addition-53644
04/21/2022, 7:19 AMfreezing-area-97131
04/21/2022, 11:26 AMhappy-kitchen-89482
04/21/2022, 12:19 PMhappy-kitchen-89482
04/21/2022, 12:20 PM