Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthoralake
     

    In the "Creating a patch" section of the Trac instructions, we see, under "Get Akelos ready for patching" the instruction "Ensure that the existing unit tests pass."

    After downloading the latest version of Akelos (1224), I changed my directory to akelos/test and ran php unit.php I get the following errors:

    PHP Warning: include_once(/home/alan/develop/php/akelos/config/config.php): failed to open stream: No such file or directory in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 28

    PHP Warning: include_once(): Failed opening '/home/alan/develop/php/akelos/config/config.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 28

    PHP Notice: Use of undefined constant DS - assumed 'DS' in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 40

    PHP Notice: Use of undefined constant DS - assumed 'DS' in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 40

    PHP Notice: Use of undefined constant AK_LIB_DIR - assumed 'AK_LIB_DIR' in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 50

    PHP Notice: Use of undefined constant DS - assumed 'DS' in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 50

    PHP Warning: include_once(AK_LIB_DIRDSAk.php): failed to open stream: No such file or directory in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 50

    PHP Warning: include_once(): Failed opening 'AK_LIB_DIRDSAk.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 50

    PHP Fatal error: Class 'Ak' not found in /home/alan/develop/php/akelos/test/fixtures/config/config.php on line 51

    I know what these errors are and how to fix them, but if I need to have an error free copy of Akelos before preparing a patch, I find myself in a catch-22 situation. What should I do to get an error free test result at the beginning of my patch making?