Miscellaneous Tools

From ISP_RAS

Jump to: navigation, search

Contents

Description

Script Description
/tests/coveragedb/deleteTestInfo removes information about test coverage from the database.
/tests/coveragedb/importTestInfo updates the database with information about which interfaces or commands have tests available and which test suites provide what coverage;

Usage

/tests/coveragedb/importTestInfo

importTestInfo [ -i|-c ] -t <TestSuiteName> -f <NameDataFile>
 Options
 -i  Don't interactively ask if name appears in both Interfaces and Commands.
     Treat all names in <NameDataFile> as Interfaces
 -c  Don't interactively ask if name appears in both Interfaces and Commands.
     Treat all names in <NameDataFile> as Commands

 -t <TestSuiteName>  The TestSuiteName must match one of those currently defined in the database.
                     The specific test suite names can be found in the file "test_names" in this
                     directory. (This file shows the number of the testsuite in the database,
                     its short formal name - used as the name for the <TestSuiteName> , its
                     long name, and whether it is an included or excluded test in LSB
                     certification.

  -f <NameDataFile>  The NameDataFile is a plain text file containing the names of either the
                     interface or command for which a validation test exists. The file may contain
                     either a simple line or multiple lines. Each line individually lists the name
                     of the interface or command. The name starts in the first column and does not
                     have any information following it.


/tests/coveragedb/deleteTestInfo

This script takes the same parameters as the importTestInfo script but removes the data from the database instead of putting it in.


Dependencies on DB

/tests/coveragedb/deleteTestInfo

Table Insert Select
Command - +
Interface - +
TestCmd + -
TestInt + -
TestSuite - +


/tests/coveragedb/importTestInfo

Table Insert Select
Command - +
Interface - +
TestCmd + -
TestInt + -
TestSuite - +
Personal tools