Lines Matching +full:2 +full:- +full:point
4 This module provides functions which are useful for running plug-ins from a robot program.
20 …Call the external validate_plug_ins.py program which validates the plug-in dir paths given to it. …
21 a list containing a normalized path for each plug-in selected.
24 plug_in_dir_paths A colon-separated list of plug-in directory paths.
59 …Call the external process_plug_in_packages.py to process the plug-in packages. Return the followi…
60 rc The return code - 0 = PASS, 1 = FAIL.
65 plug_in_packages_list A python list of plug-in directory paths.
66 … call_point The call point program to be called for each plug-in package (e.g.
69 … non-zero return code. For example, if this value equals 0x00000200, it
70 … means that for each plug-in call point that runs, a 0x00000200 will not
72 …n_plug_in_failure If this parameter is set to 1, this program will stop and return non-zero
73 … if the call point program from any plug-in directory fails. Conversely,
74 … if it is set to false, this program will run the call point program from
75 … each and every plug-in directory regardless of their return values.
76 … Typical example cases where you'd want to run all plug-in call points
78 …stop_on_non_zero_rc If this parm is set to 1 and a plug-in call point program returns …
79 … non-zero return code (see "shell_rc" parm above), this program will stop
82 … processing if one of the plug-in directory call point programs returns a
84 … example might be in calling some kind of "check_errl" call point program.
85 … Such a call point program might return a 2 (i.e. 0x00000200) to indicate
88 point program would need to be called.
90 influences which integrated plug-ins are selected.
100 history[0]: #(CDT) 2018/10/30 12:25:49 - Running OBMC_Sample/cp_post_stack
107 # If there are no plug-in packages to process, return successfully.
127 debug_string = " --quiet=0"
136 + " --call_point="
138 + " --allow_shell_rc="
140 + " --stop_on_plug_in_failure="
142 + " --stop_on_non_zero_rc="
148 cmd_buf = sub_cmd_buf + " > " + temp_file_path + " 2>&1"
151 "set -o pipefail ; "
153 + " 2>&1 | tee "
160 "Processing " + call_point + " call point programs."
184 # failed_plug_in_name: <failed plug-in value, if any>
185 # shell_rc: <shell return code value of last call point program>
190 # - A colon followed by...
191 # - Zero or more spaces
208 # Finally, we access the 2 values that we need.
214 os.system("cat " + temp_file_path + " >&2")
218 gp.print_timen("Re-cap of plug-in failures:")
220 "egrep -A 1 '^failed_plug_in_name:[ ]+' "
222 + " | egrep -v '^\\--'",