Skip to content
Snippets Groups Projects
Commit 05840535 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Fix math tests

parent 46631b5c
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,6 @@ set(srcs
test_rc.c
test_conv.cpp
test_mount.c
test_eigen.cpp
)
if(${OS} STREQUAL "nuttx")
......@@ -73,6 +72,7 @@ px4_add_module(
STACK 60000
COMPILE_FLAGS
-Wframe-larger-than=6000
-Wno-float-equal
-O0
SRCS ${srcs}
DEPENDS
......
......@@ -37,7 +37,7 @@
****************************************************************************/
#include <px4_config.h>
#include <px4_posix.h>
#include <sys/types.h>
#include <sys/time.h>
......
......@@ -37,7 +37,8 @@
****************************************************************************/
#include <px4_config.h>
#include <px4_defines.h>
#include <px4_posix.h>
#include <sys/types.h>
#include <stdio.h>
......
......@@ -50,11 +50,11 @@
#include <errno.h>
#include <arch/board/board.h>
//#include <nuttx/spi.h>
#include <systemlib/perf_counter.h>
// Not using Eigen at the moment
#define TESTS_EIGEN_DISABLE
#include "tests.h"
/****************************************************************************
......@@ -113,7 +113,9 @@ const struct {
#ifndef TESTS_MATHLIB_DISABLE
{"mathlib", test_mathlib, 0},
#endif
#ifndef TESTS_EIGEN_DISABLE
{"eigen", test_eigen, OPT_NOJIGTEST},
#endif
{"help", test_help, OPT_NOALLTEST | OPT_NOHELP | OPT_NOJIGTEST},
{NULL, NULL, 0}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment