summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-07-26 22:45:59 +0000
committerJani Taskinen <jani@php.net>2007-07-26 22:45:59 +0000
commit8684e7495f625e962f73a91350463df46a8cfe05 (patch)
treeb1878a3e61388517334e245155416c5d706a6cca /run-tests.php
parent68b823564d06ceda58f096f3fd02a11b040d8d42 (diff)
downloadphp-git-8684e7495f625e962f73a91350463df46a8cfe05.tar.gz
MFH: - Made build system less major version dependant to ease MFB/MFH
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/run-tests.php b/run-tests.php
index cc6e660c78..b4fcdf740a 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -401,12 +401,14 @@ if (isset($argc) && $argc > 1) {
case '--version':
echo '$Revision$'."\n";
exit(1);
+
+ case 'u':
+ case 'U':
+ // Allow using u or U for forward compatibility
+ break;
+
default:
echo "Illegal switch '$switch' specified!\n";
- if ($switch == 'u' || $switch == 'U') {
- break;
- }
- // break
case 'h':
case '-help':
case '--help':