• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 5540
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: upgrade_pex
DEFAULT BRANCH: main
Ran 08 Jul 2015 09:45PM UTC
Jobs 10
Files 332
Run time 12min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5540

push

travis-ci

John Sirois
Fixup BuildFile must_exist logic.

Relax the BuildFile.must_exist logic to ensure a logical BUILD file
exists.  Previously the logic required the primary canonical BUILD file
(no extension) to be a valid BUILD file and not a directory if a valid
sibling BUILD file existed.

This change adds a failing test that is then fixed.
Along the way, centralize BUILD file `._isfile` testing in
`_get_all_build_files`.

Testing Done:
Before fix, the new test failed like so:
```console
$ ./pants test tests/python/pants_test/base:filesystem_build_file -- -ktest_dir_is_primary
...
                     E         MissingBuildFileError: Path to buildfile (/tmp/tmp7ZEf8n/root/issue_1742/BUILD) is a directory, but it must be a file.

                     src/python/pants/base/build_file.py:167: MissingBuildFileError
...
```

CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/70123652

Bugs closed: 1742, 1774

Reviewed at https://rbcommons.com/s/twitter/r/2441/

14181 of 19959 relevant lines covered (71.05%)

1.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5540.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 08 Jul 2015 09:45PM UTC 0
Travis Job 5540.1
2 5540.2 (CI_FLAGS="-fkmsrcn -u 0/2 'Unit tests for pants and pants-plugins - shard 1'") 08 Jul 2015 09:50PM UTC 0
67.19
Travis Job 5540.2
3 5540.3 (CI_FLAGS="-fkmsrcn -u 1/2 'Unit tests for pants and pants-plugins - shard 2'") 08 Jul 2015 09:49PM UTC 0
66.52
Travis Job 5540.3
4 5540.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 08 Jul 2015 09:49PM UTC 0
Travis Job 5540.4
5 5540.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 08 Jul 2015 09:51PM UTC 0
Travis Job 5540.5
6 5540.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 08 Jul 2015 09:51PM UTC 0
Travis Job 5540.6
7 5540.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 08 Jul 2015 09:58PM UTC 0
Travis Job 5540.7
8 5540.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 08 Jul 2015 09:55PM UTC 0
Travis Job 5540.8
9 5540.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 08 Jul 2015 09:57PM UTC 0
Travis Job 5540.9
10 5540.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 08 Jul 2015 09:57PM UTC 0
Travis Job 5540.10
Source Files on build 5540
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5540
  • 5d3610f3 on github
  • Prev Build on master (#5529)
  • Next Build on master (#5541)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc