Megatest

Hex Artifact Content
Login

Artifact da0c333201c25fa9bec2bc684f0bdf5da410d981:

Wiki page [run-end-spec] by mrwellan 2019-02-19 16:23:55.
0000: 44 20 32 30 31 39 2d 30 32 2d 31 39 54 32 33 3a  D 2019-02-19T23:
0010: 32 33 3a 35 35 2e 30 39 32 0a 4c 20 72 75 6e 2d  23:55.092.L run-
0020: 65 6e 64 2d 73 70 65 63 0a 55 20 6d 72 77 65 6c  end-spec.U mrwel
0030: 6c 61 6e 0a 57 20 35 39 36 0a 3c 68 32 3e 45 6e  lan.W 596.<h2>En
0040: 64 20 6f 66 20 52 75 6e 20 64 65 74 65 63 74 69  d of Run detecti
0050: 6f 6e 2c 20 72 6f 6c 6c 75 70 20 61 6e 64 20 68  on, rollup and h
0060: 6f 6f 6b 20 68 61 6e 64 6c 69 6e 67 3c 2f 68 32  ook handling</h2
0070: 3e 0d 0a 0d 0a 20 20 23 20 20 4e 4f 54 45 3a 20  >....  #  NOTE: 
0080: 61 6c 73 6f 20 6c 6f 6f 6b 20 61 74 20 72 65 74  also look at ret
0090: 72 79 0d 0a 0d 0a 53 70 65 63 3a 0d 0a 0d 0a 20  ry....Spec:.... 
00a0: 20 23 20 20 41 74 20 62 65 67 69 6e 6e 69 6e 67   #  At beginning
00b0: 20 6f 66 20 65 61 63 68 20 74 65 73 74 20 6d 61   of each test ma
00c0: 72 6b 20 72 75 6e 20 61 73 20 52 55 4e 4e 49 4e  rk run as RUNNIN
00d0: 47 2f 20 6e 61 20 2d 2d 3e 20 64 6f 6e 65 20 62  G/ na --> done b
00e0: 79 20 74 68 65 20 72 75 6e 6e 65 72 20 4e 4f 54  y the runner NOT
00f0: 20 74 68 65 20 74 65 73 74 0d 0a 20 20 23 20 20   the test..  #  
0100: 41 74 20 65 6e 64 20 6f 66 20 65 61 63 68 20 74  At end of each t
0110: 65 73 74 20 63 61 6c 6c 2c 20 61 66 74 65 72 20  est call, after 
0120: 6d 61 72 6b 69 6e 67 20 73 65 6c 66 20 61 73 20  marking self as 
0130: 43 4f 4d 50 4c 45 54 45 44 20 64 6f 20 72 75 6e  COMPLETED do run
0140: 2d 73 74 61 74 65 2d 73 74 61 74 75 73 2d 72 6f  -state-status-ro
0150: 6c 6c 75 70 0d 0a 20 20 23 20 20 41 74 20 74 72  llup..  #  At tr
0160: 61 6e 73 69 74 69 6f 6e 20 74 6f 20 72 75 6e 20  ansition to run 
0170: 43 4f 4d 50 4c 45 54 45 44 2f 58 20 64 6f 20 68  COMPLETED/X do h
0180: 6f 6f 6b 73 0d 0a 0d 0a 53 74 61 74 65 2f 73 74  ooks....State/st
0190: 61 74 75 73 20 74 61 62 6c 65 0d 0a 0d 0a 20 20  atus table....  
01a0: 23 20 20 6e 65 77 0d 0a 20 20 23 20 20 31 30 30  #  new..  #  100
01b0: 25 20 43 4f 4d 50 4c 45 54 45 44 2f 20 28 50 41  % COMPLETED/ (PA
01c0: 53 53 2c 46 41 49 4c 2c 41 42 4f 52 54 20 65 74  SS,FAIL,ABORT et
01d0: 63 2e 29 20 3d 3e 20 43 4f 4d 50 4c 45 54 45 44  c.) => COMPLETED
01e0: 20 2f 20 58 20 20 77 68 65 72 65 20 58 20 69 73   / X  where X is
01f0: 20 73 61 6d 65 20 61 73 20 69 74 65 6d 69 7a 65   same as itemize
0200: 64 20 72 6f 6c 6c 75 70 0d 0a 20 20 23 20 20 3e  d rollup..  #  >
0210: 20 33 20 52 55 4e 4e 49 4e 47 20 64 6f 20 6e 6f   3 RUNNING do no
0220: 74 68 69 6e 67 20 28 72 75 6e 20 73 68 6f 75 6c  thing (run shoul
0230: 64 20 61 6c 72 65 61 64 79 20 62 65 20 52 55 4e  d already be RUN
0240: 4e 49 4e 47 2f 20 6e 61 0d 0a 20 20 23 20 20 3e  NING/ na..  #  >
0250: 20 30 20 52 55 4e 4e 49 4e 47 20 76 65 72 69 66   0 RUNNING verif
0260: 79 20 74 68 61 74 20 72 75 6e 6e 65 72 73 20 61  y that runners a
0270: 72 65 20 61 6c 69 76 65 20 49 46 46 20 64 75 72  re alive IFF dur
0280: 61 74 69 6f 6e 20 3e 20 0d 0a 20 20 0d 0a 0a 5a  ation > ..  ...Z
0290: 20 34 34 62 64 39 38 34 39 38 61 33 65 34 30 64   44bd98498a3e40d
02a0: 37 32 32 35 63 66 38 32 62 35 33 37 64 32 39 39  7225cf82b537d299
02b0: 64 0a                                            d.