-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is designed to catch issues like what happened in #460, but also more generally improve test coverage.
- Loading branch information
Showing
8 changed files
with
158 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# This runs only on Travis. The goal is to populate the `.julia/compiled/v*` directory | ||
# with some additional files, so that `filter_valid_cachefiles` has to run. | ||
# This is to catch problems like #460. | ||
|
||
using Pkg | ||
using Test | ||
|
||
Pkg.add(PackageSpec(name="EponymTuples", version="0.2.0")) | ||
using EponymTuples # force compilation | ||
id = Base.PkgId(EponymTuples) | ||
paths = Base.find_all_in_cache_path(id) | ||
Pkg.rm("EponymTuples") # we don't need it anymore | ||
path = first(paths) | ||
base, ext = splitext(path) | ||
mv(path, base*"blahblah"*ext) | ||
Pkg.add(PackageSpec(name="EponymTuples")) |
Oops, something went wrong.