have run.php export a temporary directory for tests to use
Summary:
Update `hphp/test/run.php` to create a new `test-data` subdirectory inside its
existing temporary directory. This is intended to allow individual tests to
use this directory for creating any temporary files/directories they need.
Currently many of the tests create temporary files in the source tree, which
is somewhat undesirable.
This exports the test directory path in an `HPHP_TST_TMPDIR` environment
variable, to allow tests to read the path from this variable
This does not update any tests to use this variable yet. I will update tests
in a subsequent diff.
Reviewed By: markw65
Differential Revision:
D13793221
fbshipit-source-id:
3429decfc7ec5c25b5c3960570dec75e5c5bdfec