calm-artist-46894
02/21/2020, 12:37 AM./pants binary src/python::
(where I have multiple targets)?
When one of them fails, not straightforward to know which one exactlyaloof-angle-91616
02/21/2020, 12:38 AMaloof-angle-91616
02/21/2020, 12:39 AM-ldebug
will give some info. but that's not what you want -- you want this without a huge amount of debug text.aloof-angle-91616
02/21/2020, 12:40 AMcalm-artist-46894
02/21/2020, 1:13 AM./pants filter --type=python_tests --output-file=$PYTHON_TEST_TARGET libraries::
./pants --positional-arg-file=$PYTHON_TEST_TARGET --tag=-py2 --tag=unittest test --test-pytest-coverage=auto
And when build fails, the first thing I need to do is to figure out which exact target failed and try to re-run/repro the issue with only that targetcalm-artist-46894
02/21/2020, 1:15 AM[setup]
or [complete]
but they are not goals
16:24:58 00:00 [main]
(To run a reporting server: ./pants server)
16:24:59 00:01 [setup]
16:24:59 00:01 [parse]
Executing tasks in goals: unpack-wheels -> deferred-sources -> native-compile -> gen -> link -> pyprep -> setup-py
16:24:59 00:01 [unpack-wheels]
16:24:59 00:01 [unpack-wheels]
16:24:59 00:01 [deferred-sources]
16:24:59 00:01 [deferred-sources]
16:24:59 00:01 [native-compile]
16:24:59 00:01 [conan-prep]
16:24:59 00:01 [conan-fetch]
16:24:59 00:01 [c-for-ctypes]
16:24:59 00:01 [cpp-for-ctypes]
16:24:59 00:01 [gen]
16:24:59 00:01 [grpcio-prep]
16:24:59 00:01 [grpcio-run]
16:24:59 00:01 [go-thrift]
16:24:59 00:01 [go-protobuf]
16:24:59 00:01 [link]
16:24:59 00:01 [shared-libraries]
16:24:59 00:01 [pyprep]
16:24:59 00:01 [interpreter]
16:24:59 00:01 [build-local-dists]
16:24:59 00:01 [requirements]
16:24:59 00:01 [sources]
16:24:59 00:01 [setup-py]
16:24:59 00:01 [setup-py]
16:24:59 00:01 [find-namespace-packages]
16:25:00 00:02 [complete]
aloof-angle-91616
02/21/2020, 1:40 AM--pytest-args
. if you set --pytest-args='-vs'
you will get a much more verbose outputaloof-angle-91616
02/21/2020, 1:40 AMfilter
as well?