projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-188
[awesomized/libmemcached]
/
libtest
/
cmdline.h
diff --git
a/libtest/cmdline.h
b/libtest/cmdline.h
index ae4d9ba1d67751f73315277095642842d2d53ed7..2f639116e300093bc53f6620945fc467bc2c1a5e 100644
(file)
--- a/
libtest/cmdline.h
+++ b/
libtest/cmdline.h
@@
-39,8
+39,13
@@
#include <spawn.h>
// http://www.gnu.org/software/automake/manual/automake.html#Using-the-TAP-test-protocol
#include <spawn.h>
// http://www.gnu.org/software/automake/manual/automake.html#Using-the-TAP-test-protocol
-#define EXIT_SKIP 77
-#define EXIT_FATAL 77
+#ifndef EXIT_SKIP
+# define EXIT_SKIP 77
+#endif
+
+#ifndef EXIT_FATAL
+# define EXIT_FATAL 99
+#endif
#ifndef EX_NOEXEC
# define EX_NOEXEC 126
#ifndef EX_NOEXEC
# define EX_NOEXEC 126
@@
-162,7
+167,7
@@
public:
std::string print();
std::string print();
- void use_valgrind(bool arg
= true
)
+ void use_valgrind(bool arg)
{
_use_valgrind= arg;
}
{
_use_valgrind= arg;
}
@@
-172,12
+177,12
@@
public:
bool slurp();
void murder();
bool slurp();
void murder();
- void use_gdb(bool arg
= true
)
+ void use_gdb(bool arg)
{
_use_gdb= arg;
}
{
_use_gdb= arg;
}
- void use_ptrcheck(bool arg
= true
)
+ void use_ptrcheck(bool arg)
{
_use_ptrcheck= arg;
}
{
_use_ptrcheck= arg;
}
@@
-202,6
+207,7
@@
public:
private:
void create_argv(const char *args[]);
void delete_argv();
private:
void create_argv(const char *args[]);
void delete_argv();
+ void add_to_build_argv(const char*);
private:
const bool _use_libtool;
private:
const bool _use_libtool;