diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-05-18 23:02:41 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-05-18 23:02:41 +0200 |
commit | 4fbe572c024b4a31643fc55b4413241a519f5daf (patch) | |
tree | 8f4b48cf1d9da727fa62044ad36ab15324244060 /tests/torture.h | |
parent | 7c0ce909ed41203be6cf3c03e12ea5ab473ac6ee (diff) | |
download | libssh-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.h | 7 |
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); |