aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test (follow)
Commit message (Collapse)AuthorAge
* implement flame graph generationEgor Tensin2023-07-18
|
* process: preserve the exit code moreEgor Tensin2023-07-18
| | | | | If the process is killed by a signal, preserve the exit code as it would be reported by $?.
* switch to JSON-RPC as message formatEgor Tensin2023-07-18
| | | | | | 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.
* test: move some code to lib/Egor Tensin2023-07-12
|
* test: use namedtuple where appropriateEgor Tensin2023-07-12
|
* test: add test for segfaulting CI scriptEgor Tensin2023-07-11
| | | | | | | | 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.
* sqlite: make some identifiers more readableEgor Tensin2023-07-11
|
* test: more compact CI scriptsEgor Tensin2023-07-10
|
* test: fix Python freezesEgor Tensin2023-07-10
| | | | | I would get random freezes when running tests; I completely forgot that logging & multiprocessing don't play well together.
* test: code styleEgor Tensin2023-07-10
|
* test: test CI run output containing \0Egor Tensin2023-07-10
|
* test: test long CI run outputEgor Tensin2023-07-10
| | | | It immediately exposed a horrible bug in net.c, which is now fixed.
* test: prettier test namesEgor Tensin2023-07-09
|
* test: test empty CI run output, refactoringEgor Tensin2023-07-09
| | | | | Meh, moving the shell code generation to Python I like better in the end.
* store process output in SQLiteEgor Tensin2023-07-09
|
* test: attempt to fix random port selection againEgor Tensin2023-07-09
|
* test: print test timingsEgor Tensin2023-07-09
|
* test: increase timeoutsEgor Tensin2023-07-09
| | | | All the new added tests require more time.
* test: don't wait for hanging processesEgor Tensin2023-07-09
|
* test: fix sqlite3.connect usageEgor Tensin2023-07-09
|
* test: dedupe code by using @parametrizeEgor Tensin2023-07-08
|
* test: refactoringEgor Tensin2023-07-08
|
* test: verify that added runs are in the databaseEgor Tensin2023-07-08
| | | | | And that they're marked as finished. It immediately exposed some concurrency bugs, so some locking has been fixed.
* test: add some basic command-line usage testsEgor Tensin2023-07-07
|
* test: try mitigating port clashesEgor Tensin2023-07-06
| | | | Also, I don't think calling random.seed is necessary.
* test: add one more stress testEgor Tensin2023-07-06
|
* test: add a 2000-iteration basic repository testEgor Tensin2023-07-05
|
* tcp_server: keep track of client threadsEgor Tensin2023-07-05
| | | | | | | 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.
* storage: mark completed runs as suchEgor Tensin2023-07-04
|
* show git hash with --versionEgor Tensin2023-06-30
| | | | Also, use cmake's configure_file to build string constants in.
* test: split tests into different filesEgor Tensin2023-06-30
|
* test: shuffle files a bitEgor Tensin2023-06-29
| | | | | | | | | 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.
* add .pytest_cache to .gitignoreEgor Tensin2023-06-28
| | | | | It's added by Pytest automatically, but I like doing it explicitly better.
* test: better loggingEgor Tensin2023-06-28
|
* test: skip ci.sh w/ ValgrindEgor Tensin2023-06-28
|
* test/lib: remove non-sensical *Runner classesEgor Tensin2023-06-28
|
* test/lib: refactoringEgor Tensin2023-06-28
|
* test: add test timeouts, prettier outputEgor Tensin2023-06-28
|
* test: add test for actual CI runsEgor Tensin2023-06-28
|
* test/lib: refactoringEgor Tensin2023-06-28
|
* test/lib: refactoringEgor Tensin2023-05-15
|
* test/lib: log process readiness only onceEgor Tensin2023-05-07
|
* test: refactoringEgor Tensin2023-05-07
|
* test: rename CMake testsEgor Tensin2023-05-07
|
* add tests to run binaries under ValgrindEgor Tensin2023-05-07
| | | | | | | | | | | 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.
* test: mark global fixtures as suchEgor Tensin2023-05-06
|
* add a couple of the most basic tests using PytestEgor Tensin2023-05-06
I'm super-unsure about this; I don't really like all the magic, but we'll see, I guess?