Scott Fennell
6691b14e9e
1093 c str ( #1119 )
...
* update checkpoint_map.hh #1093
* #1093 update checkpoint_pair.hh
* #1093 update checkpoint_queue.hh
* #1093 update MM_write_checkpoint.cc
* #1093 update units_attach.i
* #1093 update checkpoint_sequence_stl.hh
* #1093 update checkpoint_stack.hh
* #1093 update swig_extend_str.i
* #1093 update swig_int_templates.hh
* #1093 update checkpoint_stack.hh and swig_int_typemap.i
* #1093 fix c_str issue without adding memory leaks
* #1093 fix c_str issue without adding memory leaks
* #1093 remove dangling pointers in injector sim object (without causing memory leaks)
* #1093 remove dangling pointers in injector sim object (without causing memory leaks)
* #1093 remove dangling pointers in Event Manaager sim object (without causing memory leaks)
* #1093 fix MonteCarlo_c_intf dangling pointers
Co-authored-by: Fennell, Scott P 263712616 <scott.p.fennell@nasa.gov>
closes #1093
2021-03-12 13:23:35 -06:00
Derek Bankieris
1e8228e344
Use -isystem for Trick and Python headers
...
Closes #1067
2020-10-23 08:28:01 -05: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
sfennell
8ac5cf7a59
changes to support llvm 9.0 closes #869
2019-09-27 16:04:16 -05:00
Derek Bankieris
d135353c90
Infer TRICK_HOME in Makefiles
...
Closes #358
2019-06-21 13:15:22 -05:00
Alex Lin
497f11f132
Make TRICK_CXX variable to specify c++ compiler #767 ( #815 )
...
Changed all references of TRICK_CPPC to TRICK_CXX. Added a
warning message that TRICK_CPPC has been deprecated.
2019-06-18 11:00:08 -05:00
John M. Penn
f3be6c9ec0
Add a Memory Manager Test and a MM input parser error msg fix. Ref #587
2018-04-06 15:18:33 -05:00
Christopher LaChance
6184aa6cd9
Some unit test warnings addressed. ( #515 )
...
* Removed purple warnings from unit test compilation.
* "Fixed const corectness bug. Added more warning fixes."
* Fixed warning issue.
* Removed null checking and (char*) casting.
* Changed sizeof parameter to variable from data structure.
2017-11-29 15:35:16 -06:00
Derek Bankieris
7a08829d3d
Introduce makefile variable TRICK_SYSTEM_LDFLAGS
...
Like other TRICK_SYSTEM variables, users should not modify this.
This renders TRICK_LDFLAGS and TRICK_USER_LINK_LIBS redundant. While we
would like to eventually remove TRICK_USER_LINK_LIBS, it's not likely to
ever actually happen.
Refs #369
2016-12-14 12:36:21 -06:00
Michael Vetter
18f0d7e871
Remove trailing whitespaces
...
Makes it easier to edit the files. So if we press 'end of line' we are
really at the end of line.
2016-11-08 10:25:07 +01:00
Alex Lin
3a7e756926
Unit test directories do not support gtest libs in lib64
...
Added library search dirs ${GTEST_HOME}/lib64 and ${GTEST_HOME}/lib
to the link line.
refs #264
2016-07-01 11:50:06 -05:00
Alex Lin
595feb280b
Convert old units to udunits in test code
...
Found a couple more units to convert.
refs #261
2016-06-30 11:24:18 -05:00
Alex Lin
268d3407df
Set and use LD in our makefiles correctly.
...
Changed TRICK_LD to TRICK_CPPC in the unit test makefiles. It
should be TRICK_CPPC on these lines.
refs #131
2016-06-28 08:58:33 -05:00
John M. Penn
f2dd53f0b5
Fix address arithmetic in MemoryManager_ref_assignment.cpp and add unit test. refs #224
2016-04-15 14:34:38 -05:00
John M. Penn
fc98f6cf0a
Fix address arithmetic in ClassicCheckPointerAgent::write_rvalue. Refs #221
2016-04-13 15:39:30 -05:00
Alex Lin
ba6a00315e
Add direct STL checkpointing
...
Fixing the unit tests that broke because of my changes. Memory
Manager tests need to be compiled with c++11, and the STL unit test
was using a variable that did not exist anymore.
[Issue: x]
2016-03-31 17:30:00 -05:00
John M. Penn
fcb419d534
Add demonstration of getting units from MemoryManager::ref_attributes(). Fixes #132
2015-09-30 17:30:51 -05:00
Alex Lin
a2bc82f1e9
MemoryManager unit test needs -lpthread on Ubuntu
...
Added -lpthread to link line just because.
refs #91
2015-07-22 18:05:34 -05:00
Alex Lin
13268aae32
Merge branch 'makeMaster' that splits up CP into several executable
...
components.
2015-07-21 09:58:15 -05:00
Alex Lin
e1c1bbaccf
Split CP up into components that can be called individually
...
Initial rough checkin that partially works for the ball sim.
refs #86
2015-07-16 15:36:36 -05:00
John M. Penn
a5e7699d40
Fixes #81 : Updated other Makefiles to get tests to link
2015-07-16 15:02:33 -05:00
John M. Penn
3a70ffb156
List libraries more than once to satisfy gcc linker
2015-07-15 17:29:10 -05:00
John M. Penn
619d60fff7
Fixes #81 : Memory Manager tests still require libtrick.a to be linked in.
2015-07-08 14:37:17 -05:00
John M. Penn
03284bf97d
Break the Memory Manager out of libtrick.a into libtrick_mm.a.
2015-06-30 17:57:26 -05:00
Alex Lin
cf3738d3fd
Memory Manager tests trying to write io_src files in sim_services/include
...
Added 2 flags to trick-ICG. "-o" will specify an output directory. Added this
option to the calls to trick-ICG for the Memory Manager tests. Also added
a "-m" option to create the map files ICG creates for sims. The memory manager
tests do not need these maps so we don't include the option. Added the -m option
to the sim makefile and the master makefile so we do create the map when compile
Trick core and sims.
refs #72
2015-06-24 17:49:14 -05:00
Alex Lin
03979a2079
Memory manager test programs need libtrick_units.a
...
Added libtrick_units.a to the linking of memory manager test programs.
refs #71
2015-06-24 16:26:11 -05:00
Alex Lin
d3acfa5fc0
Test code does not work with new directory locations.
...
Adjusted all of the source code to point to the header files in their new
locations. Adjusted the makefiles for the header locations as well.
Added .gitignore files in the test directories to ignore test object code.
2015-06-22 16:11:08 -05:00
Alex Lin
14a75508a3
Cleaning up once include variables and copyright cleanup.
...
Changed all header file once include variables to follow the same naming
convention and not start with any underscores. Also deleted old
incorrect copyright notices. Also removed $Id: tags from all files.
Fixes #14 . Fixes #22 .
2015-03-23 16:03:14 -05:00
Alex Lin
f0c594f841
Initial commit of everything.
2015-02-26 09:02:31 -06:00