Commit message (Collapse) | Author | ||
---|---|---|---|
2023-07-18 | switch to JSON-RPC as message format | Egor Tensin | |
Instead of the weird `struct msg` I had, I switched to the JSON-RPC format. It's basically the same, but has a well-defined semantics in case of errors. | |||
2023-07-12 | test: move some code to lib/ | Egor Tensin | |
2023-07-12 | test: use namedtuple where appropriate | Egor Tensin | |
2023-07-11 | test: add test for segfaulting CI script | Egor 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-11 | sqlite: make some identifiers more readable | Egor Tensin | |
2023-07-10 | test: more compact CI scripts | Egor Tensin | |
2023-07-10 | test: fix Python freezes | Egor Tensin | |
I would get random freezes when running tests; I completely forgot that logging & multiprocessing don't play well together. | |||
2023-07-10 | test: code style | Egor Tensin | |
2023-07-10 | test: test CI run output containing \0 | Egor Tensin | |
2023-07-10 | test: test long CI run output | Egor Tensin | |
It immediately exposed a horrible bug in net.c, which is now fixed. | |||
2023-07-09 | test: prettier test names | Egor Tensin | |
2023-07-09 | test: test empty CI run output, refactoring | Egor Tensin | |
Meh, moving the shell code generation to Python I like better in the end. | |||
2023-07-09 | store process output in SQLite | Egor Tensin | |
2023-07-09 | test: attempt to fix random port selection again | Egor Tensin | |
2023-07-09 | test: print test timings | Egor Tensin | |
2023-07-09 | test: increase timeouts | Egor Tensin | |
All the new added tests require more time. | |||
2023-07-09 | test: don't wait for hanging processes | Egor Tensin | |
2023-07-09 | test: fix sqlite3.connect usage | Egor Tensin | |
2023-07-08 | test: dedupe code by using @parametrize | Egor Tensin | |
2023-07-08 | test: refactoring | Egor Tensin | |
2023-07-08 | test: verify that added runs are in the database | Egor Tensin | |
And that they're marked as finished. It immediately exposed some concurrency bugs, so some locking has been fixed. | |||
2023-07-07 | test: add some basic command-line usage tests | Egor Tensin | |
2023-07-06 | test: try mitigating port clashes | Egor Tensin | |
Also, I don't think calling random.seed is necessary. | |||
2023-07-06 | test: add one more stress test | Egor Tensin | |
2023-07-05 | test: add a 2000-iteration basic repository test | Egor Tensin | |
2023-07-05 | tcp_server: keep track of client threads | Egor Tensin | |
This is a major change, obviously; brought to me by Valgrind, which noticed that we don't actually clean up after cimple-client threads. For a more thorough explanation, please see the added comment in tcp_server.c. | |||
2023-07-04 | storage: mark completed runs as such | Egor Tensin | |
2023-06-30 | show git hash with --version | Egor Tensin | |
Also, use cmake's configure_file to build string constants in. | |||
2023-06-30 | test: split tests into different files | Egor Tensin | |
2023-06-29 | test: shuffle files a bit | Egor 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-28 | add .pytest_cache to .gitignore | Egor Tensin | |
It's added by Pytest automatically, but I like doing it explicitly better. | |||
2023-06-28 | test: better logging | Egor Tensin | |
2023-06-28 | test: skip ci.sh w/ Valgrind | Egor Tensin | |
2023-06-28 | test/lib: remove non-sensical *Runner classes | Egor Tensin | |
2023-06-28 | test/lib: refactoring | Egor Tensin | |
2023-06-28 | test: add test timeouts, prettier output | Egor Tensin | |
2023-06-28 | test: add test for actual CI runs | Egor Tensin | |
2023-06-28 | test/lib: refactoring | Egor Tensin | |
2023-05-15 | test/lib: refactoring | Egor Tensin | |
2023-05-07 | test/lib: log process readiness only once | Egor Tensin | |
2023-05-07 | test: refactoring | Egor Tensin | |
2023-05-07 | test: rename CMake tests | Egor Tensin | |
2023-05-07 | add tests to run binaries under Valgrind | Egor 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-06 | test: mark global fixtures as such | Egor Tensin | |
2023-05-06 | add a couple of the most basic tests using Pytest | Egor Tensin | |
I'm super-unsure about this; I don't really like all the magic, but we'll see, I guess? |