Added auto yes to apt-get install in configure_ubuntu_12.04.sh
Give ArrayObject's fields default values

Magento2 (and possibly other frameworks) end up making classes
that extend ArrayObject but never call its constructor. This works
under Zend so it should work under us as well.

Reviewed By: @scannell

Differential Revision: D1045913
Unit test: do not assume existence of Static*WaitHandle::create() functions

Use async functions to generate Static*WaitHandles. The explicit methods
to do so will be gone soon.

Reviewed By: @billf

Differential Revision: D1046534
Demallocify md5

This refactors the MD5 code a bit to avoid forcing the use of malloc.
Now, the raw MD5 api unconditionally gives back a 16-byte digest,
and we have wrappers to convert to std::string and String, respectively.

Reviewed By: @jdelong

Differential Revision: D1046220
Unit tests for mem-file

Unit tests for mem-file.

Reviewed By: bmaurer

Differential Revision: D1040720
Fix: fb_rename_function of extract disabled the wrong direction

This disabled making new functions named 'extract', which
doesn't work because extract already exists.  We want to disable
allowing creating new functions that have the behavior of extract.

Reviewed By: danielm

Differential Revision: D1042932
RecursiveIteratorIterator must be constructed with a Traversable

This is Zend's behavior, and zf2 reflection tests check this

Reviewed By: @ptarjan

Differential Revision: D1045288
Initial implementation of ReflectionClass::getDefaultProperties()

We weren't tracking the default values of properties in
ReflectionProperty. Unfortunately this diff only fixes the issue for
classes that don't use ClassInfo, so builtin classes will still break.
Fixing them will be a separate diff.

Also replace old for loops with range-for

Reviewed By: @ptarjan

Differential Revision: D1043255
Miscellaneous fixes: add newlines back, remove specific user path info, and help message update

Removing the final newlines from the expect files was premature and probably a mistake.

http://stackoverflow.com/questions/729692/why-should-files-end-with-a-newline

So, leave it to clients/upstream to deal with newlines at the end of the file.

Also, do not print user path info out in expect files (or other files). e.g., no joelm

Also, list frameworks in help message when specifying invalid ones

Reviewed By: @ptarjan

Differential Revision: D1045907
Blacklist some test files causing deadlocking issues

A few test files from a few frameworks are causing deadlocking issues with the script. Blacklist them. Deal with them later.

Reviewed By: @ptarjan

Differential Revision: D1047939
Fixing changes in $_SELF logic.

Reverted unintentional changes in $_SELF computation logic.

Reviewed By: @ptarjan

Differential Revision: D1047953
Revert "Fix /stop command issued when hhvm can't bind port"

This reverts D944849

Reviewed By: @bertmaher

Differential Revision: D1047984
Merge pull request #1244 from EloB/configure_ubuntu_auto_yes

Added auto yes to apt-get install in configure_ubuntu_12.04.sh
Add libboost-thread to Travis dependencies

Summary: With the fastcgi implementation we now depend on
libboost-thread so add it to the list of Travis dependencies.
Fix fastcgi build break on OS X

Summary: Disable fastcgi compilation on OS X due to missing dependencies
for the moment.

Reviewed By: @julk
Modify calculation formula and a bit of clean up

Modifying the calculation formula to take into account blacklisted tests as failures.

Reviewed By: @ptarjan

Differential Revision: D1048288
More improvements to the test framework for job queue

- simulate random arrival of events.
- keep track of request queue time and wall time for each request.
- keep track of the max queue time and max load.
- added ability to add a padding to the time to simulate random delays.
- compute various statistics for queuing time and wall time.

Reviewed By: rkroll

Differential Revision: D1044762
Fixing OSX build.

This is an internal part of the fix that allows HHVM to compile
under OS X.

Reviewed By: @scannell

Differential Revision: D1048727
correct undoing xhp name mangling in type_annotation

... this code should be the inverse of
 ScannerToken::xhpLabel.

Reviewed By: @dariorussi

Differential Revision: D1039358
Move back to a fgets model and clean up test analyzing a bit

Since we determined that fgetc didn't solve deadlocking, and we just blacklisted those tests instead, we go back to fgets.

Also, clean up the way we analyze tests and their statuses.

PEAR is flaky. I don't think it is any atomicity or overwrite problem with the script. I think it might be the fact that we are running these things with separate processes. Or the tests are flaky. Either way we need a serial mode.

Reviewed By: @ptarjan

Differential Revision: D1049044