aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py/conftest.py (unfollow)
Commit message (Collapse)Author
2023-07-18test: store multiple flame graphs alongsideEgor Tensin
Previously, it would get stored in build/flame_graph/flame_graphs.svg. Now, the test repository codename is added to the file name. Also, some refactoring and simplifying test filtering.
2023-07-18flame_graph.sh -> flamegraph.shEgor Tensin
Inspired by flamegraph.pl.
2023-07-18test: minor refactoringEgor Tensin
2023-07-18implement flame graph generationEgor Tensin
2023-07-18process: preserve the exit code moreEgor Tensin
If the process is killed by a signal, preserve the exit code as it would be reported by $?.
2023-07-12test: use namedtuple where appropriateEgor Tensin
2023-07-11test: add test for segfaulting CI scriptEgor Tensin
The C code leaked out of src/, so I moved .clang-format and some compile options to the root directory. Also, I'm starting to hit test execution limits; I'm going to limit the repositories used for stress testing.
2023-07-10test: test CI run output containing \0Egor Tensin
2023-07-10test: test long CI run outputEgor Tensin
It immediately exposed a horrible bug in net.c, which is now fixed.
2023-07-09test: prettier test namesEgor Tensin
2023-07-09test: test empty CI run output, refactoringEgor Tensin
Meh, moving the shell code generation to Python I like better in the end.
2023-07-08test: refactoringEgor Tensin
2023-07-08test: verify that added runs are in the databaseEgor Tensin
And that they're marked as finished. It immediately exposed some concurrency bugs, so some locking has been fixed.
2023-07-07test: add some basic command-line usage testsEgor Tensin
2023-07-06test: try mitigating port clashesEgor Tensin
Also, I don't think calling random.seed is necessary.
2023-06-29test: shuffle files a bitEgor Tensin
This should hopefully reduce clutter in the test/ directory. Side note: if I leave the __init__.py file in the new py/ directory, pytest fails with import errors. To make it work, I need to either delete it or keep the __init__.py file in both test/ and py/. No idea why.
2023-06-28test: skip ci.sh w/ ValgrindEgor Tensin
2023-06-28test/lib: remove non-sensical *Runner classesEgor Tensin
2023-06-28test: add test for actual CI runsEgor Tensin
2023-06-28test/lib: refactoringEgor Tensin
2023-05-07test: refactoringEgor Tensin
2023-05-07add tests to run binaries under ValgrindEgor Tensin
This was quite a bit of refactoring in test/; everything should be more maintainable and robust in theory. Also, valgrind.sh was fixed to use exec (so that signals are passed to the underlying process); Valgrind command line options have also been tweaked. ./ci.sh fails now, but that should be fixable.
2023-05-06test: mark global fixtures as suchEgor Tensin
2023-05-06add a couple of the most basic tests using PytestEgor Tensin
I'm super-unsure about this; I don't really like all the magic, but we'll see, I guess?