Kindfield
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Pages
Variables
run Namespace Reference

Variables

tuple parser = ArgumentParser()
 
tuple args = parser.parse_args()
 
tuple output_dir = os.path.abspath("tmp")
 
tuple current_path = os.path.dirname(os.path.realpath(__file__))
 
list states_file = argv[1]
 
tuple output_file = os.path.join(output_dir, os.path.split(states_file)[-1])
 
tuple build_path = os.path.abspath(os.path.join(current_path, "..", "..", "..", "build"))
 
tuple project_path = os.path.abspath(os.path.join(current_path, "..", ".."))
 
tuple staterunner_path = os.path.join(build_path, "tools", "staterunner")
 
tuple lib_path = os.path.join("..", "..", "src")
 
tuple env = dict(os.environ)
 
list run_argument = ["./staterunner", states_file, output_file]
 
tuple proc = subprocess.call(run_argument, cwd=staterunner_path, env=env)
 

Variable Documentation

tuple run.args = parser.parse_args()

Definition at line 14 of file run.py.

tuple run.build_path = os.path.abspath(os.path.join(current_path, "..", "..", "..", "build"))

Definition at line 34 of file run.py.

tuple run.current_path = os.path.dirname(os.path.realpath(__file__))

Definition at line 25 of file run.py.

tuple run.env = dict(os.environ)

Definition at line 47 of file run.py.

tuple run.lib_path = os.path.join("..", "..", "src")

Definition at line 45 of file run.py.

tuple run.output_dir = os.path.abspath("tmp")

Definition at line 16 of file run.py.

tuple run.output_file = os.path.join(output_dir, os.path.split(states_file)[-1])

Definition at line 32 of file run.py.

tuple run.parser = ArgumentParser()

Definition at line 10 of file run.py.

tuple run.proc = subprocess.call(run_argument, cwd=staterunner_path, env=env)

Definition at line 55 of file run.py.

tuple run.project_path = os.path.abspath(os.path.join(current_path, "..", ".."))

Definition at line 35 of file run.py.

list run.run_argument = ["./staterunner", states_file, output_file]

Definition at line 51 of file run.py.

tuple run.staterunner_path = os.path.join(build_path, "tools", "staterunner")

Definition at line 44 of file run.py.

list run.states_file = argv[1]

Definition at line 30 of file run.py.