add toolchain targets; better names for logging

This commit is contained in:
2025-12-07 18:49:05 -06:00
parent 107c4a5dce
commit 1bcdab64ff
10 changed files with 292 additions and 78 deletions

14
tests/kill.ce Normal file
View File

@@ -0,0 +1,14 @@
$_.start(e => {
log.console(`got message from hanger: ${e.type}`)
if (e.type == 'greet')
$_.delay(_ => {
log.console(`sending stop message to hanger`)
$_.stop(e.actor)
}, 1)
if (e.type == 'disrupt') {
log.console(`underling successfully killed.`)
send($_.parent, { type: "test_result", passed: true })
$_.stop()
}
}, 'tests/hang_actor')