1NAME = "LSB-DTK"
2AUTHOR = "Pavan Naregundi <pnaregun@in.ibm.com>"
3TIME = "MEDIUM"
4TEST_CATEGORY = "FUNCTIONAL"
5TEST_CLASS = "KERNEL"
6TEST_TYPE = "CLIENT"
7DOC = """
8Test for LSB-DTK
9"""
10
11lsb_cfg = '''
12[lsb]
13tarball_url = http://ftp.freestandards.org/pub/lsb/bundles/released-3.1.1/dist-testkit/lsb-dist-testkit-3.1.1-5.%s.tar.gz
14tarball_url_alt = http://myhost.foo.com/packages/lsb-dtk/lsb-dist-testkit-3.1.1-5.%s.tar.gz
15main_script_path = /opt/lsb/test/manager/autotest-ext/lsb-tef.pl
16override_default_url = no
17md5-ia32 = 3b00267e99fa7d9f6fff69d35a08be7e
18md5-ia64 = db108739c977df69848da12345a7fc7c
19md5-x86_64 = 35208e9442f5f8badb706f431ba59798
20md5-ppc32 = 74951b8647d63a3c972709b36740af1e
21md5-ppc64 = 767521902e079cd884ab5636ba699114
22md5-s390 = c28b2d46459e6f0c591a06f7ee10ad84
23md5-s390x = bf65a09c986a8e6cbec9276fa894c7b0
24
25[dtk-manager]
26tarball_url = ftp://ftp.freestandards.org/pub/lsb/test_suites/released-3.2.0/binary/runtime/lsb-dtk-manager-1.5.8-1.%s.rpm
27arch-ia32 = i486
28arch-ppc32 = ppc
29arch-ppc64 = ppc64
30arch-s390 = s390
31arch-s390x = s390x
32arch-ia64 = ia64
33arch-x86_64 = x86_64
34md5-ia32 = 9251e87b01f7ae45dc3256c4a68d1916
35md5-ia64 = 1492809a15fd00e559addb6c7fcf0965
36md5-ppc64 = 897835ed4e3f67ab872db1635ed24177
37md5-ppc = dddbeb156300af5065f0d4bcf3cc557e
38md5-s390 = 418e4bbf2ffe762a3b2b7f8f4d55b2d2
39md5-s390x = c68be6e8b95b81fd8acae5f1b7fb8608
40md5-x86_64 = 5db36531869dab4a0df3ed862a0e40e6
41
42[lib]
43libdir-ia32 = /lib
44libdir-ppc32 = /lib
45libdir-ppc64 = /lib64
46libdir-s390 = /lib
47libdir-s390x = /lib64
48libdir-ia64 = /lib
49libdir-x86_64 = /lib64
50lib-ia32 = ['ld-lsb.so.2', 'ld-lsb.so.3']
51lib-ppc32 = ['ld-lsb-ppc32.so.2', 'ld-lsb-ppc32.so.3']
52lib-ppc64 = ['ld-lsb-ppc64.so.2', 'ld-lsb-ppc64.so.3']
53lib-s390 = ['ld-lsb-s390.so.2', 'ld-lsb-s390.so.3']
54lib-s390x = ['ld-lsb-s390x.so.2', 'ld-lsb-s390x.so.3']
55lib-ia64 = ['ld-lsb-ia64.so.2', 'ld-lsb-ia64.so.3']
56lib-x86_64 = ['ld-lsb.so.2', 'ld-lsb.so.3', 'ld-lsb-x86-64.so.2', 'ld-lsb-x86-64.so.3']
57'''
58
59# You can also provide 'all', that encompasses the three below.
60test_list = ['appbat', 'libchk_qt4', 'runtime-tests']
61for test in test_list:
62	job.run_test('lsb_dtk', args = test, config = lsb_cfg, tag = test)
63