sparse-lifeguard-95737
09/16/2022, 7:32 PMcommon.sh
test_common.sh
BUILD.pants
where test_common.sh
invokes common.sh
, and the BUILD.pants
file had:
shell_sources()
shunit2_tests(name="tests", shell="bash")
this worked fine in v2.13, but on v2.14.0rc0 test_common.sh
started failing with a “no such file or directory” error when it tried to invoke common.sh
. adding an explicit dependency in the BUILD.pants
made things work againsparse-lifeguard-95737
09/16/2022, 7:32 PMsparse-lifeguard-95737
09/21/2022, 2:27 PMhundreds-father-404
09/21/2022, 4:57 PMhundreds-father-404
09/21/2022, 4:59 PM./pants dependencies --transitive test_common.sh
changed between the Pants version?
We definitely want to figure out regerssions like thissparse-lifeguard-95737
09/21/2022, 5:19 PM$ ./pants dependencies --transitive build/pants/ci/test_common.sh
build/pants/ci/common.sh
after:
$ ./pants dependencies --transitive build/pants/ci/test_common.sh
sparse-lifeguard-95737
09/21/2022, 5:20 PMhundreds-father-404
09/21/2022, 5:25 PMsource
statementshundreds-father-404
09/21/2022, 5:25 PMsparse-lifeguard-95737
09/21/2022, 5:26 PMsparse-lifeguard-95737
09/21/2022, 5:26 PMsparse-lifeguard-95737
09/21/2022, 5:26 PMhundreds-father-404
09/21/2022, 5:27 PMsource "foo"
and . "foo"
should be relevanthundreds-father-404
09/21/2022, 5:27 PMsparse-lifeguard-95737
09/21/2022, 7:44 PM