Commit Graph

853 Commits

Author SHA1 Message Date
Michael Tryby
b02f1ef346 Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into dev 2019-03-22 14:10:41 -04:00
Michael Tryby
44938918bf Rolling back option to BUILD_TESTS
BUILD_TESTING is defined within cmake when ctest module is included. Rolled back include(CTest) so we are going to define our own test option instead.
2019-03-22 11:59:59 -04:00
Michael Tryby
2bf3be4c64 Adding tests at test root
Couldn't get tests in subdirectores to work so adding them at test root instead.
2019-03-22 11:51:08 -04:00
Michael Tryby
ec72db5d82 pulling up call to find_packages
eliminates multiple calls to find_packages
2019-03-22 11:08:54 -04:00
Michael Tryby
c9903620cb Fine tuning linking strategy
static linking on Windows (MSVC and mingw) dyn linking everywhere else.
2019-03-22 09:55:34 -04:00
Michael Tryby
84341c3237 Switching MSVC to static link 2019-03-22 09:20:33 -04:00
Michael Tryby
66c274c343 Adding BOOST_TEST_MAIN for gcc build 2019-03-22 09:14:26 -04:00
Michael Tryby
82055f24a9 Updating CI scripts 2019-03-21 18:34:01 -04:00
Michael Tryby
eb4ae7f670 Adding boost system for gcc build 2019-03-21 18:19:17 -04:00
Michael Tryby
48facd89d0 Fixing test build on gcc 2019-03-21 18:08:05 -04:00
Michael Tryby
0c56df4041 Reorganizing tests
Adding test_net_builder and test_reent to cmake build script.
2019-03-21 13:44:31 -04:00
Michael Tryby
5687c63548 Reorganizing unit tests
Unit tests for the toolkit are consolidated into one test module with a separate test suite for related API functions.
2019-03-21 13:11:10 -04:00
Michael Tryby
80ce382a38 Removing epanet-output from tools folder
epanet-output has been moved to epanet/src/outfile
2019-03-20 18:01:11 -04:00
Michael Tryby
ccbb422259 Reorganizing src and test folders
Moving epanet_output library from tools to src folder. Setting up parallel folder hierarchy in tests folder.
2019-03-20 17:58:24 -04:00
Michael Tryby
7eadbc25ce Adding unit test and refactoring
Added unit test for errormanager and refactored to simplify use of error_check() method.
2019-03-20 15:43:27 -04:00
Lew Rossman
34705d442d Merge pull request #423 from OpenWaterAnalytics/lrossman-dev15
Replace fixed-sized comment strings with dynamic strings
2019-03-20 09:13:15 -04:00
Michael Tryby
01eb164fdc Merge pull request #424 from michaeltryby/dev
Reorganizing tests to improve build performance
2019-03-19 15:46:59 -04:00
Michael Tryby
260bdef2cf Update test_net_builder.cpp
Removing strings and adding test fixture
2019-03-19 14:10:29 -04:00
Michael Tryby
a566f914d4 Eliminating build warnings on gcc 2019-03-19 13:50:39 -04:00
Michael Tryby
29cfe43e5a Cleaning up tests
Fixing memory leak associated with using string objects to pass filepath arguments to toolkit
2019-03-19 13:27:07 -04:00
Michael Tryby
ed9a89763b Reorganizing tests to improve build performance 2019-03-18 16:06:21 -04:00
Lew Rossman
18f65eb8b0 Replace fixed-sized comment strings with dynamic strings 2019-03-17 19:54:51 -04:00
Michael Tryby
c26775314c Merge pull request #420 from michaeltryby/dev
Cleaning up test build
2019-03-15 19:18:50 -04:00
Michael Tryby
592e4c6ada Merge remote-tracking branch 'upstream/dev' into dev 2019-03-15 17:27:02 -04:00
Michael Tryby
e70ce35e60 Cleaning up tests 2019-03-15 17:25:59 -04:00
Lew Rossman
9399ef4b54 Merge pull request #414 from LRossman/lrossman-dev14
Fixes writing auxiliary data to a saved input file (#411)
2019-03-13 10:28:55 -04:00
Michael Tryby
d61a1aa786 Minor cleanup 2019-03-12 15:07:52 -04:00
Michael Tryby
32091830c6 Adding test for EN_getnodevalue 2019-03-12 13:35:24 -04:00
Michael Tryby
3f91ab110b Merge pull request #417 from michaeltryby/dev
Improving error handling in before_test.cmd
2019-03-12 09:52:30 -04:00
Michael Tryby
b86b1508cf Improving error handling in before_test.cmd 2019-03-12 08:41:06 -04:00
Michael Tryby
3ba8d93da3 Merge pull request #416 from michaeltryby/dev
Add access test to test_output.cpp
2019-03-11 17:50:59 -04:00
Michael Tryby
516ae498c3 Changing DLLEXPORT to EXPORT_OUT_API and creating epanet_output_enums.h 2019-03-11 17:11:47 -04:00
Lew Rossman
03f41d567d Set InFile to NULL after closing it 2019-03-09 10:52:59 -05:00
Michael Tryby
724bac732b Merge remote-tracking branch 'upstream/dev' into dev 2019-03-08 18:16:28 -05:00
Michael Tryby
0b76cfb2df Adding test for EN_getnodevalue 2019-03-08 18:15:47 -05:00
Lew Rossman
e5ec4eecab Fixes writing auxiliary data for deleted elements to a saved input file (#411) 2019-03-08 16:41:12 -05:00
Michael Tryby
9cff84582f Adding test for output file access prior to project close 2019-03-08 14:09:53 -05:00
Lew Rossman
d2386707d6 Merge pull request #410 from makusuko/dev
Fix re-entrancy problems / crashes caused by the use of static variables in functions
2019-03-08 13:09:33 -05:00
Michael Tryby
7521fe2810 Merge pull request #413 from michaeltryby/dev
Fixing bug in API for python wrapper
2019-03-08 10:10:00 -05:00
Michael Tryby
fbbffb36ce Renaming rprt_getcount to proj_getcount 2019-03-08 09:51:38 -05:00
Michael Tryby
da60bc4225 Merge pull request #412 from michaeltryby/dev
Restores coverage
2019-03-07 19:26:17 -05:00
Michael Tryby
a8bcc8947b Merge remote-tracking branch 'upstream/dev' into dev 2019-03-07 15:52:43 -05:00
Michael Tryby
fafa223d91 Fixing call to gen-config 2019-03-07 15:41:54 -05:00
Michael Tryby
4f23a03829 Fancy grep regex 2019-03-07 12:42:29 -05:00
Michael Tryby
2ef4241c02 Adding exit conditions 2019-03-07 11:35:48 -05:00
Michael Tryby
8d1b490458 Shellchecked script and eliminated redirect 2019-03-07 11:03:41 -05:00
Michael Tryby
93363dccfc Quoting the URLs 2019-03-07 10:29:27 -05:00
Michael Tryby
13160e1366 Quoting the command 2019-03-07 10:17:09 -05:00
Michael Tryby
9f78cd1041 Updating method for getting latest tag 2019-03-07 09:40:17 -05:00
Michael Tryby
d0633515cc Testing curl call 2019-03-07 08:40:37 -05:00