Home
last modified time | relevance | path

Searched refs:test_name (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/test/
H A DTool.py140 def _get_results_basename(self, test_name): argument
146 all_components = reversed([x for x in splitall(test_name)])
149 def _get_results_path(self, test_name): argument
151 by test_name.
156 self._get_results_basename(test_name),
159 def _get_results_text_path(self, test_name): argument
160 """Returns path results .txt file for test denoted by test_name."""
161 test_results_path = self._get_results_path(test_name)
164 def _get_results_pickle_path(self, test_name): argument
165 """Returns path results .dextIR file for test denoted by test_name
169 _record_steps(self, test_name, steps) global() argument
182 _record_score(self, test_name, heuristic) global() argument
198 _record_failed_test(self, test_name, exception) global() argument
205 _record_successful_test(self, test_name, steps, heuristic) global() argument
215 _run_test(self, test_name) global() argument
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/
H A Davoid-underscore-in-googletest-name.cpp3 #define TEST(test_suite_name, test_name) void test_suite_name##test_name() argument
4 #define TEST_F(test_suite_name, test_name) void test_suite_name##test_name() argument
5 #define TEST_P(test_suite_name, test_name) void test_suite_name##test_name() argument
6 #define TYPED_TEST(test_suite_name, test_name) void test_suite_name##test_name() argument
7 #define TYPED_TEST_P(test_suite_name, test_name) void test_suite_name##test_name() argument
8 #define FRIEND_TEST(test_suite_name, test_name) void test_suite_name##test_name() argument
/llvm-project/polly/unittests/
H A DCMakeLists.txt7 function(add_polly_unittest test_name)
9 add_unittest(PollyUnitTests ${test_name} ${ARGN})
11 add_executable(${test_name} EXCLUDE_FROM_ALL ${ARGN})
12 …set_target_properties(${test_name} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
14 target_link_libraries(${test_name} PRIVATE gtest_main gtest)
15 add_dependencies(PollyUnitTests ${test_name})
17 set_property(TARGET ${test_name} PROPERTY FOLDER "Polly/Tests/Unit")
23 target_link_libraries(${test_name} PRIVATE Polly)
/llvm-project/lldb/unittests/
H A DCMakeLists.txt13 function(add_lldb_unittest test_name)
20 if (NOT ${test_name} MATCHES "Tests$")
27 ${test_name}
32 TARGET ${test_name}
36 target_link_libraries(${test_name} PRIVATE ${ARG_LINK_LIBS})
39 function(add_unittest_inputs test_name inputs)
42 TARGET ${test_name}
/llvm-project/flang/unittests/
H A DCMakeLists.txt44 function(add_flang_nongtest_unittest test_name)
57 add_executable(${test_name}${suffix} ${test_name}.cpp)
58 set_target_properties(${test_name}${suffix} PROPERTIES FOLDER "Flang/Tests/Unit")
65 target_link_libraries(${test_name}${suffix} ${llvm_libs} ${ARG_UNPARSED_ARGUMENTS})
68 add_dependencies(FlangUnitTests ${test_name}${suffix})
71 add_flang_unittest_offload_properties(${test_name}${suffix})
/llvm-project/lldb/unittests/tools/lldb-server/
H A DCMakeLists.txt3 function(add_lldb_test_executable test_name)
5 add_llvm_executable(${test_name} NO_INSTALL_RPATH ${ARGN})
7 set_output_directory(${test_name} BINARY_DIR ${outdir} LIBRARY_DIR ${outdir})
8 list(APPEND ALL_LLDB_TEST_EXECUTABLES ${test_name})
10 set_target_properties(${test_name} PROPERTIES FOLDER "LLDB/Tests")
/llvm-project/third-party/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h590 const char* test_name) { in AddTestName() argument
595 FormatFileLocation(file, line).c_str(), test_name, case_name); in AddTestName()
600 ::std::make_pair(test_name, CodeLocation(file, line))); in AddTestName()
604 bool TestExists(const std::string& test_name) const { in TestExists() argument
605 return registered_tests_.count(test_name) > 0; in TestExists()
608 const CodeLocation& GetCodeLocation(const std::string& test_name) const { in GetCodeLocation() argument
609 RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); in GetCodeLocation()
770 std::string test_name = variable
772 if (!state->TestExists(test_name)) {
774 case_name, test_name.c_str(),
[all …]
/llvm-project/llvm/unittests/Support/CommandLineInit/
H A DCMakeLists.txt1 set(test_name CommandLineInitTests) variable
25 add_llvm_executable(${test_name}
29 target_link_libraries(${test_name} PRIVATE llvm_gtest)
31 add_dependencies(${test_suite} ${test_name})
34 set_output_directory(${test_name} BINARY_DIR ${outdir} LIBRARY_DIR ${outdir})
/llvm-project/third-party/unittest/googletest/include/gtest/
H A Dgtest-param-test.h450 #define TEST_P(test_suite_name, test_name) \ argument
451 class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
455 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
466 GTEST_STRINGIFY_(test_suite_name), GTEST_STRINGIFY_(test_name), \
468 test_suite_name, test_name)>(), \
475 test_name)::gtest_registering_dummy_ = \
476 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::AddToRegistry(); \
477 void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
H A Dgtest_prod.h57 #define FRIEND_TEST(test_case_name, test_name) \ argument
58 friend class test_case_name##_##test_name##_Test
H A Dgtest.h2169 #define GTEST_TEST(test_suite_name, test_name) \ argument
2170 GTEST_TEST_(test_suite_name, test_name, ::testing::Test, \
2176 #define TEST(test_suite_name, test_name) GTEST_TEST(test_suite_name, test_name) argument
2204 #define GTEST_TEST_F(test_fixture, test_name) \ argument
2205 GTEST_TEST_(test_fixture, test_name, test_fixture, \
2208 #define TEST_F(test_fixture, test_name) GTEST_TEST_F(test_fixture, test_name) argument
2283 TestInfo* RegisterTest(const char* test_suite_name, const char* test_name, in GTEST_DISABLE_MSC_WARNINGS_POP_()
2298 test_suite_name, test_name, type_param, value_param, in GTEST_DISABLE_MSC_WARNINGS_POP_()
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dsurf-tex.py258 ; CHECK-LABEL: .entry ${test_name}_param
261 define ptx_kernel void @${test_name}_param(i64 %s, ${retty}* %ret, ${access}) {
266 ; CHECK-LABEL: .entry ${test_name}_global
268 define ptx_kernel void @${test_name}_global(${retty}* %ret, ${access}) {
289 test_name = "test_suld_" + geom + vec + dtype + clamp
292 "test_name": test_name,
314 fun_name = test_name + "_param"
322 fun_name = test_name + "_global"
351 ; CHECK-LABEL: .entry ${test_name}_para
[all...]
/llvm-project/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/
H A DOneTest.py53 test_name = os.environ["GTEST_FILTER"] variable
54 if test_name == "QuickSubTest":
58 elif test_name == "InfiniteLoopSubTest":
62 raise SystemExit("error: invalid test name: %r" % (test_name,))
/llvm-project/bolt/utils/
H A Dnfc-stat-parser.py71 test_name = row[0]
74 test_name = f"{input_dir}/{m.groups()[1]}/{m.groups()[2]}"
77 test_name = input_dir + "#" + test_name
104 test_name,
/llvm-project/lldb/test/API/api/multithreaded/
H A DTestMultithreaded.py107 def build_and_test(self, sources, test_name, inferior_source="inferior.cpp"):
123 self.buildDriver(sources, test_name)
124 self.addTearDownHook(lambda: os.remove(self.getBuildArtifact(test_name)))
126 test_exe = self.getBuildArtifact(test_name)
94 build_and_test(self, sources, test_name, args=None) global() argument
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/
H A DTestToolBase.py135 test_name = os.path.relpath(test_path, self.context.options.test_path)
136 if self._is_current_directory(test_name):
137 test_name = os.path.basename(test_path)
138 return test_name
/llvm-project/utils/bazel/llvm-project-overlay/libc/test/src/math/
H A Dlibc_math_test_rules.bzl22 test_name = name + "_test"
24 name = test_name,
25 srcs = [test_name + ".cpp"] + hdrs,
/llvm-project/llvm/utils/lit/lit/
H A Dreports.py196 test_name, start_time, elapsed_time, test_output, result_code, is_expected
199 "testId": test_name,
243 test_name=test.getFullName(),
258 test_name=micro_full_name,
292 test_name = test.getFullName()
302 "name": test_name,
166 gen_resultdb_test_entry( test_name, start_time, elapsed_time, test_output, result_code, is_expected ) global() argument
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/
H A DTool.py106 def _run_test(self, test_name): # noqa argument
179 color2, pass_info[0], max_limits[current_file_index], test_name
210 test_name,
243 per_pass_score.append((test_name, pass_text, heuristic.score))
252 options.results_directory, "{}-per_pass_score.csv".format(test_name)
264 options.results_directory, "{}-pass-summary.csv".format(test_name)
/llvm-project/llvm/utils/lit/examples/many-tests/
H A DManyTests.py10 test_name = "test-%04d" % (i,)
11 yield Test.Test(testSuite, path_in_suite + (test_name,), localConfig)
/llvm-project/lldb/packages/Python/lldbsuite/test/builders/
H A Dbuilder.py42 def getMake(self, test_subdir, test_name):
52 and test_name
56 build_dir = os.path.join(configuration.test_build_dir, test_subdir, test_name)
39 getMake(self, test_subdir, test_name) global() argument
/llvm-project/llvm/utils/lit/lit/formats/
H A Dgoogletest.py211 def get_test_stdout(test_name): argument
213 header = f"[ RUN ] " + test_name
214 footer = f"[ FAILED ] " + test_name
223 assert False, f"gtest did not report the result for " + test_name
/llvm-project/lldb/test/API/symbol_ondemand/breakpoint_language/
H A DTestBreakpointLanguageOnDemand.py14 def check_location_file(self, bp, loc, test_name): argument
19 return comp_name == test_name
/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_language/
H A DTestBreakpointLanguage.py13 def check_location_file(self, bp, loc, test_name): argument
18 return comp_name == test_name
/llvm-project/libcxx/benchmarks/
H A DCMakeLists.txt

12