Merge pull request 'testcfg fix' (#248) from fsfwtest/testcfg-fix into master
Reviewed-on: fsfw/fsfw#248
This commit is contained in:
commit
449a08c92c
@ -7,6 +7,16 @@ The makefile with default settings creates the unit test binary which can be
|
|||||||
run in the terminal or in eclipse.
|
run in the terminal or in eclipse.
|
||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
|
To run the fsfw unittests in the project, perform following steps:
|
||||||
|
|
||||||
|
1. Copy the testcfg folder the project root (folder containing the FSFW).
|
||||||
|
2. There is a makefile inside the testcfg folder which can be used to have
|
||||||
|
a starting point to compile the unit tests. Copy that Makefile to the project
|
||||||
|
root
|
||||||
|
3. Create a folder named catch2 (can have other name which requires Makefile
|
||||||
|
adaption) and copy the Catch2 header files there (NOTE: CMake support
|
||||||
|
not enabled yet!)
|
||||||
|
|
||||||
### Eclipse CDT settings
|
### Eclipse CDT settings
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Makefile for FSFW Test
|
# Makefile for FSFW Test
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# User-modifiable options
|
# User-modifiable options
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef HOSTED_CONFIG_CDATAPOOL_DATAPOOLINIT_H_
|
#ifndef HOSTED_CONFIG_CDATAPOOL_DATAPOOLINIT_H_
|
||||||
#define HOSTED_CONFIG_CDATAPOOL_DATAPOOLINIT_H_
|
#define HOSTED_CONFIG_CDATAPOOL_DATAPOOLINIT_H_
|
||||||
|
|
||||||
#include <fsfw/datapoolglob/GlobalDataPool.h>
|
#include <fsfw/datapool/DataPool.h>
|
||||||
#include <fsfw/datapool/PoolEntryIF.h>
|
#include <fsfw/datapool/PoolEntryIF.h>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user