split running of smbclient and libsmbclient backend tests

This commit is contained in:
Robin Appelman 2015-04-25 16:54:41 +02:00
commit 25c0dffdc7
8 changed files with 39 additions and 9 deletions

16
tests/TestCase.php Normal file
View file

@ -0,0 +1,16 @@
<?php
/**
* Copyright (c) 2015 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Licensed under the MIT license:
* http://opensource.org/licenses/MIT
*/
namespace Icewind\SMB\Test;
abstract class TestCase extends \PHPUnit_Framework_TestCase {
protected function requireBackendEnv($backend) {
if (getenv('BACKEND') and getenv('BACKEND') !== $backend) {
$this->markTestSkipped('Skipping tests for ' . $backend . ' backend');
}
}
}