Megatest

Hex Artifact Content
Login

Artifact 92fdfa523c02e4b8b23fd907ebeaacb41517eb4c:


0000: 2f 2f 20 54 68 69 73 20 66 69 6c 65 20 69 73 20  // This file is 
0010: 70 61 72 74 20 6f 66 20 4d 65 67 61 74 65 73 74  part of Megatest
0020: 2e 0a 2f 2f 20 0a 2f 2f 20 20 20 20 20 4d 65 67  ..// .//     Meg
0030: 61 74 65 73 74 20 69 73 20 66 72 65 65 20 73 6f  atest is free so
0040: 66 74 77 61 72 65 3a 20 79 6f 75 20 63 61 6e 20  ftware: you can 
0050: 72 65 64 69 73 74 72 69 62 75 74 65 20 69 74 20  redistribute it 
0060: 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 0a 2f 2f  and/or modify.//
0070: 20 20 20 20 20 69 74 20 75 6e 64 65 72 20 74 68       it under th
0080: 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47  e terms of the G
0090: 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69  NU General Publi
00a0: 63 20 4c 69 63 65 6e 73 65 20 61 73 20 70 75 62  c License as pub
00b0: 6c 69 73 68 65 64 20 62 79 0a 2f 2f 20 20 20 20  lished by.//    
00c0: 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61   the Free Softwa
00d0: 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 65  re Foundation, e
00e0: 69 74 68 65 72 20 76 65 72 73 69 6f 6e 20 33 20  ither version 3 
00f0: 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20  of the License, 
0100: 6f 72 0a 2f 2f 20 20 20 20 20 28 61 74 20 79 6f  or.//     (at yo
0110: 75 72 20 6f 70 74 69 6f 6e 29 20 61 6e 79 20 6c  ur option) any l
0120: 61 74 65 72 20 76 65 72 73 69 6f 6e 2e 0a 2f 2f  ater version..//
0130: 20 0a 2f 2f 20 20 20 20 20 4d 65 67 61 74 65 73   .//     Megates
0140: 74 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64  t is distributed
0150: 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 61   in the hope tha
0160: 74 20 69 74 20 77 69 6c 6c 20 62 65 20 75 73 65  t it will be use
0170: 66 75 6c 2c 0a 2f 2f 20 20 20 20 20 62 75 74 20  ful,.//     but 
0180: 57 49 54 48 4f 55 54 20 41 4e 59 20 57 41 52 52  WITHOUT ANY WARR
0190: 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 65 76  ANTY; without ev
01a0: 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 20 77  en the implied w
01b0: 61 72 72 61 6e 74 79 20 6f 66 0a 2f 2f 20 20 20  arranty of.//   
01c0: 20 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54    MERCHANTABILIT
01d0: 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f 52  Y or FITNESS FOR
01e0: 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55   A PARTICULAR PU
01f0: 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 0a  RPOSE.  See the.
0200: 2f 2f 20 20 20 20 20 47 4e 55 20 47 65 6e 65 72  //     GNU Gener
0210: 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73  al Public Licens
0220: 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69  e for more detai
0230: 6c 73 2e 0a 2f 2f 20 0a 2f 2f 20 20 20 20 20 59  ls..// .//     Y
0240: 6f 75 20 73 68 6f 75 6c 64 20 68 61 76 65 20 72  ou should have r
0250: 65 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f  eceived a copy o
0260: 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61  f the GNU Genera
0270: 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65  l Public License
0280: 0a 2f 2f 20 20 20 20 20 61 6c 6f 6e 67 20 77 69  .//     along wi
0290: 74 68 20 4d 65 67 61 74 65 73 74 2e 20 20 49 66  th Megatest.  If
02a0: 20 6e 6f 74 2c 20 73 65 65 20 3c 68 74 74 70 3a   not, see <http:
02b0: 2f 2f 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 6c 69  //www.gnu.org/li
02c0: 63 65 6e 73 65 73 2f 3e 2e 0a 2f 2f 0a 0a 64 69  censes/>..//..di
02d0: 67 72 61 70 68 20 6d 65 67 61 74 65 73 74 5f 73  graph megatest_s
02e0: 74 61 74 65 5f 73 74 61 74 75 73 20 7b 0a 20 20  tate_status {.  
02f0: 72 61 6e 6b 73 65 70 3d 30 2e 30 35 0a 20 20 2f  ranksep=0.05.  /
0300: 2f 20 72 61 6e 6b 64 69 72 3d 4c 52 0a 0a 6e 6f  / rankdir=LR..no
0310: 64 65 20 5b 73 68 61 70 65 3d 62 6f 78 2c 73 74  de [shape=box,st
0320: 79 6c 65 3d 66 69 6c 6c 65 64 5d 3b 0a 0a 2f 2f  yle=filled];..//
0330: 20 73 75 62 67 72 61 70 68 20 63 6c 75 73 74 65   subgraph cluste
0340: 72 5f 6e 6f 74 73 74 61 72 74 65 64 20 7b 0a 2f  r_notstarted {./
0350: 2f 20 20 20 6c 61 62 65 6c 3d 22 4e 6f 74 20 73  /   label="Not s
0360: 74 61 72 74 65 64 22 3b 0a 0a 20 20 22 4e 4f 54  tarted";..  "NOT
0370: 5f 53 54 41 52 54 45 44 20 46 41 49 4c 53 22 20  _STARTED FAILS" 
0380: 5b 0a 20 20 6c 61 62 65 6c 20 3d 20 22 7b 20 4e  [.  label = "{ N
0390: 4f 54 5f 53 54 41 52 54 45 44 2f 46 41 49 4c 53  OT_STARTED/FAILS
03a0: 20 7c 7b 20 4e 4f 5f 49 54 45 4d 53 20 7c 3c 68   |{ NO_ITEMS |<h
03b0: 65 72 65 3e 20 46 41 49 4c 5f 50 52 45 52 45 51  ere> FAIL_PREREQ
03c0: 20 7c 3c 68 65 72 65 3e 20 46 41 49 4c 5f 54 49   |<here> FAIL_TI
03d0: 4d 45 4f 55 54 20 7d 7d 22 3b 0a 20 20 73 68 61  MEOUT }}";.  sha
03e0: 70 65 3d 20 22 72 65 63 6f 72 64 22 3b 0a 20 20  pe= "record";.  
03f0: 5d 0a 0a 22 4e 4f 54 5f 53 54 41 52 54 45 44 20  ].."NOT_STARTED 
0400: 6e 2f 61 22 20 2d 3e 20 22 4c 41 55 4e 43 48 45  n/a" -> "LAUNCHE
0410: 44 20 6e 2f 61 22 20 5b 6c 61 62 65 6c 3d 22 20  D n/a" [label=" 
0420: 6c 61 75 6e 63 68 22 5d 3b 0a 22 4e 4f 54 5f 53  launch"];."NOT_S
0430: 54 41 52 54 45 44 20 57 41 49 54 22 20 2d 3e 20  TARTED WAIT" -> 
0440: 22 4c 41 55 4e 43 48 45 44 20 6e 2f 61 22 0a 0a  "LAUNCHED n/a"..
0450: 20 20 22 4e 4f 54 5f 53 54 41 52 54 45 44 20 6e    "NOT_STARTED n
0460: 2f 61 22 3b 0a 20 20 22 4e 4f 54 5f 53 54 41 52  /a";.  "NOT_STAR
0470: 54 45 44 20 57 41 49 54 22 20 5b 0a 20 20 6c 61  TED WAIT" [.  la
0480: 62 65 6c 20 3d 20 22 7b 4e 4f 54 5f 53 54 41 52  bel = "{NOT_STAR
0490: 54 45 44 20 57 41 49 54 7c 7b 20 4e 4f 5f 53 4c  TED WAIT|{ NO_SL
04a0: 4f 54 53 20 7c 20 3c 68 65 72 65 3e 20 57 41 49  OTS | <here> WAI
04b0: 54 5f 50 52 45 52 45 51 7d 7d 22 3b 0a 20 20 73  T_PREREQ}}";.  s
04c0: 68 61 70 65 20 3d 20 22 72 65 63 6f 72 64 22 3b  hape = "record";
04d0: 0a 5d 0a 0a 2f 2f 20 73 74 72 75 63 74 33 20 5b  .]..// struct3 [
04e0: 73 68 61 70 65 3d 72 65 63 6f 72 64 2c 6c 61 62  shape=record,lab
04f0: 65 6c 3d 22 68 65 6c 6c 6f 5c 6e 77 6f 72 6c 64  el="hello\nworld
0500: 20 7c 7b 20 62 20 7c 7b 63 7c 3c 68 65 72 65 3e   |{ b |{c|<here>
0510: 20 64 7c 65 7d 7c 20 66 7d 7c 20 67 20 7c 20 68   d|e}| f}| g | h
0520: 22 5d 3b 0a 0a 20 20 22 4e 4f 54 5f 53 54 41 52  "];..  "NOT_STAR
0530: 54 45 44 20 6e 2f 61 22 20 2d 3e 20 22 4e 4f 54  TED n/a" -> "NOT
0540: 5f 53 54 41 52 54 45 44 20 46 41 49 4c 53 22 3b  _STARTED FAILS";
0550: 0a 20 20 22 4e 4f 54 5f 53 54 41 52 54 45 44 20  .  "NOT_STARTED 
0560: 6e 2f 61 22 20 2d 3e 20 22 4e 4f 54 5f 53 54 41  n/a" -> "NOT_STA
0570: 52 54 45 44 20 57 41 49 54 22 3b 0a 0a 20 20 22  RTED WAIT";..  "
0580: 52 55 4e 4e 49 4e 47 22 20 5b 0a 20 20 20 20 20  RUNNING" [.     
0590: 73 68 61 70 65 3d 22 72 65 63 6f 72 64 22 3b 0a  shape="record";.
05a0: 20 20 20 20 20 6c 61 62 65 6c 3d 22 7b 52 55 4e       label="{RUN
05b0: 4e 49 4e 47 7c 7b 6e 2f 61 7c 3c 68 65 72 65 3e  NING|{n/a|<here>
05c0: 20 50 41 53 53 20 7c 3c 68 65 72 65 3e 20 46 41   PASS |<here> FA
05d0: 49 4c 7d 7d 22 3b 0a 20 20 5d 0a 0a 20 20 22 43  IL}}";.  ]..  "C
05e0: 4f 4d 50 4c 45 54 45 44 22 20 5b 0a 20 20 20 20  OMPLETED" [.    
05f0: 20 20 73 68 61 70 65 3d 22 72 65 63 6f 72 64 22    shape="record"
0600: 3b 0a 20 20 20 20 20 20 6c 61 62 65 6c 20 3d 20  ;.      label = 
0610: 22 7b 43 4f 4d 50 4c 45 54 45 44 7c 7b 50 41 53  "{COMPLETED|{PAS
0620: 53 20 7c 20 53 4b 49 50 20 7c 20 57 41 49 56 45  S | SKIP | WAIVE
0630: 44 20 7c 20 46 41 49 4c 20 7c 20 43 48 45 43 4b  D | FAIL | CHECK
0640: 7c 20 41 42 4f 52 54 7d 7d 22 3b 0a 20 20 5d 0a  | ABORT}}";.  ].
0650: 0a 0a 22 52 55 4e 4e 49 4e 47 22 20 2d 3e 20 22  .."RUNNING" -> "
0660: 43 4f 4d 50 4c 45 54 45 44 22 3b 0a 22 52 55 4e  COMPLETED";."RUN
0670: 4e 49 4e 47 22 20 2d 3e 20 22 49 4e 43 4f 4d 50  NING" -> "INCOMP
0680: 4c 45 54 45 22 20 5b 6c 61 62 65 6c 3d 22 74 65  LETE" [label="te
0690: 73 74 20 64 65 61 64 20 66 6f 72 20 3e 20 32 34  st dead for > 24
06a0: 68 72 73 22 5d 3b 0a 0a 0a 22 4c 41 55 4e 43 48  hrs"];..."LAUNCH
06b0: 45 44 20 6e 2f 61 22 20 2d 3e 20 22 52 45 4d 4f  ED n/a" -> "REMO
06c0: 54 45 48 4f 53 54 53 54 41 52 54 20 6e 2f 61 22  TEHOSTSTART n/a"
06d0: 20 2d 3e 20 22 52 55 4e 4e 49 4e 47 22 3b 0a 0a   -> "RUNNING";..
06e0: 7d 0a 0a                                         }..