This is an archive of the discontinued Mercurial Phabricator instance.

tests: move baduisetup test inside "#if demandimport"
ClosedPublic

Authored by martinvonz on Aug 26 2017, 7:12 PM.

Details

Summary

The test case depends on the failure happening not at import time, but
at uisetup() time, so it doesn't make sense when demandimport is
disabled.

There was already a section for testing demandimport stuff, so I moved
it inside that existing section. As part of the move, I enabled the
extension using '--config' so subsequent tests don't get the bad
extension enabled.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Aug 26 2017, 7:12 PM
This revision was automatically updated to reflect the committed changes.