Commit Graph

3 Commits

Author SHA1 Message Date
Martijn Pieters
abd2175e71 hg: actually run the tests in fb/tests
Summary:
There are tests in fb/tests we don't run as part of the test suite. Update the makefile and add buck infrastructure to run them.

 - Update the test-common-commands-hg.t test
 - Re-generate the fbcode/.hgignore file from the updated .gitignore

Reviewed By: quark-zju

Differential Revision: D7584511

fbshipit-source-id: d85800dccf0eb569a68db4b9e1d9796e3d7ac957
2018-04-13 21:51:54 -07:00
Jun Wu
adaee94f27 unittestify: randomize HGPORT
Summary:
Previously a stress test that runs a single test in parallel will have race
condition on HGPORT. This patch randomizes the port so the race becomes
unlikely.

Reviewed By: DurhamG

Differential Revision: D6900641

fbshipit-source-id: 2ad741032e3aa9b0cc9fa831fa57907cc493ce37
2018-04-13 21:51:04 -07:00
Jun Wu
5dabd90466 unittestify: add a script to generate python unittests
Summary:
The script is intended to be used in `python_unittest` target
in buck.

Reviewed By: DurhamG

Differential Revision: D6879870

fbshipit-source-id: 9ed27a691aa23b41dd2620be7871c0a005df60d0
2018-04-13 21:51:02 -07:00