projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge, better error messages
[m6w6/libmemcached]
/
libtest
/
strerror.cc
diff --git
a/libtest/strerror.cc
b/libtest/strerror.cc
index e4f0cf5089bc6e6af3f860b1dd5a14586c61a002..e37b88aeaafcb9072e8f4be12bf7e7c457a6bf4e 100644
(file)
--- a/
libtest/strerror.cc
+++ b/
libtest/strerror.cc
@@
-19,6
+19,7
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <config.h>
#include <libtest/common.h>
namespace libtest {
#include <libtest/common.h>
namespace libtest {
@@
-32,17
+33,11
@@
const char *test_strerror(test_return_t code)
case TEST_FAILURE:
return "failed";
case TEST_FAILURE:
return "failed";
- case TEST_MEMORY_ALLOCATION_FAILURE:
- return "memory allocation";
-
case TEST_SKIPPED:
return "skipped";
case TEST_SKIPPED:
return "skipped";
-
- case TEST_FATAL:
- break;
}
}
-
return "failed"
;
+
fatal_message("No port could be found")
;
}
} // namespace libtest
}
} // namespace libtest