Overhauled xdebug remote debugging testing
commitf85f68a63e41cf94c487521ee6864b9cae382da0
authorPaul Bissonnette <paulbiss@fb.com>
Thu, 28 Aug 2014 05:12:05 +0000 (27 22:12 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 28 Aug 2014 05:30:21 +0000 (27 22:30 -0700)
tree57da8e5f9822ab6cfd6b17e42fb3b54b25b14b1d
parent526ff3d84b76f0da938c80c4aef1aee955440cb1
Overhauled xdebug remote debugging testing

Summary: This diff does several things:
* Moved remote debugging tests into a single folder (eliminates the need for a
  bunch of the same ini files)
* Removed null characters as well as session-specific information from the
  output of the server before displaying. This means expectf files will now show
  up in phabricator, and most of the time out2expect.py is enough to generate
  a .expectf file
* Changed remote_FOO.test -> FOO.php.test
* FOO.test.in files can have comments now (1st character on line must be #)
* Removed script status output, unecessary and it made writing expectfs a pain
* FOO.php files are all the same now, just a single line. The testing file is
  determined automatically

This was high-pri on my list of cleanup as the old way was awful and not very
maintainable. I have most of the commands implemented and wanted this before
I wrote tests.

arc patch isn't happy with these binary files, but it's all just test motion and tests
are passing, so...

Reviewed By: @ptarjan

Differential Revision: D1510839
63 files changed:
hphp/test/slow/ext_xdebug/remote/breakpoint_set.php [copied from hphp/test/slow/ext_xdebug/remote_jit.php with 52% similarity]
hphp/test/slow/ext_xdebug/remote/breakpoint_set.php.expectf [moved from hphp/test/slow/ext_xdebug/remote_breakpoint_set.php.expectf with 50% similarity]
hphp/test/slow/ext_xdebug/remote/breakpoint_set.php.test [moved from hphp/test/slow/ext_xdebug/remote_breakpoint_set.test with 92% similarity]
hphp/test/slow/ext_xdebug/remote/breakpoint_set.php.test.in [new file with mode: 0644]
hphp/test/slow/ext_xdebug/remote/breakpoint_set_helper.inc [moved from hphp/test/slow/ext_xdebug/remote_breakpoint_set_helper.inc with 100% similarity]
hphp/test/slow/ext_xdebug/remote/config.ini [new file with mode: 0644]
hphp/test/slow/ext_xdebug/remote/errors.php [moved from hphp/test/slow/ext_xdebug/remote_step.php with 51% similarity]
hphp/test/slow/ext_xdebug/remote/errors.php.expectf [new file with mode: 0644]
hphp/test/slow/ext_xdebug/remote/errors.php.test [moved from hphp/test/slow/ext_xdebug/remote_errors.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/errors.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_errors.test.in with 100% similarity]
hphp/test/slow/ext_xdebug/remote/eval.php [moved from hphp/test/slow/ext_xdebug/remote_init.php with 51% similarity]
hphp/test/slow/ext_xdebug/remote/eval.php.expectf [new file with mode: 0644]
hphp/test/slow/ext_xdebug/remote/eval.php.test [moved from hphp/test/slow/ext_xdebug/remote_eval.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/eval.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_eval.test.in with 68% similarity]
hphp/test/slow/ext_xdebug/remote/feature.php [moved from hphp/test/slow/ext_xdebug/remote_eval.php with 51% similarity]
hphp/test/slow/ext_xdebug/remote/feature.php.expectf [moved from hphp/test/slow/ext_xdebug/remote_feature.php.expectf with 57% similarity]
hphp/test/slow/ext_xdebug/remote/feature.php.test [moved from hphp/test/slow/ext_xdebug/remote_feature.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/feature.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_feature.test.in with 100% similarity]
hphp/test/slow/ext_xdebug/remote/init.php [copied from hphp/test/slow/ext_xdebug/remote_jit.php with 52% similarity]
hphp/test/slow/ext_xdebug/remote/init.php.expectf [moved from hphp/test/slow/ext_xdebug/remote_init.php.expectf with 54% similarity]
hphp/test/slow/ext_xdebug/remote/init.php.test [moved from hphp/test/slow/ext_xdebug/remote_init.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/init.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_init.test.in with 100% similarity]
hphp/test/slow/ext_xdebug/remote/jit.php [copied from hphp/test/slow/ext_xdebug/remote_jit.php with 52% similarity]
hphp/test/slow/ext_xdebug/remote/jit.php.expectf [moved from hphp/test/slow/ext_xdebug/remote_jit.php.expectf with 54% similarity]
hphp/test/slow/ext_xdebug/remote/jit.php.test [moved from hphp/test/slow/ext_xdebug/remote_jit.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/jit.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_jit.test.in with 100% similarity]
hphp/test/slow/ext_xdebug/remote/jit.php.test.ini [moved from hphp/test/slow/ext_xdebug/remote_jit.test.ini with 100% similarity]
hphp/test/slow/ext_xdebug/remote/remote.inc [moved from hphp/test/slow/ext_xdebug/remote.inc with 65% similarity]
hphp/test/slow/ext_xdebug/remote/remote.sh [moved from hphp/test/slow/ext_xdebug/remote.sh with 100% similarity]
hphp/test/slow/ext_xdebug/remote/status.php [copied from hphp/test/slow/ext_xdebug/remote_jit.php with 52% similarity]
hphp/test/slow/ext_xdebug/remote/status.php.expectf [moved from hphp/test/slow/ext_xdebug/remote_status.php.expectf with 54% similarity]
hphp/test/slow/ext_xdebug/remote/status.php.test [moved from hphp/test/slow/ext_xdebug/remote_status.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/status.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_status.test.in with 100% similarity]
hphp/test/slow/ext_xdebug/remote/step.php [copied from hphp/test/slow/ext_xdebug/remote_jit.php with 52% similarity]
hphp/test/slow/ext_xdebug/remote/step.php.expectf [moved from hphp/test/slow/ext_xdebug/remote_step.php.expectf with 57% similarity]
hphp/test/slow/ext_xdebug/remote/step.php.test [moved from hphp/test/slow/ext_xdebug/remote_step.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/step.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_step.test.in with 100% similarity]
hphp/test/slow/ext_xdebug/remote/step_out.php [copied from hphp/test/slow/ext_xdebug/remote_jit.php with 52% similarity]
hphp/test/slow/ext_xdebug/remote/step_out.php.expectf [moved from hphp/test/slow/ext_xdebug/remote_step_out.php.expectf with 53% similarity]
hphp/test/slow/ext_xdebug/remote/step_out.php.test [moved from hphp/test/slow/ext_xdebug/remote_step_out.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/step_out.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_step_out.test.in with 63% similarity]
hphp/test/slow/ext_xdebug/remote/step_over.php [moved from hphp/test/slow/ext_xdebug/remote_jit.php with 52% similarity]
hphp/test/slow/ext_xdebug/remote/step_over.php.expectf [moved from hphp/test/slow/ext_xdebug/remote_step_over.php.expectf with 56% similarity]
hphp/test/slow/ext_xdebug/remote/step_over.php.test [moved from hphp/test/slow/ext_xdebug/remote_step_over.test with 100% similarity]
hphp/test/slow/ext_xdebug/remote/step_over.php.test.in [moved from hphp/test/slow/ext_xdebug/remote_step_over.test.in with 100% similarity]
hphp/test/slow/ext_xdebug/remote/test.ini [moved from hphp/test/slow/ext_xdebug/remote_breakpoint_set.test.ini with 100% similarity]
hphp/test/slow/ext_xdebug/remote_breakpoint_set.php [deleted file]
hphp/test/slow/ext_xdebug/remote_breakpoint_set.test.in [deleted file]
hphp/test/slow/ext_xdebug/remote_errors.php [deleted file]
hphp/test/slow/ext_xdebug/remote_errors.php.expectf [deleted file]
hphp/test/slow/ext_xdebug/remote_errors.test.ini [deleted file]
hphp/test/slow/ext_xdebug/remote_eval.php.expectf [deleted file]
hphp/test/slow/ext_xdebug/remote_eval.test.ini [deleted file]
hphp/test/slow/ext_xdebug/remote_feature.php [deleted file]
hphp/test/slow/ext_xdebug/remote_feature.test.ini [deleted file]
hphp/test/slow/ext_xdebug/remote_init.test.ini [deleted file]
hphp/test/slow/ext_xdebug/remote_status.php [deleted file]
hphp/test/slow/ext_xdebug/remote_status.test.ini [deleted file]
hphp/test/slow/ext_xdebug/remote_step.test.ini [deleted file]
hphp/test/slow/ext_xdebug/remote_step_out.php [deleted file]
hphp/test/slow/ext_xdebug/remote_step_out.test.ini [deleted file]
hphp/test/slow/ext_xdebug/remote_step_over.php [deleted file]
hphp/test/slow/ext_xdebug/remote_step_over.test.ini [deleted file]