1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-29 17:00:58 +01:00
phorge-arcanist/support/unit
epriestley 79d3692f66 [Wilds] Pass or skip all remaining Windows unit test failures
Summary:
Ref T13209. This gives us a clean suite under Windows. The actual changes are a lot of miscellaneous stuff which I'll walk through inline in more detail.

The biggest change here is just rewriting some stuff like `cat`, `echo`, `sleep`, etc., in PHP. These commands either don't exist, don't work the same way, or are shell builtins (and we're now bypassing the shell) under Windows. So replace `cat ...` with `php -f cat.php -- ...` to make the tests portable.

Test Plan: No remaining test failures on Windows.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13209

Differential Revision: https://secure.phabricator.com/D19729
2018-10-03 07:48:47 -07:00
..
cat.php [Wilds] Pass or skip all remaining Windows unit test failures 2018-10-03 07:48:47 -07:00
echo.php [Wilds] Pass or skip all remaining Windows unit test failures 2018-10-03 07:48:47 -07:00
exit.php [Wilds] Pass or skip all remaining Windows unit test failures 2018-10-03 07:48:47 -07:00
lock.php [Wilds] Make more test cases (mostly related to the phutil -> arcanist move) pass 2018-10-01 16:36:12 -07:00
log.php [Wilds] Pass or skip all remaining Windows unit test failures 2018-10-03 07:48:47 -07:00
sleep.php [Wilds] Pass or skip all remaining Windows unit test failures 2018-10-03 07:48:47 -07:00