projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Implement function to determine how many cores are available.
[m6w6/libmemcached]
/
libtest
/
strerror.cc
diff --git
a/libtest/strerror.cc
b/libtest/strerror.cc
index e4f0cf5089bc6e6af3f860b1dd5a14586c61a002..d081bafcd2d433af39afedb4d1ee399e5d16df32 100644
(file)
--- a/
libtest/strerror.cc
+++ b/
libtest/strerror.cc
@@
-32,17
+32,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"
;
+
throw fatal_message("No port could be found")
;
}
} // namespace libtest
}
} // namespace libtest