Improve testsuite to make it easily executable by Travis
[plcapi.git] / test / benchmark.php
index 28d6d76..6758d26 100644 (file)
@@ -2,14 +2,13 @@
 /**
  * Benchamrking suite for the PHP-XMLRPC lib
  * @author Gaetano Giunta
- * @version $Id$
- * @copyright (c) 2005-2009 G. Giunta
+ * @copyright (c) 2005-2014 G. Giunta
  * @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt
  *
  * @todo add a test for response ok in call testing?
  **/
 
-       include(getcwd().'/parse_args.php');
+       include(dirname(__FILE__).'/parse_args.php');
 
        require_once('xmlrpc.inc');