Lines Matching refs:target_name
90 def make_test(target_type, sources, requirements, target_name=None): argument
95 if not target_name:
96 target_name = stem(os.path.basename(sources[0]))
104 real_name = target_name.replace(".", "~")
115 if real_name != target_name:
117 target_name, [t])
131 def compile(sources, requirements, target_name=None): argument
132 return make_test("compile", sources, requirements, target_name)
135 def compile_fail(sources, requirements, target_name=None): argument
136 return make_test("compile-fail", sources, requirements, target_name)
139 def link(sources, requirements, target_name=None): argument
140 return make_test("link", sources, requirements, target_name)
143 def link_fail(sources, requirements, target_name=None): argument
144 return make_test("link-fail", sources, requirements, target_name)
158 def run(sources, args, input_files, requirements, target_name=None, default_build=[]): argument
162 return make_test("run", sources, requirements, target_name)
167 def run_fail(sources, args, input_files, requirements, target_name=None, default_build=[]): argument
171 return make_test("run-fail", sources, requirements, target_name)
240 target_name = project.get('location') + "//" + target.name() + ".test"