Megatest

Hex Artifact Content
Login

Artifact a84bbe77f9b586c897243e86714befbad1a27a5d:


0000: 5b 66 69 65 6c 64 73 5d 0a 73 79 73 6e 61 6d 65  [fields].sysname
0010: 20 54 45 58 54 0a 66 73 6e 61 6d 65 20 54 45 58   TEXT.fsname TEX
0020: 54 0a 64 61 74 61 70 61 74 68 20 54 45 58 54 0a  T.datapath TEXT.
0030: 0a 5b 73 65 74 75 70 5d 0a 65 78 65 63 75 74 61  .[setup].executa
0040: 62 6c 65 20 2f 68 6f 6d 65 2f 6d 61 74 74 2f 64  ble /home/matt/d
0050: 61 74 61 2f 6d 65 67 61 74 65 73 74 2f 6d 65 67  ata/megatest/meg
0060: 61 74 65 73 74 0a 6d 61 78 5f 63 6f 6e 63 75 72  atest.max_concur
0070: 72 65 6e 74 5f 6a 6f 62 73 20 33 0a 0a 5b 6a 6f  rent_jobs 3..[jo
0080: 62 74 6f 6f 6c 73 5d 0a 23 20 23 23 20 6c 61 75  btools].# ## lau
0090: 6e 63 68 65 72 20 6c 61 75 6e 63 68 65 73 20 6a  ncher launches j
00a0: 6f 62 73 2c 20 74 68 65 20 6a 6f 62 20 69 73 20  obs, the job is 
00b0: 6d 61 6e 61 67 65 64 20 6f 6e 20 74 68 65 20 74  managed on the t
00c0: 61 72 67 65 74 20 68 6f 73 74 0a 23 23 20 62 79  arget host.## by
00d0: 20 6d 65 67 61 74 65 73 74 2c 20 63 6f 6d 6d 65   megatest, comme
00e0: 6e 74 20 6f 75 74 20 6c 61 75 6e 63 68 65 72 20  nt out launcher 
00f0: 74 6f 20 72 75 6e 20 6c 6f 63 61 6c 0a 23 20 77  to run local.# w
0100: 6f 72 6b 68 6f 73 74 73 20 6c 6f 63 61 6c 68 6f  orkhosts localho
0110: 73 74 20 68 65 72 6d 65 73 0a 6c 61 75 6e 63 68  st hermes.launch
0120: 65 72 20 6e 62 66 61 6b 65 0a 0a 5b 76 61 6c 69  er nbfake..[vali
0130: 64 76 61 6c 75 65 73 5d 0a 73 74 61 74 65 20 73  dvalues].state s
0140: 74 61 72 74 20 65 6e 64 20 63 6f 6d 70 6c 65 74  tart end complet
0150: 65 64 0a 73 74 61 74 75 73 20 70 61 73 73 20 66  ed.status pass f
0160: 61 69 6c 20 6e 2f 61 0a 0a 23 20 54 68 65 73 65  ail n/a..# These
0170: 20 61 72 65 20 73 65 74 20 62 65 66 6f 72 65 20   are set before 
0180: 61 6c 6c 20 74 65 73 74 73 2c 20 6f 76 65 72 72  all tests, overr
0190: 69 64 65 20 74 68 65 6d 20 0a 23 20 69 6e 20 74  ide them .# in t
01a0: 68 65 20 74 65 73 74 63 6f 6e 66 69 67 20 5b 70  he testconfig [p
01b0: 72 65 2d 6c 61 75 6e 63 68 2d 65 6e 76 2d 6f 76  re-launch-env-ov
01c0: 65 72 72 69 64 65 73 5d 20 73 65 63 74 69 6f 6e  errides] section
01d0: 0a 5b 65 6e 76 2d 6f 76 65 72 72 69 64 65 5d 0a  .[env-override].
01e0: 53 50 45 43 49 41 4c 5f 45 4e 56 5f 56 41 52 53  SPECIAL_ENV_VARS
01f0: 20 6f 76 65 72 69 64 65 20 74 68 65 6d 20 68 65   overide them he
0200: 72 65 20 2d 20 61 6c 6c 20 74 65 73 74 73 20 73  re - all tests s
0210: 65 65 20 74 68 65 73 65 0a 0a 23 23 20 64 69 73  ee these..## dis
0220: 6b 73 20 61 72 65 3a 0a 23 23 20 6e 61 6d 65 20  ks are:.## name 
0230: 68 6f 73 74 3a 2f 70 61 74 68 2f 74 6f 2f 61 72  host:/path/to/ar
0240: 65 61 0a 23 23 20 2d 6f 72 2d 0a 23 23 20 6e 61  ea.## -or-.## na
0250: 6d 65 20 2f 70 61 74 68 2f 74 6f 2f 61 72 65 61  me /path/to/area
0260: 0a 5b 64 69 73 6b 73 5d 0a 31 20 2f 74 6d 70 0a  .[disks].1 /tmp.