Fix math tests

This commit is contained in:
Lorenz Meier
2015-11-26 14:14:41 +01:00
parent 46631b5c8a
commit 05840535f1
4 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -37,7 +37,7 @@
****************************************************************************/
#include <px4_config.h>
#include <px4_posix.h>
#include <sys/types.h>
#include <sys/time.h>
+2 -1
View File
@@ -37,7 +37,8 @@
****************************************************************************/
#include <px4_config.h>
#include <px4_defines.h>
#include <px4_posix.h>
#include <sys/types.h>
#include <stdio.h>
+5 -3
View File
@@ -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}
};