Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-11-16 | subplotlib: Ensure that PATH changes are indeed prepended not appended. | Daniel Silverstone | 1 | -2/+8 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-11-10 | chore: change licence to MIT-0 | Lars Wirzenius | 1 | -1/+1 | |
We've decided to simplify the Subplot licensing situation by changing the licence to MIT-0 from the GPL. See https://gitlab.com/subplot/subplot/-/issues/229 for agreements from everyone involved. Sponsored-by: author | |||||
2021-10-13 | tests: Fix up use of absolute paths for false/true/echo etc. | Daniel Silverstone | 2 | -32/+32 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-10-13 | subplotlib: Do not override environment entirely | Daniel Silverstone | 1 | -3/+7 | |
As per the Python template, do not override the full environment Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-09-18 | subplotlib: Upgrade to state 0.5 | Daniel Silverstone | 2 | -3/+3 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-09-16 | fix: YAML end-marker | Lars Wirzenius | 2 | -2/+2 | |
Sponsored-by: pep.foundation | |||||
2021-09-07 | bindings: Parse polyglot bindings | Daniel Silverstone | 1 | -7/+19 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-06-12 | chore: update Cargo.tomls for release | Daniel Silverstone | 1 | -2/+11 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-28 | subplotlib: Add some basic docs to a bit of the files steplibrary | Daniel Silverstone | 1 | -0/+20 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-28 | subplotlib: ScenarioStep::register_contexts should be pub(crate) | Daniel Silverstone | 1 | -1/+1 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-28 | chore: Fix --- to ... in subplotlib.md | Daniel Silverstone | 1 | -1/+1 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-28 | subplotlib: Document more of the prelude | Daniel Silverstone | 1 | -4/+122 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-22 | subplotlib: Fix broken link in ContextElement::step_stops | Daniel Silverstone | 1 | -1/+1 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-22 | subplotlib: Do not document lazy_static in prelude | Daniel Silverstone | 1 | -1/+1 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-22 | subplotlib: Fix doctests in file module | Daniel Silverstone | 1 | -0/+4 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-19 | subplotlib: chore: Regenerate runcmd.rs test file | Daniel Silverstone | 1 | -0/+96 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-19 | subplotlib: Update runcmd.md test to use new bindings | Daniel Silverstone | 1 | -0/+20 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-05-19 | subplotlib: Add running in a subdir to runcmd | Daniel Silverstone | 1 | -1/+22 | |
This adds the bindings and step implementations for running commands in a directory off the datadir. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-02-27 | subplotlib/tests: Format files.rs | Daniel Silverstone | 1 | -308/+199 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-02-27 | subplotlib: path_exists - check path is a directory | Daniel Silverstone | 1 | -1/+6 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-02-18 | refactor: rewrite check in Python as check.py | Lars Wirzenius | 1 | -199/+308 | |
The old shell script became too hard to understand and maintain. This should be clearer and also more robust. | |||||
2021-02-07 | subplotlib: test the new directory steps | Daniel Silverstone | 2 | -0/+165 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-02-07 | subplotlib: Add directory steps to files library | Daniel Silverstone | 1 | -0/+61 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-02-07 | subplotlib: Add remove_dir_all dependency | Daniel Silverstone | 1 | -1/+2 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-02-07 | subplotlib: Add create_dir_all to datadir context | Daniel Silverstone | 1 | -0/+6 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-02-07 | subplotlib: Remove unused import from runcmd | Daniel Silverstone | 1 | -1/+0 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-01-31 | subplotlib: Add external environment override for runcmd | Daniel Silverstone | 1 | -1/+17 | |
In order to support runcmd environment overrides, we insert them during scenario startup to match how the Python test runtime does so. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-01-31 | subplotlib: Update runcmd for better PATH management | Daniel Silverstone | 1 | -11/+32 | |
In preparation for supporting external environment inputs, process PATH more effectively. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-01-23 | subplotlib: Verify cleanup function argument support | Daniel Silverstone | 4 | -10/+12 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-01-17 | fix: comparison with a slice of output | Lars Wirzenius | 1 | -1/+1 | |
2021-01-16 | Merge branch 'vfs' into 'main' | Lars Wirzenius | 6 | -173/+3 | |
Resources - virtual filesystem See merge request larswirzenius/subplot!122 | |||||
2021-01-16 | chore: Cleanups from !118 | Daniel Silverstone | 2 | -2/+1 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2021-01-10 | subplotlib: Move steplibrary into share tree | Daniel Silverstone | 6 | -173/+3 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-30 | subplotlib: Add runcmd step library | Daniel Silverstone | 6 | -1/+1061 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-30 | subplotlib: Use open_write() and fix bug in remember_metadata | Daniel Silverstone | 1 | -14/+12 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-30 | subplotlib: Add open_write() to Datadir impl | Daniel Silverstone | 1 | -0/+12 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-30 | subplotlib: Move canonicalise_filename into Datadir impl | Daniel Silverstone | 2 | -35/+35 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-29 | subplotlib: Add files step library, with tests | Daniel Silverstone | 6 | -1/+693 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-29 | subplotlib: Permit non-unit returns from context.with{,_mut} | Daniel Silverstone | 1 | -4/+4 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-28 | subplotlib: Trivial datadir support | Daniel Silverstone | 7 | -0/+153 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-28 | subplotlib: Rework contextelement to be able to register other elements | Daniel Silverstone | 5 | -31/+53 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-27 | subplotlib: Support entry/exit of scenario and steps | Daniel Silverstone | 1 | -15/+123 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-26 | subplotlib: Force explicit registration of contexts | Daniel Silverstone | 2 | -10/+78 | |
In order to move toward scenario contexts being told about step entry/exit etc, require explicit registration of context types, in a way which can only be done before the scenario starts. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-26 | subplotlib: Add ContextElement trait | Daniel Silverstone | 1 | -8/+40 | |
In order to begin to permit context elements to handle step changes etc, this introduces a trait which can be used to track scenarios. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-21 | rust: Handle poison differently for cleanups | Daniel Silverstone | 2 | -11/+11 | |
When cleanup functions are run, permit them to run with poisoned contexts. Cleanup functions will have to be resilient to this risk. If cleanup functions fail then the test will panic properly. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-21 | subplotlib: Enable catching of panics | Daniel Silverstone | 2 | -2/+22 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-21 | subplotlib: Support direct calling of other steps | Daniel Silverstone | 3 | -4/+14 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-21 | subplotlib: use state for context | Daniel Silverstone | 4 | -48/+79 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-21 | rust: Switch to a neater module based step function derive | Daniel Silverstone | 1 | -9/+9 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
2020-12-21 | rust: Use commentsafe filter in rust template | Daniel Silverstone | 1 | -3/+13 | |
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> |