Megatest

Hex Artifact Content
Login

Artifact 7cee20486ec8b964529c5bd8f952e267f8966e24:


0000: 5b 73 65 74 75 70 5d 0a 23 20 65 78 65 63 74 75  [setup].# exectu
0010: 74 61 62 6c 65 20 2f 70 61 74 68 2f 74 6f 2f 6d  table /path/to/m
0020: 65 67 61 74 65 73 74 0a 6d 61 78 5f 63 6f 6e 63  egatest.max_conc
0030: 75 72 72 65 6e 74 5f 6a 6f 62 73 20 35 30 0a 6c  urrent_jobs 50.l
0040: 69 6e 6b 74 72 65 65 20 23 7b 67 65 74 65 6e 76  inktree #{getenv
0050: 20 4d 54 5f 52 55 4e 5f 41 52 45 41 5f 48 4f 4d   MT_RUN_AREA_HOM
0060: 45 7d 2f 74 6d 70 2f 6d 74 5f 6c 69 6e 6b 73 0a  E}/tmp/mt_links.
0070: 0a 5b 6a 6f 62 74 6f 6f 6c 73 5d 0a 75 73 65 73  .[jobtools].uses
0080: 68 65 6c 6c 20 79 65 73 0a 23 20 23 23 20 6c 61  hell yes.# ## la
0090: 75 6e 63 68 65 72 20 6c 61 75 6e 63 68 65 73 20  uncher launches 
00a0: 6a 6f 62 73 2c 20 74 68 65 20 6a 6f 62 20 69 73  jobs, the job is
00b0: 20 6d 61 6e 61 67 65 64 20 6f 6e 20 74 68 65 20   managed on the 
00c0: 74 61 72 67 65 74 20 68 6f 73 74 0a 23 23 20 62  target host.## b
00d0: 79 20 6d 65 67 61 74 65 73 74 2c 20 63 6f 6d 6d  y megatest, comm
00e0: 65 6e 74 20 6f 75 74 20 6c 61 75 6e 63 68 65 72  ent out launcher
00f0: 20 74 6f 20 72 75 6e 20 6c 6f 63 61 6c 0a 23 20   to run local.# 
0100: 77 6f 72 6b 68 6f 73 74 73 20 6c 6f 63 61 6c 68  workhosts localh
0110: 6f 73 74 20 68 65 72 6d 65 73 0a 6c 61 75 6e 63  ost hermes.launc
0120: 68 65 72 20 6e 62 66 61 6b 65 0a 23 20 6c 61 75  her nbfake.# lau
0130: 6e 63 68 65 72 20 6e 6f 64 61 6e 67 67 6f 6f 64  ncher nodanggood
0140: 0a 0a 23 23 20 75 73 65 20 22 78 74 65 72 6d 20  ..## use "xterm 
0150: 2d 65 20 63 73 69 20 2d 2d 20 22 20 61 73 20 61  -e csi -- " as a
0160: 20 6c 61 75 6e 63 68 65 72 20 74 6f 20 65 78 61   launcher to exa
0170: 6d 69 6e 65 20 74 68 65 20 6c 61 75 6e 63 68 20  mine the launch 
0180: 65 6e 76 69 72 6f 6e 6d 65 6e 74 2e 0a 23 23 20  environment..## 
0190: 65 78 69 74 20 77 69 74 68 20 28 65 78 69 74 29  exit with (exit)
01a0: 0a 23 23 20 67 65 74 20 61 20 73 68 65 6c 6c 20  .## get a shell 
01b0: 77 69 74 68 20 28 73 79 73 74 65 6d 20 22 62 61  with (system "ba
01c0: 73 68 22 29 0a 23 20 6c 61 75 6e 63 68 65 72 20  sh").# launcher 
01d0: 78 74 65 72 6d 20 2d 65 20 63 73 69 20 2d 2d 0a  xterm -e csi --.