Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Make it easier to edit the CSS file, and also add some styles for
upcoming scenario typesetting.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Add a `doc` field to a binding. It's a string meant to contain
markdown.
Add subcommand `subplot libdocgen YAML -o MD` to read a bindings file
and output a markdown file documenting the steps in the bindings file,
and the type of captures, and the documentation for the step.
Signed-off-by: Lars Wirzenius <liw@liw.fi>
Sponsored-by: author
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Every time runcmd.py runs a command, it uses the same environment. We
only need to log it once.
Sponsored-by: author
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Change the binding to tell Subplot that an embedded file is referred
to. This silences a warning for correct scenarios, and that will soon
matter when warnings are errors by default.
Sponsored-by: author
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Sponsored-by: author
|
|
Keep related/similar steps together. Add comments to act as section
headings.
Sponsored-by: author
|
|
|
|
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Sponsored-by: author
|
|
Many of our bindings files were originally written before Subplot
supported simple patterns, and so they use regex patterns even when a
simple pattern would do. Simplify bindings to use simple patterns when
possible, to make life easier for future maintainers.
Sponsored-by: author
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
We inherit all the environment except we override a few variables
in order to provide some level of consistency.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
This allows the user to run all scenarios even if one fails.
Sponsored-by: author
|
|
Sponsored-by: pep.foundation
|
|
Sponsored-by: author
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Newer version of shellcheck complains about expanding an unused
variable, but since the code is actually only a snippet that will be
embedded in the generated output, this is OK.
Sponsored-by: author
|
|
bash template: Provice captures to cleanups
See merge request subplot/subplot!198
|
|
|
|
|
|
This doesn't materially change behaviour because words split the same
but it's unintentional and against the described behaviour.
|
|
|
|
This should hopefully avoid the previous version's pitfalls
by processing the environment line entirely in sed.
|
|
The template unpacks the embedded files into the datadir
before the scendir is created and chdir'd into.
Since dict_* assume that the files you want to read
are in the current directory this makes them unreadable.
Making them operate relative to datadir seemed
like the least complicated solution, compared to copying them in
or some kind of search path.
|
|
|
|
|
|
Sponsored-by: author
|
|
Sponsored-by: author
|
|
|
|
This commit fixes two intertwined problems:
1) with traditional netcat, `netcat -l 8888` treats "8888" as a host,
and never starts listening on port 8888.
This is fixed by replacing netcat with a Python script (as suggested
by Lars Wirzenius);
2) Subplot's test suite never notices the above problem because, even
though it fails to connect to the port, this error is intentionally
swallowed by `_daemon_start_soonish()`.
This is fixed by adding an explicit check to ensure that the daemon
started after all. Furthermore, the scenario description is reworded
to make it clear that we *do* expect the daemon to start, it'll just
take a while.
|
|
This has no functional effect, but makes linters happy. It is also
arguably the right thing to do.
Sponsored-by: author
|
|
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
|
|
Sponsored-by: author
|
|
|