aboutsummaryrefslogtreecommitdiff
path: root/tests/torture.h
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-05-18 23:02:41 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-05-18 23:02:41 +0200
commit4fbe572c024b4a31643fc55b4413241a519f5daf (patch)
tree8f4b48cf1d9da727fa62044ad36ab15324244060 /tests/torture.h
parent7c0ce909ed41203be6cf3c03e12ea5ab473ac6ee (diff)
downloadlibssh-4fbe572c024b4a31643fc55b4413241a519f5daf.tar.gz
libssh-4fbe572c024b4a31643fc55b4413241a519f5daf.tar.xz
libssh-4fbe572c024b4a31643fc55b4413241a519f5daf.zip
Added verbosity flag for unit tests
Diffstat (limited to 'tests/torture.h')
-rw-r--r--tests/torture.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/torture.h b/tests/torture.h
index 2be45644..42762b9e 100644
--- a/tests/torture.h
+++ b/tests/torture.h
@@ -13,6 +13,7 @@
struct argument_s {
char *args[2];
int nofork;
+ int verbose;
};
void torture_cmdline_parse(int argc, char **argv, struct argument_s *arguments);
@@ -32,6 +33,12 @@ void torture_create_case_timeout(Suite *s, const char *name, TFun function,
int timeout);
/*
+ * returns the verbosity level asked by user
+ */
+int torture_libssh_verbosity(void);
+
+
+/*
* This function must be defined in every unit test file.
*/
Suite *torture_make_suite(void);