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.
пре 9 година
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
пре 9 година
Alois Mahdal
c6bca8afd0
Force C locale (sorting, etc) for all tests
пре 9 година
Alois Mahdal
9e20d2a7cb
Put color escape sequences where the text goes
пре 9 година
Alois Mahdal
4e99114db9
Bump version
пре 9 година
Alois Mahdal
f6690f5bf9
Tweak test output colors for better error visibility
пре 9 година
Alois Mahdal
7d174032dd
Use more outstanding ASCII and severity on fail
пре 9 година
Alois Mahdal
66ea4600ad
Set global variables in test runner
пре 9 година
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.
пре 9 година
Alois Mahdal
0025cbf46e
Add support for comparing stderr as well
пре 9 година
Alois Mahdal
95d6665be4
Fix API test data
пре 9 година
Alois Mahdal
7b6b0da186
Gat rid of useless line in long version
пре 9 година
Alois Mahdal
16f8bfba44
Better name function
пре 9 година
Alois Mahdal
fc041b0784
Make use of improved exit routines and variables
пре 9 година
Alois Mahdal
f8c294a0ff
Rename exit.sh module to exits.sh
пре 9 година
Alois Mahdal
a153de3578
Improve exit.sh module
Add semantic exit functions and review exit statuses.
пре 9 година
Alois Mahdal
b456ee28de
Use env header field instead of separate file
пре 9 година
Alois Mahdal
01fc26804d
Merge .env files to respective test headers
пре 9 година
Alois Mahdal
34c4d65c1d
Fix FFOO_CONFIG_SUFFIX being forced
пре 9 година
Alois Mahdal
128e0ee70b
Bump version
пре 9 година
Alois Mahdal
70662d4d69
Rename tests fo reflect module name
пре 9 година
Alois Mahdal
f462b7c330
Rename ini.iniread to config.cfgrep
config.cfgrep does better job at hinting how the function works
(i.e. somehow similar to UNIX grep) and that the use is not limited to
INI files.
Also default config file suffix is now "conf".
пре 9 година
Alois Mahdal
abd8c72c1d
Revamp test output
* Add colors,
* print ffoo version,
* honor TF_DEBUG and TF_VERBOSE from environment,
* use nicer but smaller ASCII-art
* and include test name in subtest name.
пре 9 година
Alois Mahdal
8a541b5b49
Fortify argument access
пре 9 година
Alois Mahdal
25c189ac50
Better name for strategy
"read strategy" is too ambiguous. What is really happening is that we
are "merging" the (posible) files into one stream.
пре 9 година
Alois Mahdal
fdc1a5da51
Bump version
пре 9 година
Alois Mahdal
201291457c
Always time tests
пре 9 година
Alois Mahdal
94d3b7119f
Split merge tests for better coverage
пре 9 година
Alois Mahdal
5f33e4e06c
Update API test
пре 9 година
Alois Mahdal
9b60fa8566
Revamp reading mechanism; use strategy
Now by default iniread will stop at first file; old behavior can be
restored by -j|--join switch.
пре 9 година
Alois Mahdal
37be2aae01
Add support for filtering based on subtest name
пре 9 година
Alois Mahdal
d5ff96f895
Remove extra space
пре 9 година
Alois Mahdal
1a9a837b25
Fix obsolete script name
пре 9 година
Alois Mahdal
d88c09cee4
Make nicer debug output
пре 9 година
Alois Mahdal
bd737dd5e6
Remove non-variable
пре 9 година
Alois Mahdal
16b72cf631
Update ignore list with FFOO_PATH (7eccd00)
пре 9 година
Alois Mahdal
e56664c1d2
Rewrite iniread docstring
пре 9 година
Alois Mahdal
7b16c83171
Use echos() in iniread()
пре 9 година
Alois Mahdal
cfb6b13e0f
Line up case machine
пре 9 година
Alois Mahdal
077e06c2ba
Use echos() where applicable
пре 9 година
Alois Mahdal
4e9ad05f4b
Add core.echos -- a safer version of echo
пре 9 година
Alois Mahdal
8a0c3c87f7
Show FFOO_PATH in debug mode
пре 9 година
Alois Mahdal
414de3a291
List FFOO_PATH in header
пре 9 година
Alois Mahdal
c86f7ded8b
Rename variable to mpath--it's path after all
пре 9 година
Alois Mahdal
3227241175
Fix typo in __die call
пре 9 година
Alois Mahdal
917622c24d
Ignore double import silently
Since it's normal e.g. for a dependency to import the same module as
upstream, the warning only created unnecessary noise.
пре 9 година
Alois Mahdal
412c73ad43
Bump version
пре 9 година
Alois Mahdal
2fae7c260d
Update after API changes
пре 9 година
Alois Mahdal
90a4ca476b
Add notes on packaging
пре 9 година
Alois Mahdal
616f0bb1fe
Update API naming test with new layout
пре 9 година