9974656c5c
This adds an explicit: internal = true As an alternative to: in = 'lfs3.c' For marking tests/benches as internal without actually placing them in a specific source file. The internal flag and --no-internal have proven suprisingly useful for running a subset of tests when refactoring, as internal tests break much more frequently than the high-level API. However, placing all the internal tests in lfs3.c _has_ put a big strain on compilation/link times. `internal = true` now lets you mark tests/benches as internal, without the extra compile/link overhead. You don't get access to any internal things, but the flag can still be useful for filtering. --- The original motivation for this was in the test_fwrite_clip_* tests, but they ended up using lfs3_bptr_size to check leaf sizes, so oh well. At least it's a good flag to have around. (In theory these could be made "fake internal" with a manual bitmask, but it doesn't seem worth the potential maintenance headache for saving a bit of link time. Though maybe in the future priorities will change.) Also cleaned up the handling of None in test/bench config a bit. Now None should be equivalent to missing config fields, at the cost of more noise in the Python code. None vs missing always feels unusually clunky in Python.