Alois Mahdal
cfb6b13e0f
Line up case machine
il y a 10 ans
Alois Mahdal
077e06c2ba
Use echos() where applicable
il y a 10 ans
Alois Mahdal
4e9ad05f4b
Add core.echos -- a safer version of echo
il y a 10 ans
Alois Mahdal
8a0c3c87f7
Show FFOO_PATH in debug mode
il y a 10 ans
Alois Mahdal
414de3a291
List FFOO_PATH in header
il y a 10 ans
Alois Mahdal
c86f7ded8b
Rename variable to mpath--it's path after all
il y a 10 ans
Alois Mahdal
3227241175
Fix typo in __die call
il y a 10 ans
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.
il y a 10 ans
Alois Mahdal
412c73ad43
Bump version
il y a 10 ans
Alois Mahdal
2fae7c260d
Update after API changes
il y a 10 ans
Alois Mahdal
90a4ca476b
Add notes on packaging
il y a 10 ans
Alois Mahdal
616f0bb1fe
Update API naming test with new layout
il y a 10 ans
Alois Mahdal
560dea5a31
Add stats.sh for simple stats functions
il y a 10 ans
Alois Mahdal
b975af0399
Move core.__exits to exit.sh
il y a 10 ans
Alois Mahdal
68d416685a
Add exit.sh for exit behavior helpers
il y a 10 ans
Alois Mahdal
5912d757fb
Move sw.sh and yummy.sh to rhcc
il y a 10 ans
Alois Mahdal
53abc5665c
Move www.sh and xorg.sh out to eecc
il y a 10 ans
Alois Mahdal
b7958c3ab2
Move flow.wait_until to recon.sh (removes flow.sh)
il y a 10 ans
Alois Mahdal
82f6ff7836
Move flow.filter to misc.sh (removes fun.sh)
il y a 10 ans
Alois Mahdal
46203df836
Move misc functions from core.sh to misc.sh
il y a 10 ans
Alois Mahdal
6e67e817a2
Add test to check API naming
il y a 10 ans
Alois Mahdal
ef95b9e4aa
Update TODO
il y a 10 ans
Alois Mahdal
eb27e058c8
Fix typo
il y a 10 ans
Alois Mahdal
3f2112eb10
Add chapter on the testing framework
il y a 10 ans
Alois Mahdal
ef29e8e6bb
Remove broken test
il y a 10 ans
Alois Mahdal
c00eb8ff87
Revamp testing framework even better
As a followup to last revamp:
* Use more extensible test definition format,
* separate testing framework from setup script and split to includes,
* update test scripts as well as data,
* consolidate test output,
* and make some small improvements/fixes on the way.
il y a 10 ans
Alois Mahdal
c7e80f1be1
Add tests for try_import
il y a 10 ans
Alois Mahdal
5b8637e50c
Do not track test artifacts
il y a 10 ans
Alois Mahdal
668298cf77
Revamp testing framework
* Enable running all tests via make,
* simplify tests (lay off data/tmpdir manipulation to framework),
* set rules for naming, exit statuses, etc,
* remove beakerlib dependency.
il y a 10 ans
Alois Mahdal
17050bf7bf
Bump version
il y a 10 ans
Alois Mahdal
79c1634922
Do not re-import module
il y a 10 ans
Alois Mahdal
fdff7a5b0e
Fix is_imported
il y a 10 ans
Alois Mahdal
1d6c469905
Handle the pretty-printer import correctly
Use the meta-library and handle that oputside __echo (i.e. do not try to
import it kajillion times).
il y a 10 ans
Alois Mahdal
5732eeec55
Add mkpretty.sh meta-library
Purpose of this library is to import the actual pretty-printing library
based on FFOO_MKPRETTY value or fall back to mkpretty_plain.
il y a 10 ans
Alois Mahdal
e8b1bad067
Add support for init function
A library can now have init function to allow for more dynamic behavior.
The function's name must be __ffoo_NAME__init, where NAME is the library
name.
Note that the init exit status is used as exit status of the `ffoo
import NAME` call (or `ffoo try_import NAME`) and overrides exit
status of the sourcing (which must always be zero anyway).
il y a 10 ans
Alois Mahdal
b3372e82f8
Rename function not to be confused with try_import
try_import does not aim to import anything, whereas this function's aim
is to import stuff.
il y a 10 ans
Alois Mahdal
ad1330a328
Bump version
il y a 10 ans
Alois Mahdal
7cbb2a241a
Fix building of markdown files
Code include expansion overwrote result of variable name expansion.
(This had no effect so far since there are no variables in markdown
files.)
il y a 10 ans
Alois Mahdal
35402e6103
Move expansions to separate functions
Move expansions to functions and comment them properly there.
il y a 10 ans
Alois Mahdal
7cc5d0b000
Add "at" sign to valid URI characters
il y a 10 ans
Alois Mahdal
0b2b073cf8
Update import test (new internal variable)
il y a 10 ans
Alois Mahdal
b35ef7cc21
Remove obsolete variable
il y a 10 ans
Alois Mahdal
d2e43de535
Revamp importing error checking
Die by default but allow "just try"
il y a 10 ans
Alois Mahdal
25c26b3a0a
Add warning ability to ffoo
il y a 10 ans
Alois Mahdal
47fe26efeb
Add routine to check if module has is imported
il y a 10 ans
Alois Mahdal
5b0dfb230d
Track list of imported modules
il y a 10 ans
Alois Mahdal
6d22369d71
Use proper variable for module name
il y a 10 ans
Alois Mahdal
acfae929eb
Make ffoo import test readable ... a bit
* Split into functions as appropriate;
* add docstrings;
* reduce redundancy;
* run everything in C locale (=> update oracles),
* add subtest boundaries to output.
il y a 10 ans
Alois Mahdal
f95d3ef5df
Turn off test for functionality not yet implemented
il y a 10 ans
Alois Mahdal
0a8fc5c1d3
Do not pollute script namespace
il y a 10 ans