Commit Graph

23 Commits

Author SHA1 Message Date
Brian Cox e2f90ed395 s/2019/2021/g 2021-05-15 12:56:40 -07:00
Brian Cox b308f6871b Bump © year to 2019, because 2019 2019-01-03 20:30:41 -08:00
Brian Cox c9e32170ba use standard '_t' fixed-width types instead of rolling our own, where available 2018-10-28 12:07:34 -07:00
Brian Cox b2e7db6ba9 Ifdef a test case that doesn't work w/ gxlc; add a test to verify exception handing works, because we've seen it not work 2018-09-25 01:11:46 -07:00
Brian Cox ccf8a62fa4 Clean up code formatting with clang-format; add a custom clang-format style that tries to approximate the existing OST code style 2018-03-24 21:28:30 -07:00
Brian Cox f1525a267a Bump version & copyright year 2018-01-01 17:44:15 -08:00
Brian Cox 7545beb0e6 Make sure cFile_i is constructed & destructed cleanly; clean up GetSymLinkStr a bit more; improve Debug/Basic & UnixFSServices/GetExecutableFilename unit tests 2017-09-21 01:12:28 -07:00
Brian Cox 041ca7f3b3 Tweak a couple of tests that generally fail due to environmental issues (locale configuration, local IP <--> hostname mapping, current username) so they're marked as skipped instead of failed when it looks like a configuration problem. 2017-09-08 18:04:35 -07:00
Brian Cox 078bf28164 A few little tweaks for SkyOS unit tests & configure robustitude (i.e. relying on stdint.h (if present) to tell us which intrinsic type is 64 bits) 2017-09-07 01:00:58 -07:00
Brian Cox 25ddcc0ca6 Break some big unit tests into smaller ones 2017-09-04 11:47:35 -07:00
Brian Cox 8c73f1cf3b Rework unit test framework (such as it is) to refer to tests by name & not numeric id. Mark tests as skipped if they don't make any TEST assertions or are skipped explicitly 2017-09-03 20:28:24 -07:00
Brian Cox f5e76827be Robustify symlink reading in cFSPropCalc, & add a unit test for it. Tweak other unit tests to use a test directory we control, rather than dumping stuff in /tmp 2017-08-23 23:36:21 -07:00
Brian Cox 01e25eb493 Remove a couple of unused FSServices methods 2017-08-19 20:38:57 -07:00
Brian Cox 4cdb384445 gcov revealed that a few unit tests weren't actually being run, so fixing those, & tweak exception handling in other tests to be more uniform (since we catch everything at the test harness level now) 2017-08-06 18:55:52 -07:00
Brian Cox dae64c48ed Update copyright years 2017-04-25 18:31:11 -07:00
Brian Cox 47c9861baa Clean up various unit test TODOs, including re-enabling some test code that had been ifdef'd out; improve reporting of failures and how many actual tests were run 2017-04-19 23:37:35 -07:00
Brian Cox 9c38b49839 Prefer prefix ++/-- operators where possible, for performance reasons (per CppCheck) 2017-03-23 19:30:52 -07:00
Brian Cox 5c1cfe4702 Use unique_ptr instead of auto_ptr where available (and define a macro to pick which one to use); fix a few other remaining warnings. 2017-03-22 20:00:08 -07:00
Brian Cox 1fb5f332e6 For clarity, remove a bunch of IS_UNIX ifdefs, since configure.ac always defines IS_UNIX to 1 no matter the OS. 2017-03-15 20:31:38 -07:00
Brian Cox f9aa5de896 Add ability to optionally *not* resolve uid/gid to name, to accomodate the Linux static binary vs. nsswitch name resolution issue; add RESOLVE_IDS_TO_NAMES config option to control this feature; avoid redundant lstats when turning IDs into names, since the lstat is to fetch the ID we already have; remove a bunch of unused code in UnixFSServices 2016-11-24 17:26:02 -08:00
Brian Cox 728795af3d Replace tabs with 4 spaces in all remaining OST code, since this inconsistency can now result in 'misleading indentation' warnings in GCC 6.0+. 2016-04-23 00:33:17 -07:00
Brian Cox a9207128e2 Test fixes so twtest runs to completion, mostly by adding ifdef+todo for the time being. Also add twtest to .gitignore 2016-04-16 22:45:59 -07:00
Brian Cox 677162cc6e Revive the old unit test suite. Needs autoconf/buildsys work, and tests don't all pass yet. 2016-04-16 19:16:32 -07:00