File: README.common

package info (click to toggle)
pcp 7.1.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 252,748 kB
  • sloc: ansic: 1,483,656; sh: 182,366; xml: 160,462; cpp: 83,813; python: 24,980; perl: 18,327; yacc: 6,877; lex: 2,864; makefile: 2,738; awk: 165; fortran: 60; java: 52
file content (65 lines) | stat: -rw-r--r-- 1,780 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Taxonomy and hierarchy of "common" include files

These notes are intended to help QA script developers understand
the set of common include files that are provided in the PCP qa
(aka testsuite) directory.

Most QA scripts are generated by ./new and contain the
following includes in order:

    common.product
      - included first by all the qa tests (at least the ones created
	with ./new)
      - includes common.setup and localconfig

	common.setup
	  - includes common.rc if not already included

	    common.rc
	      - includes $PCP_DIR/etc/pcp.env
	      - sets $PATH
	      - sets $sudo
	      - sets $here
	      - sets $tmp

	localconfig
	  - sets $PCP_PLATFORM and $PCP_VER

    common.filter
      - included second by all the qa tests (at least the ones created
	with ./new)
      - all of the _filter_foo() and related functions

    common.check
      - included third by all the qa tests (at least the ones created
	with ./new)
      - sets $here if not already set

Alternatively, QA scripts can include one of the following wrappers
which themselves include common.product, common.filter and common.check
in that order along with other service-specific initialization.

    common.compress
    common.discovery
    common.containers
    common.gfs2
    common.pcpweb
    common.python
    common.qt
    common.secure

And QA scripts may include these optional "common" files after the
other ones:

    common.config
      - includes localconfig
      - sets environment-specific things like $PCPQA_CLOSE_X_SERVER,
        $PCPQA_FAR_PMCD, $PCPQA_HYPHEN_HOST, $PCPQA_SOCKS_SERVER and
        $PCPQA_CISCO_ROUTER.

common.install.cisco

common
  - starting point for all of ./check, ./remake, ./show-me
  - includes common.check and common.setup
  - sets $here