aloof-angle-91616
05/14/2019, 2:13 AM@console_rule
can have a dependency on an optionable_rule()
hundreds-father-404
05/14/2019, 2:16 AMoptionable_rule()
to consume subsystem options like --python-setup-interpreter-constraints
Could this also be used to consume task options like --test-pytest-chroot
?hundreds-father-404
05/14/2019, 2:16 AMGoal
classaloof-angle-91616
05/14/2019, 2:36 AM--args
an option for the Test
goalaloof-angle-91616
05/14/2019, 2:36 AMpants.util.strutil.safe_shlex_split()
on each elementaloof-angle-91616
05/14/2019, 2:37 AMhundreds-father-404
05/14/2019, 2:40 AM—args
?
My goal is to allow this
./pants test.pytest ... — -k test_foo
aloof-angle-91616
05/14/2019, 2:40 AMaloof-angle-91616
05/14/2019, 2:41 AMaloof-angle-91616
05/14/2019, 2:41 AMaloof-angle-91616
05/14/2019, 2:41 AMaloof-angle-91616
05/14/2019, 2:42 AM.passthru_args()
or whatever it ishundreds-father-404
05/14/2019, 2:42 AMaloof-angle-91616
05/14/2019, 2:43 AMaloof-angle-91616
05/14/2019, 2:44 AMaloof-angle-91616
05/14/2019, 2:44 AM.get_passthru_args()
is what i was thinking of, in task.py
aloof-angle-91616
05/14/2019, 2:47 AMaloof-angle-91616
05/14/2019, 2:48 AMaloof-angle-91616
05/14/2019, 2:49 AMaloof-angle-91616
05/14/2019, 2:49 AMaloof-angle-91616
05/14/2019, 2:49 AMhundreds-father-404
05/14/2019, 2:54 AMenv
differently.
- then will test running against Travis to see if it’s greenhundreds-father-404
05/14/2019, 2:55 AMwitty-crayon-22786
05/14/2019, 3:42 AM