Page MenuHomePhabricator

Disregard `src/extensions/` when running library map unit tests
ClosedPublic

Authored by epriestley on Jul 5 2014, 9:40 PM.
Tags
None
Referenced Files
F13875749: D9834.diff
Wed, Oct 2, 7:37 AM
Unknown Object (File)
Mon, Sep 16, 12:56 PM
Unknown Object (File)
Thu, Sep 12, 6:46 AM
Unknown Object (File)
Thu, Sep 12, 6:46 AM
Unknown Object (File)
Thu, Sep 12, 6:45 AM
Unknown Object (File)
Thu, Sep 12, 6:45 AM
Unknown Object (File)
Aug 28 2024, 8:46 PM
Unknown Object (File)
Aug 18 2024, 11:36 PM
Subscribers

Details

Summary

The runtime map will include anything loaded via src/extensions/, which means the test will always fail if you have anything in that directory.

Instead, allow the base (no extensions) map to be retrieved, and use that for comparisions.

Test Plan
  • Ran unit tests with stuff in extensions.
  • Verified stuff in extensions still works fine.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Disregard `src/extensions/` when running library map unit tests.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: joshuaspence.
This revision is now accepted and ready to land.Jul 5 2014, 10:04 PM
epriestley updated this revision to Diff 23613.

Closed by commit rPHU175694903cee (authored by @epriestley).