Alois Mahdal
b454bf91bf
Reduce debugging for speed
Remove iterated debugs (eg. over FFOO_INIGREP_PATH) and those appearing
as arguments
10 anni fa
Alois Mahdal
f5812e4e12
Use more readable logic for delimiter placement
10 anni fa
Alois Mahdal
4670bbbca0
Update Mkit to v0.0.2
10 anni fa
Alois Mahdal
80e9ea61a1
Rename wrapped test to stand out
10 anni fa
Alois Mahdal
83cfe01968
Add tests for nested debug
10 anni fa
Alois Mahdal
a5b34cc3f8
Add parentheses to denote debug from function
10 anni fa
Alois Mahdal
33f9bb6c3b
Update TFKit to v0.0.5
10 anni fa
Alois Mahdal
dfb4d4d8e9
Update API test after recent change
10 anni fa
Alois Mahdal
ce4cf35fae
Compose filters as strings and use eval
Seems to be more readable and shows ~15% better performance on full
suite run.
10 anni fa
Alois Mahdal
cbbef9c7b1
Make trace actually useful
10 anni fa
Alois Mahdal
f0de04b707
Add die() test cases
10 anni fa
Alois Mahdal
e48cc26146
Split pretty_basic oracles by type
10 anni fa
Alois Mahdal
bc611409e3
Add essential locations to test report header
So that it's easier to check if we are using the right SUT in case it's
both installed and deployed in temporary test dir.
10 anni fa
Alois Mahdal
f2358e2866
Fortify against missing parameters
If user does not provide mandatory parameter, `shift 2` will fail but
will not shift anything, resulting in infinite loop.
10 anni fa
Alois Mahdal
0b4063a241
Fix and clean up validators
Fixes issue when empty string generated warning. Correct behavior is
that empty string does return with non-zero but does not issue warning
as this is to be commonly used to set default values.
10 anni fa
Alois Mahdal
e878eb6bd8
Update Mkit to v0.0.1
10 anni fa
Alois Mahdal
73521a9678
Use nicer formatting for HTML
* Do not split text per line,
* use `<pre/>` for main text,
* use `<span />` for debug headers,
* and use more suitable class names.
10 anni fa
Alois Mahdal
49c75acc59
Update mkhelp docstring
10 anni fa
Alois Mahdal
83289c736e
Do not coerce 'mkhelp' to 'mkusage' style
Not sure why I did it in the first place.
10 anni fa
Alois Mahdal
bb41e83baf
Remove unnecessary bitter note
10 anni fa
Alois Mahdal
84ec78a90c
Use more appropriate classes
10 anni fa
Alois Mahdal
fb719e51e3
Do not force line mode
This disables user from choosing different mode; behave as other
printers.
10 anni fa
Alois Mahdal
89b02aacc0
Work properly with '-' or /dev/stdin
/dev/stdin will be treated as normal file, albeit `test -s` would detect
it as non-existent. '-' will cause STDIN to be used as wellm but will
omit header.
10 anni fa
Alois Mahdal
ed25fd2305
Add missing docstrings
10 anni fa
Alois Mahdal
f2a8112560
Fix usage when _pretty__* called directly
exit does not work as we want in subshell, so we need to exit higher.
10 anni fa
Alois Mahdal
d05232a7dd
Fix typo in _expand_fspec_to_fun
Introduced by fefce4a0, typo invalidated catfun and ffdoc
10 anni fa
Alois Mahdal
4df409f0ec
Add tests on documentation features
10 anni fa
Alois Mahdal
2041756e5e
Exit properly if core import fails
10 anni fa
Alois Mahdal
c8db434ff4
Add/remove MKIT_LOCAL as needed
10 anni fa
Alois Mahdal
f0eb035b4d
Update .gitignore for new mkit
10 anni fa
Alois Mahdal
8333bbdf98
Skip cleanup if built.list is empty
10 anni fa
Alois Mahdal
608bfcdc66
Move mkit local files to own subdir
10 anni fa
Alois Mahdal
eb00c7d2ab
Update TFKit to version v0.0.4
10 anni fa
Alois Mahdal
bdf3d8cf44
Update TFKit to version v0.0.3
10 anni fa
Alois Mahdal
bf5ee65230
Do not treat DEST as directory if it exists
10 anni fa
Alois Mahdal
8cbe243afc
Add better parameter checking
10 anni fa
Alois Mahdal
e6d0091346
Apply changes suggested by ShellCheck (core)
10 anni fa
Alois Mahdal
94cfc767ab
Apply changes suggested by ShellCheck (docs)
10 anni fa
Alois Mahdal
7147c2248d
Apply changes suggested by ShellCheck (tests)
10 anni fa
Alois Mahdal
b68913c9cb
Apply changes suggested by ShellCheck (mkit)
10 anni fa
Alois Mahdal
ff5babb4f4
Exit with correct status
10 anni fa
Alois Mahdal
84a76f7d2a
Compact case item
10 anni fa
Alois Mahdal
36adafec09
Add check on version bump
In mkit's world, last change before release (ie. the commit that gets
tagged) must be nothing but version bump in "config.mk"
10 anni fa
Alois Mahdal
9a335940c4
Die sooner if last tag cannot be found
Other checks that rely on version number that is derived from this tag
would then give weird messages.
10 anni fa
Alois Mahdal
752d441738
Update to TFKit version "0.0.0+master.g94744f5"
A first version that is versioned
10 anni fa
Alois Mahdal
edd449170a
Install include as one directory
10 anni fa
Alois Mahdal
87f76cd937
Simplify case machine for version suffix
10 anni fa
Alois Mahdal
5c5e4e54d4
Fix missing '.dirty' suffix
10 anni fa
Alois Mahdal
a4c39428e3
Do not cripple version if last tag was not found
IOW, it's not guaranteed that once we are in git repo we can always see
the tag. VERSION should be reliable, though.
10 anni fa
Alois Mahdal
8438418a76
Only check for PREFIX from install and uninstall
So that one can still build without having it set properly.
10 anni fa