This is an archive of the discontinued Mercurial Phabricator instance.

tests: put temporary files in $TESTTMP
AbandonedPublic

Authored by simpkins on Jul 12 2017, 7:42 PM.

Details

Reviewers
quark
Group Reviewers
hg-reviewers
Summary

Update test-check-pyflakes.t to write test.py in the $TESTTMP directory.
Previously when using "run_tests.py -l" it would write test.py into your local
repository, leaving it behind as an untracked file after the test finished.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

simpkins created this revision.Jul 12 2017, 7:42 PM
quark accepted this revision.Jul 12 2017, 8:06 PM
quark added a subscriber: quark.

Ha, D67 was supposed to fix the same thing.

quark added inline comments.Jul 12 2017, 8:07 PM
tests/test-check-pyflakes.t
13

In theory this needs a "(glob)" at the end of the line. (test-check-code might complain about this)

simpkins abandoned this revision.Jul 13 2017, 10:40 PM

D67 has landed in hgcommitted, so this isn't really necessary any more.