aboutsummaryrefslogtreecommitdiff
path: root/tests/test_multiprocessing.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect usage of maxlen argument in snprintf callsJoseph Hunkeler2026-04-171-1/+1
|
* Replace sprintf with snprintfJoseph Hunkeler2026-04-151-1/+1
| | | | * A few strcpy and strcat changes as well
* First use of STASIS_TEST_MSGJoseph Hunkeler2026-01-031-2/+2
|
* Enable testsJoseph Hunkeler2026-01-031-7/+7
|
* Trying to fix a buffer overflow reported by the CIJoseph Hunkeler2026-01-031-2/+3
| | | | * Locally ASAN wasn't complaining.
* Add testsJoseph Hunkeler2026-01-021-7/+47
| | | | | * test_mp_timeout() * test_mp_seconds_to_human_readable()
* Implement task timeoutJoseph Hunkeler2025-12-301-0/+1
| | | | | | * Add argument: --task-timeout=1[s,m,h] * Timed out tasks are SIGKILL'd * If killing a task fails, the entire program ends
* Update test_mp_fail_fastupdate-testsJoseph Hunkeler2024-10-221-2/+1
| | | | * macOS Actions runners have 3 vCPUs. No wonder this wasn't working. Reduce the success count to 1.
* Update test_mp_fail_fastJoseph Hunkeler2024-10-221-5/+11
| | | | * Brute force the conditions required to make this work. Issue 128 jobs.
* Update test_mp_fail_fastJoseph Hunkeler2024-10-221-7/+13
| | | | | * Record status(s) and just verify they're non-zero. Checking for exact values is difficult when you don't know the hardware ahead of time. * Apply HOLD state
* The CI internal clocks are off? I don't see why these failed.Joseph Hunkeler2024-10-211-7/+6
| | | | * Increasing sleep times might help.
* Add tests:Joseph Hunkeler2024-10-211-0/+82
| | | | | * test_mp_fail_fast * test_mp_stop_continue
* Fix includesJoseph Hunkeler2024-10-141-0/+1
|
* Refactor directory structureJoseph Hunkeler2024-10-141-4/+7
| | | | | * Move core library sources into src/lib/core * Move command-line programs into src/cli
* Fix testJoseph Hunkeler2024-09-261-2/+2
| | | | * Queuing a task does not fork anymore, so the default state is now UNUSED
* Remove more references to the semaphore "gate"Joseph Hunkeler2024-09-261-3/+0
|
* Implement cmd and working_dirJoseph Hunkeler2024-09-261-2/+2
|
* Finish mp_pool_init() testadd-multiprocessingJoseph Hunkeler2024-09-201-8/+31
| | | | * Not sure what I was going to do with that data array, but whatever it was, it was wrong.
* Fix test code and expected values within test codeJoseph Hunkeler2024-09-181-1/+1
| | | | * Errant undo operation!
* More testsJoseph Hunkeler2024-09-181-0/+30
|
* Rename mp_task to mp_pool_taskJoseph Hunkeler2024-09-181-1/+1
|
* Fix test status expectationJoseph Hunkeler2024-09-181-2/+2
| | | | * Fix child not returning result of execvp(). task->status is for program status, not fork() status.
* Add test_multiprocessing.cJoseph Hunkeler2024-09-181-0/+73