1
1
libssh/tests/torture.c
Aris Adamantiadis 2917e71aad Replaced argp support for platforms that support it
Argp is really useful, but it's not mandatory.
2011-01-13 18:34:04 +01:00

20 строки
330 B
C

#include "torture.h"
#include <stdio.h>
static int verbosity = 0;
int torture_libssh_verbosity(void){
return verbosity;
}
int main(int argc, char **argv) {
struct argument_s arguments;
arguments.verbose=0;
torture_cmdline_parse(argc, argv, &arguments);
verbosity=arguments.verbose;
return torture_run_tests();
}