X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=extras%2Fbenchmark.php;h=2f0f55a24a352a8ba4ed18ab7d7a572525330234;hb=533d1a28e5b22a0508554194d776fbf5b48e0ded;hp=7c94789fbe5a23f54eeef9d76d8c70cb1324401f;hpb=53fa18cece7f0db6a3b02e7dc86db1ff9c80702a;p=plcapi.git diff --git a/extras/benchmark.php b/extras/benchmark.php index 7c94789..2f0f55a 100644 --- a/extras/benchmark.php +++ b/extras/benchmark.php @@ -3,7 +3,7 @@ * Benchmarking suite for the PHP-XMLRPC lib. * * @author Gaetano Giunta - * @copyright (c) 2005-2020 G. Giunta + * @copyright (c) 2005-2021 G. Giunta * @license code licensed under the BSD License: see file license.txt * * @todo add a check for response ok in call testing @@ -19,9 +19,10 @@ use PhpXmlRpc\Client; use PhpXmlRpc\Response; use PhpXmlRpc\Encoder; +/// @todo allow autoloading when the library is installed as dependency include_once __DIR__ . '/../vendor/autoload.php'; -include __DIR__ . '/parse_args.php'; +include __DIR__ . '/../tests/parse_args.php'; $args = argParser::getArgs(); function begin_test($test_name, $test_case)