projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
cmake: build&run tests (sortof)
[awesomized/libmemcached]
/
libtest
/
cmdline.h
diff --git
a/libtest/cmdline.h
b/libtest/cmdline.h
index 368daaecbbbf2e18ab32b4e169ed7a9d429cc20d..244c6464ff933eafb435e43a0e00140ebc596b49 100644
(file)
--- a/
libtest/cmdline.h
+++ b/
libtest/cmdline.h
@@
-180,8
+180,16
@@
public:
bool check() const;
bool slurp();
+ std::pair<std::string, std::string> output();
void murder();
+ void clear()
+ {
+ slurp();
+ _stdout_buffer.clear();
+ _stderr_buffer.clear();
+ }
+
void use_gdb(bool arg)
{
_use_gdb= arg;