Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Implement XCache storage adapter (fixes #2581) #2668

Merged
merged 1 commit into from Nov 7, 2012

Conversation

Projects
None yet
2 participants
Member

marc-mabe commented Oct 3, 2012

Now ready to merge

(Rebased from #2362)

Owner

weierophinney commented Oct 30, 2012

How exactly are you running tests? ext/xcache cannot work in the CLI, and I'm not seeing how to run phpunit via a web browser...

Member

marc-mabe commented Oct 30, 2012

@weierophinney: I'm using the following start script to run PHPUnit from sapi:

<?php

error_reporting(E_ALL);
ini_set('display_errors', '1');

chdir('/mnt/workspace/zf/zf2/tests');

$argv = $_SERVER['argv'] = array(
    PHP_BINDIR . '/php',
    'ZendTest/Cache/Storage/Adapter/XCacheTest'
);

define('PHPUnit_MAIN_METHOD', 'PHPUnit_TextUI_Command::main');
require '/usr/share/php/PHPUnit/Autoload.php';
PHPUnit_TextUI_Command::main();
Owner

weierophinney commented Nov 7, 2012

Thanks @marc-mabe -- ran great!

@weierophinney weierophinney merged commit cc3a550 into zendframework:develop Nov 7, 2012

1 check passed

default The Travis build passed
Details

@ghost ghost assigned weierophinney Nov 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment