|
|
Testing Resources
CTI for TETCommon Test Infrastructure (CTI) for Test Environment Toolkit (TET) is a common set of tools, utilities and application interfaces which support OpenSolaris test development and execution using the TET test framework. CTI for TET is free open source software and uses the Artistic License like the open source version of TET, which allows the code to be contributed into the TET code base.CTI for TET includes a run_test wrapper that executes test suites and passes the configuration program the following arguments: F : Configuration parameter file (name=value pairs) S : Do the setup only E : Do the execute only using the prior setup C : Do the cleanup only for the prior setup L : Log directory R : List of remote machines (only for distributed test) I : Ignore html/sorted_result creation j : Journal file (-j - goes to stdout) s : scenario file (tcc option) x : execute mode config file (tcc option) CTI for TET has ksh, C, Perl and Java application interface libraries. Installing CTI for TETCTI for TET is included in the Distributed TET (SUNWstc-dtet) and TET-Lite (SUNWstc-tetlite) packages. The standard Solaris pkgadd command is used to install the packages, for example:More information on package installation and what TET version is required is included in the test suite README files. Building CTI for TETIn order to build CTI for TET, it must be combined with the current TET distribution from The Open Group. CTI for TET is added to the TET workspace in the ../tet/contrib/ctitools directory. After the code is combined into one workspace, the following two scripts a used to build and package TET and CTI for TET.build_tet.kshbuild_tet_pkg.pl% setenv CODEMGR_WS {test_workspace} % setenv TET_ROOT $CODEMGR_WS/src/tools/tet % cd $TET_ROOT/contrib/ctitools/src/scripts % build_tet.ksh inet % build_tet_pkg.pl inet Packaging Test Suitesbuild_suite_pkg.pl |