Commit Graph

45 Commits

Author SHA1 Message Date
jlamothe 4ff1aa2d6d build a struct to represent a sample log 2023-11-13 03:47:21 +00:00
jlamothe 5e8b1b73c7 make sure last_log changes, but isn't null on append 2023-11-13 01:27:07 +00:00
jlamothe fc167d8d05 ensure first_log doesn't change on append 2023-11-13 00:49:33 +00:00
jlamothe 586bbe71ed started append to existing test 2023-11-13 00:37: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 94d6bc8cf9 make sure run_test() doesn't crash when handed a null state 2023-11-11 23:08:08 +00:00
jlamothe 3393c3b9af ensure latest log text is correct when appended 2023-11-11 22:53:04 +00:00
jlamothe 63f0bd73e4 ensure first_log and last_log match when appending to empty log 2023-11-11 21:49:52 +00:00
jlamothe 9f4a51d8c7 ensure first_log isn't null after append 2023-11-11 21:36:05 +00:00
jlamothe c0f28d41b0 renamed various checking functions 2023-11-11 03:40:00 +00:00
jlamothe 3309ac7aee made compare_ints() and compare_ptrs() accessible from outside util 2023-11-10 22:44:42 +00:00
jlamothe a14b11e853 append to an empty test log 2023-11-10 21:17:06 +00:00
jlamothe 4c0d33693b moved mk_sample_state() into util 2023-11-10 20:48:40 +00:00
jlamothe a962eff7b4 test module for append_test_log() 2023-11-10 20:30:44 +00:00
jlamothe c3bace917d fixed wihtespace issue 2023-11-10 20:05:37 +00:00
Jonathan Lamothe f30c093a81 fix nuke option in mkfile 2023-11-10 09:15:02 -05:00
jlamothe 1fcbeaef5b check what happens when a test is pending 2023-11-09 23:51:51 +00:00
jlamothe e55a392035 check what happens when a test fails 2023-11-09 23:39:13 +00:00
jlamothe 2ea0da9a6f relicenced under LGPLv3 instead of GPLv3 2023-11-09 23:24:48 +00:00
jlamothe f817af1a5c compare first & last log pointers when comparing test states 2023-11-09 23:04:45 +00:00
jlamothe 0665b8be3e check ptr when comparing two TestState values 2023-11-09 22:52:15 +00:00
jlamothe e69a2d0375 check all counts when comparing test states 2023-11-09 21:12:21 +00:00
jlamothe c2f8972d9c partially testing run_test() 2023-11-09 20:48:51 +00:00
jlamothe 1e5423b564 defined test_passing 2023-11-09 00:06:18 +00:00
jlamothe ede11a1727 added test module for run_test() 2023-11-08 23:38:42 +00:00
jlamothe 14262a816e removed unnecessary ampersands 2023-11-08 22:10:09 +00:00
jlamothe d7207a3df3 broke initial state testing off into separate module 2023-11-08 00:20:33 +00:00
jlamothe e9ed464b60 minor edits and testing of initial TestState value 2023-11-07 23:44:53 +00:00
jlamothe 9f26846a3d renamed main.c to tests.c 2023-11-07 20:35:59 +00:00
jlamothe f2da510a6e created tests 2023-11-07 20:29:08 +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 e3037f3f3f removed extraneous whitespace 2023-11-06 20:35:08 +00:00
jlamothe 13dc0deba1 comment fix 2023-11-06 20:30:06 +00:00
jlamothe 311eaa429d defined runTests 2023-11-06 20:20:09 +00:00
jlamothe 07fcb5b103 notice about experimental state 2023-11-06 20:19:50 +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
jlamothe 5b4d9bc2f8 creakted mkfile 2023-11-06 04:01:17 +00:00
jlamothe e29efa8cd0 added copyright notice to README.md 2023-11-06 03:33:12 +00:00
Jonathan Lamothe 228ef59a53 Initial commit 2023-11-05 18:09:08 -05:00