Commit Graph

24 Commits

Author SHA1 Message Date
Jacqueline Deans
f19ba7df78
Test and Document STL Checkpointing (#1355)
* 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
2022-10-07 08:37:09 -05:00
Jacqueline Deans
2deb7cd180
Sit out SIM_test_varserv
SIM_test_varserv fails intermittently for no apparent reason; take it out of CI until it can be debugged.
2022-08-24 13:34:03 -05:00
Jacqueline Deans
9c8799610f
Variable Server - var_send_once and integration test (#1330)
* Adds the send_once command and message type, which allows a user to request a variable to be sent immediately and only once (intended to replace the var_add, var_send, var_clear idiom that is commonly used for this purpose)
* Minor refactoring of variable server internals to reduce repeated code
* Adds SIM_test_varserv to integration test to test basic variable server functionality
* Changes graphics client for SIM_billiards to use var_send_once as an example of intended use
* Add documentation for var_send_once in docs and tutorial
* Set exit_code_enabled in trick unit tests to be true by default
* Patch for failing bookworm build
2022-08-18 10:47:07 -05:00
Scott Fennell
7c58425f9a
#1258 add sim compile test for anonymous enum (#1259) 2022-04-28 12:22:21 -05:00
Derek Bankieris
8d314fa1b1 Zip SWIG-generated python modules
Closes #1144
2021-05-19 17:23:33 -05:00
Scott Fennell
9589c1062c
in ICG: Add FileSkipped preprocessor callback to FindTrickICG (#1125)
* #608 add implementation of FileSkipped callback to FindTrickICG to add include chains for headers that have already been preprocessed

* #608 add test SIM for FindTrickICG offsets SIM_test_icg_file_skipped
2021-04-19 19:34:17 -05:00
Scott Fennell
c0791b46d9
icg default constructor is deleted (#1109)
* check if default constructor is deleted #1094

* unit test icg deleted default constructor #1094

* Update centos 7 swig version to 3.0 to support deleted function in SIM_deleted_default_constructor test

Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>

closes #1094
2021-02-05 19:32:36 -06:00
Scott Fennell
b724f502b3
fix 32 bit test (#953)
* fix tests for 32 bit mode

* fix issues with mongoose build

* Update docker.yml
2020-02-14 10:23:19 -06:00
Derek Bankieris
5a7ec20606 Support default member initializer for templates
Closes #918
2019-12-11 14:19:10 -06:00
Derek Bankieris
1f33406c95 Don't trace TRICK_EXT_LIB_DIRS lib deps in CP
Refs #871
2019-10-07 14:12:06 -05:00
Derek Bankieris
67decaed24 Add support for -isystem
Closes #407
2019-06-20 10:12:33 -05:00
Derek Bankieris
6c9326f760 Add makefile function for target-specific variable
Closes #672
2019-06-19 15:57:26 -05:00
dbankieris
ef1d105bfb
Improve parsing of base-clauses in S_define
A base-clause is the stuff in an inheritance list after the colon in a
class declaration.
https://en.cppreference.com/w/cpp/language/derived_class

Closes #723
Closes #733
2019-05-08 08:41:50 -05:00
Alex Lin
62948308b6 Adding back a lost capability, but better this time. The user can now
specify a python module name where the class and functions will be
visible in python.  With care the user can mimic the C++ namespaces their
models reside in, but it isn't perfect nor automatic.  It's still pretty
neat.
2019-03-13 16:17:08 -05:00
Derek Bankieris
398907f365 Remove SIM_makefile_overrides from test makefile
Refs #626
2018-07-05 13:41:18 -05:00
Derek Bankieris
7998791679 Add test sim: SIM_makefile_overrides
Refs #626
2018-06-11 13:10:36 -05:00
Christopher LaChance
66d0240ed4 Added missing test directory from clean command. 2017-08-04 15:05:52 -05:00
Alex Lin
98c7029b18 Unit test for SIM_test_dr failing. #411
This tst was only run if the HOST_CPU of the run matched one
of the pre-existing files.  So it was only tested on SL6.  Found
that the udunits change never made it to these log files.  I
updated the units and introduced only one copy of the files that
all platforms will test against.
2017-04-18 08:01:50 -05:00
Derek Bankieris
7094a4b71c Correct SIM_test_dr makefile dependencies
Refs #402
2017-03-29 09:05:55 -05:00
Derek Bankieris
b6552c9a8f Infer TRICK_HOME automatically
Refs #358
2017-03-29 09:02:17 -05:00
Alex Lin
1454236a81 Use udunits package for units conversions
Created a check in the configure script looking for the udunits header
files.  Also added a sim to test some of the new units capabilities.

refs #231
2016-05-09 16:40:48 -05:00
Alex Lin
c8a39f4a44 Add direct STL checkpointing
Removed the previous attempts at STL checkpointing. Removed
the header files and sims.  Also simplified the names of some of
the templates.

refs #206
2016-03-31 14:50:27 -05:00
Alex Lin
643170c319 Split test sims and fun sims into separate directories.
SIM_stls3 won't compile on much of any platform.

refs #191
2016-02-24 09:46:04 -06:00
Alex Lin
dd43bfa36c Split test sims and fun sims into separate directories.
The test/makefile was not being committed because it was in the .gitignore file.

refs #191
2016-02-24 08:52:25 -06:00