Commit Graph
100 Commits
Author SHA1 Message Date
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
Michael TrybyandGitHub 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
Michael TrybyandGitHub 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
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 TrybyandGitHub 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 TrybyandGitHub 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
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
Michael Tryby 9cff84582f Adding test for output file access prior to project close 2019-03-08 14:09:53 -05:00
Michael TrybyandGitHub 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 TrybyandGitHub 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
Michael Tryby fbaf2d7d02 Testing jq install 2019-03-07 08:31:30 -05:00
Michael Tryby 5d10728fd2 Fixing call to determine latest git tag 2019-03-07 08:21:17 -05:00
Michael TrybyandGitHub 9b95dc4d16 Merge pull request #401 from michaeltryby/dev
Reorganizing unit tests and improving CI helper scripts on Travis
2019-03-06 17:43:44 -05:00
Michael Tryby da23f25411 Tweaking comments 2019-03-05 17:45:27 -05:00
Michael Tryby 306c54fb96 Redirecting 7z output to nul 2019-03-05 17:43:54 -05:00
Michael Tryby 12bbeb4921 Adding jq to install and adding error handling on curl call 2019-03-05 17:24:14 -05:00
Michael Tryby f33257fce7 Trouble shooting error handling 2019-03-05 16:48:35 -05:00
Michael Tryby f3ad69d535 Improving error handling 2019-03-05 16:24:17 -05:00
Michael Tryby e1067bd0c9 Adding platform and sut_build_id to travis 2019-03-05 15:56:50 -05:00
Michael Tryby 2f82deef7c Adding SUT_BUILD_ID to Travis 2019-03-05 15:03:03 -05:00
Michael Tryby 8110948148 Updating Travis CI 2019-03-05 14:50:27 -05:00
Michael Tryby 3c00e8e236 Updating Travis CI to use new build scripts 2019-03-05 14:49:42 -05:00
Michael Tryby 651585fe32 Eliminating ref_build_id as required argument on run-nrtest scripts 2019-03-05 14:21:26 -05:00
Michael Tryby d3e9c11d71 Improving bash scripts for running reg tests 2019-03-04 17:42:37 -05:00
Michael Tryby 73a6c1c847 Separating header for test_output 2019-03-01 17:55:45 -05:00
Michael Tryby 4bbf4e2b1e Adding include paths for tests build 2019-03-01 16:41:03 -05:00
Michael Tryby b558234715 Moving fixture from output test to shared header. Fixing build 2019-03-01 16:05:03 -05:00
Michael Tryby 9f1b46b66a Fixing bug in gettimeparam 2019-03-01 15:16:27 -05:00
Michael Tryby fca0df7a7b Moving custom testing predicates to shared header 2019-03-01 14:14:09 -05:00
Michael Tryby b3a9701863 Adding test for getoption 2019-03-01 12:12:10 -05:00
Michael Tryby 612c898bd2 Renaming files, adding test for getstatistics 2019-03-01 11:45:39 -05:00
Michael Tryby 07dfac6198 Adding test for stepQ and proj save/reopen 2019-03-01 10:45:50 -05:00
Michael Tryby 41f810395a Fixing windows bulid 2019-02-28 17:49:40 -05:00
Michael Tryby 8640c860d2 Including pthread in build 2019-02-28 17:31:16 -05:00
Michael Tryby 0d30d2c6a8 including boost system in build 2019-02-28 17:12:22 -05:00
Michael Tryby b248e181b3 Fixing bug 2019-02-28 16:58:33 -05:00
Michael Tryby 854168d88a Fixing bug 2019-02-28 16:51:20 -05:00
Michael Tryby 3c25d7df38 Upgrading to boost1.67 2019-02-28 16:45:01 -05:00
Michael Tryby f8f95a4a6b Working on depends on decorator 2019-02-28 16:17:14 -05:00
Michael Tryby 37be05f881 setting cmake compiler 2019-02-28 16:03:55 -05:00
Michael Tryby dbc127b47e Upgrading to gcc 7 on Travis build worker 2019-02-28 15:52:04 -05:00
Michael Tryby a626ef941c Adding test for saveH 2019-02-28 11:35:12 -05:00
Michael Tryby a4b2e53768 Adding tests for save and use hydraulics file 2019-02-28 11:14:15 -05:00
Michael Tryby 91120b8e71 Creating header for sharing fixtures, reorganizing tests 2019-02-28 10:12:25 -05:00
Michael Tryby 97ae763d1a Moving getcount in epanet.py and adding test 2019-02-28 09:17:16 -05:00
Michael Tryby c7d533c6e4 Adding tests for gettitle and saveinpfile 2019-02-28 08:11:59 -05:00
Michael Tryby ab536d1927 Merge remote-tracking branch 'upstream/dev' into dev 2019-02-26 16:13:14 -05:00
Michael TrybyandGitHub 6713d84171 Merge pull request #400 from michaeltryby/dev-64bit
Fixes 64-bit build on Windows
2019-02-26 15:00:18 -05:00
Michael Tryby d031d68c9a Updating REF_BUILD_ID for 64-bit 2019-02-26 14:48:39 -05:00
Michael Tryby 08a84074bc Getting 64 bit reg tests to run 2019-02-26 14:29:57 -05:00
Michael Tryby b403814eaf Tweaking in line comments 2019-02-26 13:42:42 -05:00
Michael Tryby 5b244daa08 Separating 32 and 64 bit builds 2019-02-26 10:36:26 -05:00
Michael TrybyandGitHub ce6d9f34f4 Merge pull request #399 from michaeltryby/dev
Improving reg test helper scripts
2019-02-25 18:31:41 -05:00
Michael Tryby e720d4b4f3 Updating receipt location 2019-02-25 17:32:56 -05:00
Michael Tryby 40ada01de5 Improving reg testing helper scripts 2019-02-25 17:03:11 -05:00
Michael Tryby 15c208f35e Merge remote-tracking branch 'upstream/dev' into dev 2019-02-25 16:21:29 -05:00
Michael Tryby 9377e67f77 Updating file path in benchmark archive 2019-02-12 16:36:55 -05:00
Michael TrybyandGitHub aef6e29bd6 Merge pull request #392 from michaeltryby/dev
Add search for SUT exe location
2019-02-12 15:40:04 -05:00
Michael Tryby 72573d15ba Fix EXE_HOME 2019-02-12 15:32:39 -05:00
Michael Tryby 874dfa9847 Add search for SUT exe location 2019-02-12 15:16:54 -05:00
Michael Tryby 77f96a228d Updating inline comments 2019-02-12 13:51:35 -05:00
Michael TrybyandGitHub 3127e2ca7c Merge pull request #391 from michaeltryby/dev
Simplify command line arguments for reg test helper scripts
2019-02-12 13:38:45 -05:00
Michael Tryby 75cefb95d0 Fixing typo 2019-02-12 13:32:24 -05:00
Michael Tryby 1620f3f452 updating documentation 2019-02-12 13:21:55 -05:00
Michael Tryby 678a2c2b45 Introducing default arguments 2019-02-12 13:13:35 -05:00
Michael Tryby d33afdd079 Applying default arguments 2019-02-12 11:26:12 -05:00
Michael Tryby 03de01460e Merge remote-tracking branch 'upstream/dev' into dev 2019-02-11 16:54:21 -05:00
Michael TrybyandGitHub 56d1fe2f35 Merge pull request #390 from michaeltryby/dev
Adding reg tests to coverage
2019-02-11 16:22:15 -05:00