Merge lp:~jtv/launchpad/standard-test-template into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 11151 | ||||
Proposed branch: | lp:~jtv/launchpad/standard-test-template | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
18 lines (+3/-1) 1 file modified
buildout-templates/bin/lint.sh.in (+3/-1) |
||||
To merge this branch: | bzr merge lp:~jtv/launchpad/standard-test-template | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+30193@code.launchpad.net |
Commit message
Make test template testable; fix "make lint" for symlinks.
Description of the change
= Test Standard Test Template =
Now that the standard_
Jono suggested that I do this by moving the template file into a testable location, and replace the original with a symlink to the test. (We also considered linking the other way, but that was less clear).
While doing this I noticed bug 606768: "make lint" breaks because it gets a list of changed files from "bzr st," and any symlinks in this list are tagged with a trailing @. I fixed that by filtering out trailing @ markers. I also verified that this still works when I edit one of the test GPG keys, which have a @ somewhere in the middle of the name.
To test,
{{{
./bin/test -vvc -m lp.testing.
}}}
No lint, once I fixed lint.
Jeroen
Thank Jeroen.
This looks good to land.