mirror of
https://github.com/urbit/shrub.git
synced 2024-12-04 14:58:10 +03:00
ph: get more tests working
This commit is contained in:
parent
c9f437e3c6
commit
06e6545890
@ -391,7 +391,7 @@
|
||||
[%swap-files ~]
|
||||
=. userspace-ova.pil
|
||||
=/ slim-dirs=(list path)
|
||||
~[/app /gen /lib /mar /sur /hoon/sys /arvo/sys /zuse/sys /age]
|
||||
~[/app /age /imp /gen /lib /mar /sur /hoon/sys /arvo/sys /zuse/sys]
|
||||
:_ ~
|
||||
%- unix-event
|
||||
%- %*(. file-ovum:pill-lib directories slim-dirs)
|
||||
|
@ -6,7 +6,7 @@
|
||||
=, able:jael
|
||||
::
|
||||
=> |%
|
||||
++ refresh-rate ~m5
|
||||
++ refresh-rate ~m1 :: ~m5
|
||||
--
|
||||
::
|
||||
=> |%
|
||||
@ -298,8 +298,10 @@
|
||||
::
|
||||
=/ =cage [%spider-stop !>([u.running.dog |])]
|
||||
=. cards
|
||||
:_ cards
|
||||
[%pass [%starting path] %agent [our.bowl %spider] %poke cage]
|
||||
:* [%pass [%starting path] %agent [our.bowl %spider] %poke cage]
|
||||
(leave-spider path our.bowl)
|
||||
cards
|
||||
==
|
||||
loop(i.dogs i.dogs(running.dog ~))
|
||||
::
|
||||
=^ rand iid-gen (raws:iid-gen 128)
|
||||
|
@ -260,6 +260,7 @@
|
||||
::
|
||||
++ dawn
|
||||
|= [who=ship seed=(unit seed:able:jael)]
|
||||
=- ~& >> [%dawn-event -] -
|
||||
^- dawn-event:able:jael
|
||||
=/ spon=(list [ship point:azimuth])
|
||||
|- ^- (list [ship point:azimuth])
|
||||
|
@ -4,15 +4,16 @@
|
||||
^- imp:spider
|
||||
|= [=bowl:spider vase]
|
||||
=/ m (thread ,vase)
|
||||
;< ~ bind:m start-azimuth
|
||||
;< ~ bind:m (spawn ~bud)
|
||||
;< ~ bind:m (spawn ~dev)
|
||||
;< ~ bind:m (real-ship ~bud)
|
||||
;< ~ bind:m (real-ship ~dev)
|
||||
;< az=iid:spider bind:m
|
||||
start-azimuth
|
||||
;< ~ bind:m (spawn az ~bud)
|
||||
;< ~ bind:m (spawn az ~dev)
|
||||
;< ~ bind:m (real-ship az ~bud)
|
||||
;< ~ bind:m (real-ship az ~dev)
|
||||
;< ~ bind:m (send-hi ~bud ~dev)
|
||||
;< ~ bind:m (breach-and-hear ~dev ~bud)
|
||||
;< ~ bind:m (breach-and-hear az ~dev ~bud)
|
||||
;< ~ bind:m (send-hi-not-responding ~bud ~dev)
|
||||
;< ~ bind:m (real-ship ~dev)
|
||||
;< ~ bind:m (real-ship az ~dev)
|
||||
;< ~ bind:m (wait-for-output ~bud "hi ~dev successful")
|
||||
;< ~ bind:m end-azimuth
|
||||
(pure:m *vase)
|
||||
|
@ -4,11 +4,11 @@
|
||||
^- imp:spider
|
||||
|= [=bowl:spider vase]
|
||||
=/ m (thread ,vase)
|
||||
;< ~ bind:m start-azimuth
|
||||
;< ~ bind:m (spawn ~bud)
|
||||
;< ~ bind:m (spawn ~dev)
|
||||
;< ~ bind:m (real-ship ~bud)
|
||||
;< ~ bind:m (real-ship ~dev)
|
||||
;< ~ bind:m (send-hi ~bud ~dev)
|
||||
;< ~ bind:m end-azimuth
|
||||
;< az=iid:spider bind:m start-azimuth
|
||||
;< ~ bind:m (spawn az ~bud)
|
||||
;< ~ bind:m (spawn az ~dev)
|
||||
;< ~ bind:m (real-ship az ~bud)
|
||||
;< ~ bind:m (real-ship az ~dev)
|
||||
;< ~ bind:m (send-hi ~bud ~dev)
|
||||
;< ~ bind:m end-azimuth
|
||||
(pure:m *vase)
|
||||
|
@ -4,18 +4,19 @@
|
||||
^- imp:spider
|
||||
|= [=bowl:spider vase]
|
||||
=/ m (thread ,vase)
|
||||
;< ~ bind:m start-azimuth
|
||||
;< ~ bind:m (spawn ~bud)
|
||||
;< ~ bind:m (spawn ~marbud)
|
||||
;< ~ bind:m (spawn ~linnup-torsyx)
|
||||
;< ~ bind:m (spawn ~dev)
|
||||
;< ~ bind:m (real-ship ~bud)
|
||||
;< ~ bind:m (real-ship ~marbud)
|
||||
;< ~ bind:m (real-ship ~linnup-torsyx)
|
||||
;< ~ bind:m (real-ship ~linnup-torsyx-linnup-torsyx)
|
||||
;< az=iid:spider bind:m
|
||||
start-azimuth
|
||||
;< ~ bind:m (spawn az ~bud)
|
||||
;< ~ bind:m (spawn az ~marbud)
|
||||
;< ~ bind:m (spawn az ~linnup-torsyx)
|
||||
;< ~ bind:m (spawn az ~dev)
|
||||
;< ~ bind:m (real-ship az ~bud)
|
||||
;< ~ bind:m (real-ship az ~marbud)
|
||||
;< ~ bind:m (real-ship az ~linnup-torsyx)
|
||||
;< ~ bind:m (real-ship az ~linnup-torsyx-linnup-torsyx)
|
||||
;< ~ bind:m (send-hi ~bud ~linnup-torsyx-linnup-torsyx)
|
||||
;< ~ bind:m (send-hi ~linnup-torsyx-linnup-torsyx ~marbud)
|
||||
;< ~ bind:m (real-ship ~dev)
|
||||
;< ~ bind:m (real-ship az ~dev)
|
||||
;< ~ bind:m (send-hi ~linnup-torsyx-linnup-torsyx ~dev)
|
||||
;< ~ bind:m (send-hi ~dev ~linnup-torsyx-linnup-torsyx)
|
||||
;< ~ bind:m end-azimuth
|
||||
|
Loading…
Reference in New Issue
Block a user