Skip to content
Snippets Groups Projects
Commit bf9658b2 authored by llaffont's avatar llaffont
Browse files

Correction outils find_tests

parent 51b78b0a
Branches
Tags
No related merge requests found
#!/usr/bin/php
<?php
chdir(realpath(dirname(__FILE__)).'/../');
require_once('console.php');
set_include_path( realpath(dirname(__FILE__)).'/../library'
. PATH_SEPARATOR . realpath(dirname(__FILE__)).'/library/Class'
. PATH_SEPARATOR . realpath(dirname(__FILE__)).'/../library/Class'
. PATH_SEPARATOR . realpath(dirname(__FILE__)).'/../library/ZendAfi'
. PATH_SEPARATOR . '../ZendFramework-1.6.2/library'
. PATH_SEPARATOR . realpath(dirname(__FILE__)).'/../application/modules'
. PATH_SEPARATOR . realpath(dirname(__FILE__)).'/application/modules'
. PATH_SEPARATOR . realpath(dirname(__FILE__))
. PATH_SEPARATOR . get_include_path());
// Includes de base
include_once( "fonctions/fonctions.php");
require_once "Zend/Loader.php";
require_once "library/startup.php";
$path = dirname(__FILE__);
$parts = explode(DIRECTORY_SEPARATOR, $path);
$parts = array_reverse($parts);
defineConstant("BASE_URL", "/" . $parts[1]);
require_once('PHP/CodeCoverage/Autoload.php');
require_once('PHP/Token/Stream/CachingFactory.php');
try {
$file = file_get_contents('scripts/coverage_result.php');
} catch (Exception $e) {
......
......@@ -208,7 +208,8 @@
("\C-crp" . opac3-run-phpunit)
("\C-crd" . opac3-debug-phpunit-function)
("\C-ce" . opac3-eval-region)
("\C-cf" . opac3-strftime))
("\C-cf" . opac3-strftime)
("\C-ct" . opac3-find-test))
:after-hook 'opac3-mode-hook)
(provide 'opac3)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment