Artifact
d3876c421effbe9e2e7bbd79a9d2ffd64c202d7c:
0000: 23 20 20 43 6f 70 79 72 69 67 68 74 20 32 30 30 # Copyright 200
0010: 36 2d 32 30 31 37 2c 20 4d 61 74 74 68 65 77 20 6-2017, Matthew
0020: 57 65 6c 6c 61 6e 64 2e 0a 23 20 0a 23 20 54 68 Welland..# .# Th
0030: 69 73 20 66 69 6c 65 20 69 73 20 70 61 72 74 20 is file is part
0040: 6f 66 20 4d 65 67 61 74 65 73 74 2e 0a 23 20 0a of Megatest..# .
0050: 23 20 20 20 20 20 4d 65 67 61 74 65 73 74 20 69 # Megatest i
0060: 73 20 66 72 65 65 20 73 6f 66 74 77 61 72 65 3a s free software:
0070: 20 79 6f 75 20 63 61 6e 20 72 65 64 69 73 74 72 you can redistr
0080: 69 62 75 74 65 20 69 74 20 61 6e 64 2f 6f 72 20 ibute it and/or
0090: 6d 6f 64 69 66 79 0a 23 20 20 20 20 20 69 74 20 modify.# it
00a0: 75 6e 64 65 72 20 74 68 65 20 74 65 72 6d 73 20 under the terms
00b0: 6f 66 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 of the GNU Gener
00c0: 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 al Public Licens
00d0: 65 20 61 73 20 70 75 62 6c 69 73 68 65 64 20 62 e as published b
00e0: 79 0a 23 20 20 20 20 20 74 68 65 20 46 72 65 65 y.# the Free
00f0: 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64 61 Software Founda
0100: 74 69 6f 6e 2c 20 65 69 74 68 65 72 20 76 65 72 tion, either ver
0110: 73 69 6f 6e 20 33 20 6f 66 20 74 68 65 20 4c 69 sion 3 of the Li
0120: 63 65 6e 73 65 2c 20 6f 72 0a 23 20 20 20 20 20 cense, or.#
0130: 28 61 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29 (at your option)
0140: 20 61 6e 79 20 6c 61 74 65 72 20 76 65 72 73 69 any later versi
0150: 6f 6e 2e 0a 23 20 0a 23 20 20 20 20 20 4d 65 67 on..# .# Meg
0160: 61 74 65 73 74 20 69 73 20 64 69 73 74 72 69 62 atest is distrib
0170: 75 74 65 64 20 69 6e 20 74 68 65 20 68 6f 70 65 uted in the hope
0180: 20 74 68 61 74 20 69 74 20 77 69 6c 6c 20 62 65 that it will be
0190: 20 75 73 65 66 75 6c 2c 0a 23 20 20 20 20 20 62 useful,.# b
01a0: 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57 ut WITHOUT ANY W
01b0: 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 ARRANTY; without
01c0: 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 even the implie
01d0: 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0a 23 20 d warranty of.#
01e0: 20 20 20 20 4d 45 52 43 48 41 4e 54 41 42 49 4c MERCHANTABIL
01f0: 49 54 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 ITY or FITNESS F
0200: 4f 52 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 OR A PARTICULAR
0210: 50 55 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 PURPOSE. See th
0220: 65 0a 23 20 20 20 20 20 47 4e 55 20 47 65 6e 65 e.# GNU Gene
0230: 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e ral Public Licen
0240: 73 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 se for more deta
0250: 69 6c 73 2e 0a 23 20 0a 23 20 20 20 20 20 59 6f ils..# .# Yo
0260: 75 20 73 68 6f 75 6c 64 20 68 61 76 65 20 72 65 u should have re
0270: 63 65 69 76 65 64 20 61 20 63 6f 70 79 20 6f 66 ceived a copy of
0280: 20 74 68 65 20 47 4e 55 20 47 65 6e 65 72 61 6c the GNU General
0290: 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 0a Public License.
02a0: 23 20 20 20 20 20 61 6c 6f 6e 67 20 77 69 74 68 # along with
02b0: 20 4d 65 67 61 74 65 73 74 2e 20 20 49 66 20 6e Megatest. If n
02c0: 6f 74 2c 20 73 65 65 20 3c 68 74 74 70 3a 2f 2f ot, see <http://
02d0: 77 77 77 2e 67 6e 75 2e 6f 72 67 2f 6c 69 63 65 www.gnu.org/lice
02e0: 6e 73 65 73 2f 3e 2e 0a 0a 5b 66 69 65 6c 64 73 nses/>...[fields
02f0: 5d 0a 53 59 53 54 45 4d 20 54 45 58 54 0a 52 45 ].SYSTEM TEXT.RE
0300: 4c 45 41 53 45 20 54 45 58 54 0a 0a 5b 73 65 74 LEASE TEXT..[set
0310: 75 70 5d 0a 23 20 41 64 6a 75 73 74 20 6d 61 78 up].# Adjust max
0320: 5f 63 6f 6e 63 75 72 72 65 6e 74 5f 6a 6f 62 73 _concurrent_jobs
0330: 20 74 6f 20 6c 69 6d 69 74 20 68 6f 77 20 6d 75 to limit how mu
0340: 63 68 20 79 6f 75 20 6c 6f 61 64 20 79 6f 75 72 ch you load your
0350: 20 6d 61 63 68 69 6e 65 73 0a 23 20 6d 61 78 5f machines.# max_
0360: 63 6f 6e 63 75 72 72 65 6e 74 5f 6a 6f 62 73 20 concurrent_jobs
0370: 31 35 30 0a 6d 61 78 5f 63 6f 6e 63 75 72 72 65 150.max_concurre
0380: 6e 74 5f 6a 6f 62 73 20 33 30 30 30 0a 0a 23 20 nt_jobs 3000..#
0390: 54 68 69 73 20 69 73 20 79 6f 75 72 20 6c 69 6e This is your lin
03a0: 6b 20 70 61 74 68 2c 20 79 6f 75 20 63 61 6e 20 k path, you can
03b0: 6d 6f 76 65 20 69 74 20 62 75 74 20 69 74 20 69 move it but it i
03c0: 73 20 67 65 6e 65 72 61 6c 6c 79 20 62 65 74 74 s generally bett
03d0: 65 72 20 74 6f 20 6b 65 65 70 20 69 74 20 73 74 er to keep it st
03e0: 61 62 6c 65 0a 6c 69 6e 6b 74 72 65 65 20 23 7b able.linktree #{
03f0: 73 68 65 6c 6c 20 72 65 61 64 6c 69 6e 6b 20 2d shell readlink -
0400: 66 20 23 7b 67 65 74 65 6e 76 20 4d 54 5f 52 55 f #{getenv MT_RU
0410: 4e 5f 41 52 45 41 5f 48 4f 4d 45 7d 2f 2e 2e 2f N_AREA_HOME}/../
0420: 73 69 6d 70 6c 65 6c 69 6e 6b 73 7d 0a 0a 5b 69 simplelinks}..[i
0430: 6e 63 6c 75 64 65 20 74 65 73 74 71 61 2f 63 6f nclude testqa/co
0440: 6e 66 69 67 73 2f 6d 65 67 61 74 65 73 74 2e 61 nfigs/megatest.a
0450: 62 63 2e 63 6f 6e 66 69 67 5d 0a 0a 5b 6a 6f 62 bc.config]..[job
0460: 74 6f 6f 6c 73 5d 0a 6d 61 78 6c 6f 61 64 20 34 tools].maxload 4
0470: 0a 23 20 6c 61 75 6e 63 68 65 72 20 73 6d 61 72 .# launcher smar
0480: 74 6c 61 75 6e 63 68 65 72 20 2d 2d 63 6f 72 65 tlauncher --core
0490: 73 20 31 20 2d 2d 6d 65 6d 6f 72 79 20 31 0a 6c s 1 --memory 1.l
04a0: 61 75 6e 63 68 65 72 20 6e 62 6a 6f 62 20 72 75 auncher nbjob ru
04b0: 6e 20 2d 2d 74 61 72 67 65 74 20 70 64 78 5f 73 n --target pdx_s
04c0: 6f 66 74 20 2d 2d 63 6c 61 73 73 20 27 53 4c 45 oft --class 'SLE
04d0: 53 31 31 26 26 31 43 26 26 31 47 27 20 2d 2d 71 S11&&1C&&1G' --q
04e0: 73 6c 6f 74 20 2f 69 63 66 2f 66 64 6b 2f 73 6f slot /icf/fdk/so
04f0: 66 74 20 0a 23 20 6c 61 75 6e 63 68 65 72 20 62 ft .# launcher b
0500: 73 75 62 20 2d 71 20 70 72 69 6f 72 69 74 79 20 sub -q priority
0510: 2d 6f 20 24 4d 54 5f 54 45 53 54 5f 52 55 4e 5f -o $MT_TEST_RUN_
0520: 44 49 52 2f 6f 70 65 6e 6c 61 76 61 2e 6c 6f 67 DIR/openlava.log
0530: 20 0a 0a 5b 73 65 72 76 65 72 5d 0a 23 20 74 69 ..[server].# ti
0540: 6d 65 6f 75 74 20 30 2e 30 31 0a 23 20 68 6f 6d meout 0.01.# hom
0550: 65 68 6f 73 74 20 78 65 6e 61 0a 23 20 68 6f 6d ehost xena.# hom
0560: 65 68 6f 73 74 20 31 34 33 2e 31 38 32 2e 32 32 ehost 143.182.22
0570: 35 2e 33 38 0a 23 20 66 6f 72 63 65 20 73 65 72 5.38.# force ser
0580: 76 65 72 0a 23 20 73 65 72 76 65 72 2d 71 75 65 ver.# server-que
0590: 72 79 2d 74 68 72 65 73 68 6f 6c 64 20 30 0a 0a ry-threshold 0..
05a0: 0a .