Gentoo Archives: gentoo-soc

From: "Michał Górny" <mgorny@g.o>
To: gentoo-soc@l.g.o
Cc: Denis Dupeyron <calchan@g.o>
Subject: [gentoo-soc] PMS Test Suite, weekly report #4
Date: Sun, 05 Jun 2011 19:05:46
Message-Id: 20110605210541.6988231a@pomiocik.lan
1 Hello, all.
2
3 Short summary: PMS Test Suite is a suite of tools and a test library
4 to test any of the Gentoo Package Managers for compliance against
5 the Package Manager Specification.
6
7 The project is a little ahead of schedule.
8
9 This week brought:
10 a) structural changes:
11 - merge of the test library and eclasses into main codebase, reducing
12 the project to a single repository,
13 - an ability to generate the test repository from scratch (not only
14 ebuilds but eclasses, repo_name and categories file too),
15 - merge of CLI handling code into a single executable,
16 - clone of the main code repository to github [1] for nice network
17 graphs [2],
18 - move of D-Bus related out of main eclass;
19
20 b) CLI changes:
21 - support for `--pm-options' switch, to specify additional options
22 passed to the Package Manager (like `--jobs' or so),
23 - as `pms-tester' script creates the repo itself, an arbitrary path may
24 be passed as `--repository-path';
25
26 c) technical changes:
27 - support for checking whether a package is installed. This data is
28 used by simple tests to determine whether a particular test failed or
29 succeeded,
30 - any already-merged tests are unmerged before starting to perform
31 tests, and all merged tests are unmerged after the tests are
32 performed,
33 - an actual, working D-Bus support. D-Bus-based tests
34 (i.e. the standard test library) are required to at least ping
35 the test object in pkg_setup() (done through the eclass) to ensure
36 they can't succeed without being actually run. D-Bus can be used to
37 send text test results;
38
39 d) new (working) tests:
40 - the test for phase function call order (as it was in the example
41 but fixed),
42 - a test for doins() failure handling (in EAPI < 4 and EAPI 4).
43
44
45 The next week should bring:
46 - a little cleanup in the library/case code inheritance to simplify
47 writing new tests,
48 - a few more tests,
49 - increased number of checks to ensure tests don't end up as false
50 negatives,
51 - a support for more Package Managers.
52
53 Right now, the test period is starting on my uni, so the development
54 may slow down a little.
55
56
57 [1] https://github.com/mgorny/pms-test-suite
58 [2] https://github.com/mgorny/pms-test-suite/network
59
60 --
61 Best regards,
62 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature