Tests to ensure that the enter/exit hooks for profiling are solid
commitc76c7aafea4876a2245ba115039f6a9290c7090e
authorMike Magruder <mikemag@fb.com>
Fri, 28 Feb 2014 22:14:40 +0000 (28 14:14 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 4 Mar 2014 06:45:37 +0000 (3 22:45 -0800)
tree6c6e98ad1d49576d2cbc75cb4ee36105ccf360aa
parentd2e70a2d86b79a5cadbb7bb4691e69ac3d1bdd1f
Tests to ensure that the enter/exit hooks for profiling are solid

Add a few more tests of the enter/exit hooks which are used by fb_setprofile() and the profilers in ext_hotprofiler. This closes a few testing holes which have been problematic in the past.

Reviewed By: @swtaarrs

Differential Revision: D1197142
hphp/test/quick/Setprofile_async.php [new file with mode: 0644]
hphp/test/quick/Setprofile_async.php.expectf [new file with mode: 0644]