projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in build.
[m6w6/libmemcached]
/
libtest
/
cmdline.h
diff --git
a/libtest/cmdline.h
b/libtest/cmdline.h
index d1019d548a6b65a98d54bd495e929e8e274a3553..f6da62bea260d02aeae9f1bdddff693cb09588c0 100644
(file)
--- a/
libtest/cmdline.h
+++ b/
libtest/cmdline.h
@@
-95,15
+95,36
@@
public:
std::string print();
std::string print();
+ void use_valgrind(bool arg= true)
+ {
+ _use_valgrind= arg;
+ }
+
+ void use_gdb(bool arg= true)
+ {
+ _use_gdb= arg;
+ }
+
+ std::string arguments();
+
+ std::string gdb_filename()
+ {
+ return _gdb_filename;
+ }
+
private:
void create_argv(const char *args[]);
void delete_argv();
private:
const bool _use_libtool;
private:
void create_argv(const char *args[]);
void delete_argv();
private:
const bool _use_libtool;
+ bool _use_valgrind;
+ bool _use_gdb;
size_t _argc;
size_t _argc;
+ std::string _exectuble_name;
std::string _exectuble;
std::string _exectuble_with_path;
std::string _exectuble;
std::string _exectuble_with_path;
+ std::string _gdb_filename;
Options _options;
Pipe stdin_fd;
Pipe stdout_fd;
Options _options;
Pipe stdin_fd;
Pipe stdout_fd;
@@
-129,6
+150,9
@@
static inline std::ostream& operator<<(std::ostream& output, const enum Applicat
case Application::INVALID:
output << "127";
break;
case Application::INVALID:
output << "127";
break;
+
+ default:
+ output << "EXIT_UNKNOWN";
}
return output;
}
return output;