Commit Graph

37 Commits

Author SHA1 Message Date
jlamothe 6539b87ea9 warn to log instead of stderr
When the reindex function rebuilds the log because of a missing first_log value, it warns about a potential memory leak to the log itself.
2023-11-21 23:26:32 +00:00
jlamothe cb3788cf02 check next value for append_test_log() on empty log 2023-11-21 20:55:58 +00:00
jlamothe e5cad7cd20 display pass/fail/pend status in realtime 2023-11-21 20:02:53 +00:00
jlamothe 01e9cb8794 implemented log_test_context() 2023-11-20 05:03:33 +00:00
jlamothe 24ed9060ba implemented single_test_context_compare() 2023-11-20 03:58:21 +00:00
jlamothe eaa8ae06a7 renamed check_values() to test_context_compare() and reimplemented 2023-11-20 01:16:44 +00:00
jlamothe f808eb4cb0 reorganized functions and such 2023-11-19 23:48:11 +00:00
jlamothe 55926ec0d8 implemented run_test_compare() 2023-11-19 17:19:45 -05:00
jlamothe 291d25927c refactored single_test_context_with() 2023-11-19 20:44:14 +00:00
jlamothe ad4abe68e0 refactored test_context_with() 2023-11-19 04:40:19 +00:00
jlamothe 1c4fb1e87d refactored single_test_context() 2023-11-19 04:01:10 +00:00
jlamothe 8138f59fef refactored run_test_with() 2023-11-19 01:48:14 +00:00
jlamothe cd590339b7 refactored single_test_context() 2023-11-18 20:11:28 +00:00
jlamothe 2011b75b7e refactored run_test_with() 2023-11-18 19:28:40 +00:00
jlamothe bd535791d7 implemented single_test_context_with() 2023-11-18 16:38:00 +00:00
jlamothe 6c191d8405 implemented run_test_with() 2023-11-17 23:35:02 +00:00
jlamothe 37ce34b160 made check_value() use test_context_with()
eliminates some redundant code
2023-11-17 23:07:05 +00:00
jlamothe 5d67b7aeb8 implemented test_context_with() 2023-11-17 21:30:52 +00:00
jlamothe 7818e3d646 changed order of params for check_value() 2023-11-16 22:41:42 +00:00
jlamothe a7351b5667 implemented check_value() 2023-11-16 19:53:06 +00:00
jlamothe 0ad79ea3b0 define and start using single_text_context() 2023-11-16 00:52:01 +00:00
jlamothe ef00063ba3 built and started to test test_context() 2023-11-15 23:46:25 +00:00
jlamothe b9cac45eba report function should ignore formatting 2023-11-15 00:04:35 +00:00
jlamothe cead3f67d0 created overridable report() function to be used in place of print() 2023-11-14 23:53:43 +00:00
jlamothe 85a6d49b38 added context info to TestState 2023-11-14 23:08:19 +00:00
jlamothe e41263adf0 consider calling run_test() with a null function as a pending test 2023-11-12 01:25:55 +00:00
jlamothe 2ea0da9a6f relicenced under LGPLv3 instead of GPLv3 2023-11-09 23:24:48 +00:00
jlamothe e9ed464b60 minor edits and testing of initial TestState value 2023-11-07 23:44:53 +00:00
jlamothe b0a69bfc49 removed copyright year from source files (retained in readme) 2023-11-07 19:48:41 +00:00
jlamothe d58372991f print log before displaying summary 2023-11-07 19:36:54 +00:00
jlamothe 3900a39205 implemented append_log() and some internal maintenance stuff 2023-11-07 04:33:22 +00:00
jlamothe 870f1b619b restructured library to hide struct initialization 2023-11-06 23:23:18 +00:00
jlamothe 311eaa429d defined runTests 2023-11-06 20:20:09 +00:00
jlamothe 519266e348 implemented runTest 2023-11-06 19:46:01 +00:00
jlamothe b9c7fa84be created initTestState 2023-11-06 19:26:55 +00:00
jlamothe 1a6782f644 added missing header 2023-11-06 18:59:19 +00:00
jlamothe 15dfdb3506 basic framework 2023-11-06 05:04:12 +00:00