From f411d5dde91674c5264a0f99767cd6ea7a102404 Mon Sep 17 00:00:00 2001 From: Herman Venter Date: Mon, 13 May 2013 18:28:43 -0700 Subject: [PATCH] Use the same repo for config-debugger-server.hdf as is used by cli.hdf. When the debugger tests run, the repo location defaults to ~. This leads to failures when the network is slow. --- hphp/test/config-debugger-server.hdf | 8 ++++++++ hphp/tools/run_verify_parse.sh | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hphp/test/config-debugger-server.hdf b/hphp/test/config-debugger-server.hdf index a50f2299d..2e51ef2f5 100644 --- a/hphp/test/config-debugger-server.hdf +++ b/hphp/test/config-debugger-server.hdf @@ -28,3 +28,11 @@ Sandbox { # only match hphpd..sth.sth, not any requests Pattern = hphpd\.([a-z0-9_-]+)\.[a-z0-9_-]+\.[a-z0-9_-]+ } + +Repo { + Local.Mode = r- + Central.Path = /var/facebook/hhvm/cli_%{schema}.hhbc + Eval.Mode = readonly + Commit = true + DebugInfo = true +} diff --git a/hphp/tools/run_verify_parse.sh b/hphp/tools/run_verify_parse.sh index 132696337..3466594f4 100755 --- a/hphp/tools/run_verify_parse.sh +++ b/hphp/tools/run_verify_parse.sh @@ -15,7 +15,8 @@ VERIFY_SCRIPT=./hphp/test/verify PARSE_TEST=$FBMAKE_BIN_ROOT/hphp/util/parser/test/parse_tester # some tests are expected not to parse -PARSE_SKIP='dv_i0.php strict_bad_end.php strict_bad_start.php +PARSE_SKIP='dv_i0.php hh_bad_end.php hh_bad_start.php hh_numbers.php + strict_bad_end.php strict_bad_start.php strict_numbers.php syntax-error.php xhp-malformed.php Xhp.php trailing_comma_bad1.php trailing_comma_bad2.php trailing_comma_bad3.php trailing_comma_bad4.php trailing_comma_bad5.php trailing_comma_bad6.php'