Firmware
Macros | Functions | Variables
tests_main.c File Reference

Tests main file, loads individual tests. More...

#include "tests_main.h"
#include <px4_config.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>

Macros

#define TESTS_EIGEN_DISABLE
 
#define OPT_NOHELP   (1<<0)
 
#define OPT_NOALLTEST   (1<<1)
 
#define OPT_NOJIGTEST   (1<<2)
 
#define NTESTS   (sizeof(tests) / sizeof(tests[0]))
 

Functions

__EXPORT int tests_main (int argc, char *argv[])
 Executes system tests.
 

Variables

struct {
   const char *   name
 
   int(*   fn )(int argc, char *argv[])
 
   unsigned   options
 
tests []
 

Detailed Description

Tests main file, loads individual tests.

Author
Lorenz Meier lm@in.nosp@m.f.et.nosp@m.hz.ch