projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge
[m6w6/libmemcached]
/
libtest
/
cmdline.h
diff --git
a/libtest/cmdline.h
b/libtest/cmdline.h
index a387bcf5b5834583792b3e7a5f393b10ac387a45..44fd17f92ff4f75ec484fa8e05575e114ef59373 100644
(file)
--- a/
libtest/cmdline.h
+++ b/
libtest/cmdline.h
@@
-90,6
+90,11
@@
public:
return _stderr_buffer;
}
return _stderr_buffer;
}
+ const char* stderr_c_str() const
+ {
+ return &_stderr_buffer[0];
+ }
+
size_t stderr_result_length() const
{
return _stderr_buffer.size();
size_t stderr_result_length() const
{
return _stderr_buffer.size();
@@
-112,6
+117,11
@@
public:
_use_gdb= arg;
}
_use_gdb= arg;
}
+ void use_ptrcheck(bool arg= true)
+ {
+ _use_ptrcheck= arg;
+ }
+
std::string arguments();
std::string gdb_filename()
std::string arguments();
std::string gdb_filename()
@@
-132,6
+142,7
@@
private:
const bool _use_libtool;
bool _use_valgrind;
bool _use_gdb;
const bool _use_libtool;
bool _use_valgrind;
bool _use_gdb;
+ bool _use_ptrcheck;
size_t _argc;
std::string _exectuble_name;
std::string _exectuble;
size_t _argc;
std::string _exectuble_name;
std::string _exectuble;