diff --git a/tests/lib/cache/xcache.php b/tests/lib/cache/xcache.php
index 9ec80ff83c854d8eb9d7510f29a3ca542442b08b..a5e954f827c278d8e4ea5f4d5314df19401322bc 100644
--- a/tests/lib/cache/xcache.php
+++ b/tests/lib/cache/xcache.php
@@ -21,6 +21,10 @@
 */
 
 class Test_Cache_XCache extends Test_Cache {
+	function skip() {
+		$this->skipUnless(function_exists('xcache_get'));
+	}
+
 	public function setUp(){
 		$this->instance=new OC_Cache_XCache();
 	}