From cbbc3a4906d9375a5bcd64ec2828118e54b7714b Mon Sep 17 00:00:00 2001 From: jdelong Date: Thu, 18 Apr 2013 15:04:52 -0700 Subject: [PATCH] Make $HPHP_HOME optional for hphp/test/run, change default bin_root() If it's not set, let's just use git rev-parse. If you don't have FBMAKE_BIN_ROOT in your env, use _bin/ by default (for the last thing you built) instead of /bin/, which is only around for perflab compat. Made the help a little more to my liking (and not ruin syntax highlighting in emacs). --- hphp/test/run | 59 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 38 insertions(+), 21 deletions(-) diff --git a/hphp/test/run b/hphp/test/run index c3e1137e4..ce2716780 100755 --- a/hphp/test/run +++ b/hphp/test/run @@ -6,32 +6,37 @@ function usage() { global $argv; - return " $argv[0] [-m jit|hhir|interp] [-r] "; + return "usage: $argv[0] [-m jit|hhir|interp] [-r] "; } function help() { global $argv; + $ztestexample = 'test/zend/good/*/*z*.php'; $help = <<