mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
f19ba7df78
* Updates SIM_stl to include checkpoint writing and checkpoint restore, as well as adding more data structures to test * Thoroughly tests supported STL types with MM_stl_checkpoint and MM_stl_restore * Adds an option to enable or disable STL restore in accessible interfaces and changes default to true * Updates documentation on STL checkpointing to clearly state limitations and known bugs
20 lines
517 B
Makefile
20 lines
517 B
Makefile
|
|
TRICK_CFLAGS += -I./models
|
|
TRICK_CXXFLAGS += -I./models
|
|
|
|
TRICK_CXXFLAGS += -std=c++11
|
|
|
|
test: setup
|
|
|
|
# This is a workaround so that the sim runs with RUN_test/setup.py before the actual unit test run.
|
|
# setup.py adds hardcoded data to the sim and dumps a checkpoint, and unit_test.py loads that checkpoint and checks all the values.
|
|
|
|
setup: T_main_${TRICK_HOST_CPU}.exe
|
|
echo "Running Setup Job"
|
|
./T_main_${TRICK_HOST_CPU}.exe RUN_test/setup.py
|
|
|
|
clean: checkpoint_clean
|
|
|
|
checkpoint_clean:
|
|
rm -f RUN_test/chkpnt_in
|