Enhance hh_single_compile_tests
Summary:
- Add tests for `compile_hhas_from_text` added in the last diff (see `test_compile_hhas_from_text` and `record`)
- Better formatting for the testing output, example below
```
Start testing FFIs...
--------------------------------------------
Running test 0
--------------------------------------------
...
--------------------------------------------
Running test 6
--------------------------------------------
Source text:
<<__EntryPoint>>
function fatal_prog() {
var($x);
}
* Testing parse...
Passed!
* Testing extract_facts...
Passed!
* Testing compile_ffi...
Passed!
* Testing compile_hhas_ffi...
Found 0 functions
Found 0 classes
Found 0 record defs
Found 0 typedefs
Found 0 constants
Found 0 includes
Found 0 constant symbols
Found 0 function symbols
Found 0 class symbols
Passed!
* Testing decls_ffi...
Passed!
Finished all tests
--------------------------------------------
Passed all tests!
```
Reviewed By: shayne-fletcher
Differential Revision:
D30858352
fbshipit-source-id:
a7c4d39c9368f475a551278ce65213231e11213b