main.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <signal.h>
#include <ctype.h>
#include "testrunnerlite.h"
#include "testdefinitionparser.h"
#include "testresultlogger.h"
#include "testdefinitionprocessor.h"
#include "testfilters.h"
#include "executor.h"
#include "remote_executor.h"
#include "manual_executor.h"
#include "utils.h"
#include "hwinfo.h"
#include "log.h"
Go to the source code of this file.
Function Documentation
Display license information.
Definition at line 181 of file main.c.
LOCAL int create_output_folder |
( |
|
) |
|
Create output folder based on the argument for -o
- Returns:
- 0 on success 1 on failure
Definition at line 191 of file main.c.
int main |
( |
int |
argc, |
|
|
char * |
argv[], |
|
|
char * |
envp[] | |
|
) |
| | |
main() for testrunnerlite - handle command line switches and call parser
- Parameters:
-
| argc | argument count |
| argv | arguments |
| envp | environment |
- Returns:
- EXIT_SUCCESS if all is well
Definition at line 275 of file main.c.
Parse remote logger option argument. Currently nothing to parse.
- Parameters:
-
| url | Remote logger URL option argument |
| opts | Options struct containing field(s) to store url |
- Returns:
- 0 in success, 1 on failure
Definition at line 238 of file main.c.
Parse target address option argument.
- Parameters:
-
| address | SUT address. |
| opts | Options struct containing field(s) to store url |
- Returns:
- 0 in success, 1 on failure
Definition at line 255 of file main.c.
Print short help.
Definition at line 107 of file main.c.
Print version
Definition at line 168 of file main.c.
Variable Documentation