Alois Mahdal
3fc8e340fc
Do return even in interactive (debug) mode
před 10 roky
Alois Mahdal
ab9438b9c3
Exit with FFOO_EXITS_ERROR
před 10 roky
Alois Mahdal
c57f0cde12
Use grey (lblack) for `think()`ing
před 10 roky
Alois Mahdal
9eeafcfcdf
Update examples in docs
před 10 roky
Alois Mahdal
9a0994ae52
Update register_artifact() on tmp.sh API change
před 10 roky
Alois Mahdal
33028a4e07
Add function to destroy tmp safely
před 10 roky
Alois Mahdal
4aeee9ffb3
Fix tmp module API
Do not touch world on importing, use explicit function for empdir
creation.
před 10 roky
Alois Mahdal
9ce20eee68
Add high-level progress tracking overview
před 10 roky
Alois Mahdal
93720b5fe5
Fix hash retrieval in get_version
git-describe will prefer annotated tags, git-log has much more straightforward solution
před 10 roky
Alois Mahdal
b004f154a4
Uodate test according to pretty rename
před 10 roky
Alois Mahdal
6decd0fef9
Update variable names in ffoo init and debug
před 10 roky
Alois Mahdal
0e537853e5
Add note on name conflict when using -v from __echo frontends
před 10 roky
Alois Mahdal
f535e270c1
Remove obsolete notes
před 10 roky
Alois Mahdal
843775bb18
Bump version
před 10 roky
Alois Mahdal
aacd6a00ac
Add support for codenames
před 10 roky
Alois Mahdal
ba75f3a46d
Merge core.sh into pretty.sh
před 10 roky
Alois Mahdal
fe7da66353
Rename mkpretty to pretty
Ans its internal sub-modules to _pretty_*
před 10 roky
Alois Mahdal
4c8cb17bdf
Bump version
před 10 roky
Alois Mahdal
b215308bba
Update API test
před 10 roky
Alois Mahdal
e934e5ab99
Bump version
před 10 roky
Alois Mahdal
dbc9961698
Add more thorough lister tests
Including two failing ones
před 10 roky
Alois Mahdal
4a95698577
Update API test
před 10 roky
Alois Mahdal
1893046bc6
Finish and re-enable listing mode acceptance tests
před 10 roky
Alois Mahdal
a765c190c6
Implement listing mode
před 10 roky
Alois Mahdal
4e2c23b7e8
Add debugs after parsing test/oracle metadata
před 10 roky
Alois Mahdal
a37b3174ef
Fix typo in exit status variable
před 10 roky
Alois Mahdal
88f1c5ce9e
Fix typo in filename
před 10 roky
Alois Mahdal
53fdf2c710
Use sigils for debug
před 10 roky
Alois Mahdal
91a0c466bc
Refrain from colors if stderr is a pipe or file
Generalize color codes per function and leave them empty if a "real
pipe" (i.e. pipe or file) is detected[1] on STDERR (2).
[1]: http://stackoverflow.com/questions/911168/how-to-detect-if-my-shell-script-is-running-through-a-pipe
před 10 roky
Alois Mahdal
715afd10e6
Clarify purpose of `src` variable
před 10 roky
Alois Mahdal
f0bbfba8cd
Use for loop instead of while
In this case it's simpler--no need to detect end case and no need to
shift, i.e. less typing/reading.
před 10 roky
Alois Mahdal
f8d8041397
Use core.echos(), no need to special-case -e/-E/-N
před 10 roky
Alois Mahdal
daf78d4cde
New semantics of test data files
Now testname.oracle file can specify expected exit status file
as well, or different path for stdout/stderr oracles (default is
testname.oracle.stdout and testname.oracle.stderr)
This effectively allows for testing scenarios where exit status or error
output can be tested as well.
před 10 roky
Alois Mahdal
ba0b9e9328
Use nicer prefixes for test delimiters
před 10 roky
Alois Mahdal
ad63d7fbcb
Explain how get_version works in docstring
před 10 roky
Alois Mahdal
8d22cb4e2d
Bump version
před 10 roky
Alois Mahdal
afaa60c739
Fortify quoting in __echo_vars()
před 10 roky
Alois Mahdal
70c47cd67b
Re-enable games_with_spaces
Now that cfgrep speed is vastly improved this test does not need
to be turned off as tedious.
před 10 roky
Alois Mahdal
e8e16791fb
Use native code rather than subhells
Replace most of sed / grep calls with bash-native code.
Speed improved ~2x for basic tests and over 10x for games_with_spaces
před 10 roky
Alois Mahdal
c6bca8afd0
Force C locale (sorting, etc) for all tests
před 10 roky
Alois Mahdal
9e20d2a7cb
Put color escape sequences where the text goes
před 10 roky
Alois Mahdal
4e99114db9
Bump version
před 10 roky
Alois Mahdal
f6690f5bf9
Tweak test output colors for better error visibility
před 10 roky
Alois Mahdal
7d174032dd
Use more outstanding ASCII and severity on fail
před 10 roky
Alois Mahdal
66ea4600ad
Set global variables in test runner
před 10 roky
Alois Mahdal
0a7e2ddbb7
Improve test scope filtering
Move to runner parameters -t and -s; allow filtering based
on test name, sub-test name or both.
před 10 roky
Alois Mahdal
0025cbf46e
Add support for comparing stderr as well
před 10 roky
Alois Mahdal
95d6665be4
Fix API test data
před 10 roky
Alois Mahdal
7b6b0da186
Gat rid of useless line in long version
před 10 roky
Alois Mahdal
16f8bfba44
Better name function
před 10 roky