Skip to content

Commit 8982f17

Browse files
Added msgpack test
1 parent 82264b4 commit 8982f17

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
--TEST--
2+
Serialize msgpack
3+
--SKIPIF--
4+
<?php
5+
if (!extension_loaded("memcached")) print "skip";
6+
if (!extension_loaded('msgpack')) echo "skip no msgpack loaded";
7+
if (!Memcached::HAVE_MSGPACK) echo "skip msgpack support not enabled";
8+
?>
9+
--REDIRECTTEST--
10+
11+
$path = implode(DIRECTORY_SEPARATOR, array('tests', 'experimental', 'serializer'));
12+
13+
return array(
14+
'TESTS' => $path,
15+
'ENV' => array('TEST_MEMC_SERIALIZER' => 'Memcached::SERIALIZER_MSGPACK'),
16+
);

0 commit comments

Comments
 (0)