Version: 9.12.0
prepare_test Namespace Reference

Data Structures

class  TestEnvironment
 

Variables

string usage
 
 parser
 
 help
 
 action
 
 args = parser.parse_args()
 
 opts = opt.split('=', 1)
 
 envTest = TestEnvironment()
 
 ret = envTest.run(args.command)
 

Variable Documentation

◆ action

prepare_test.action

◆ args

prepare_test.args = parser.parse_args()

◆ envTest

prepare_test.envTest = TestEnvironment()

◆ help

prepare_test.help

◆ opts

prepare_test.opts = opt.split('=', 1)

◆ parser

prepare_test.parser
Initial value:
1 = argparse.ArgumentParser(description=usage,
2  formatter_class=argparse.RawDescriptionHelpFormatter)

◆ ret

prepare_test.ret = envTest.run(args.command)

◆ usage

string prepare_test.usage
Initial value:
1 = """
2 This script prepares the test environment and runs a test script:
3  - clean and create test directory
4  - create a SALOME application
5  - launch salome
6  - launch the test script within SALOME environment
7  - kill salome
8 
9  This script uses the following environment variables:
10  - ROOT_SALOME : directory which contains salome_context.cfg.
11  This variable is usually defined in salome_prerequisites.sh
12  - KERNEL_ROOT_DIR and YACS_ROOT_DIR : directories of modules installation
13  Those variables are usually defined in salome_modules.sh
14  Environment variables can be passed to the script using the -d option.
15 """

Referenced by Engines_Component_i.CpuUsed(), and Engines_Parallel_Component_i.CpuUsed().