Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Davoid-underscore-in-googletest-name.cpp3 #define TEST(test_case_name, test_name) void test_case_name##test_name() argument
4 #define TEST_F(test_case_name, test_name) void test_case_name##test_name() argument
5 #define TEST_P(test_case_name, test_name) void test_case_name##test_name() argument
6 #define TYPED_TEST(test_case_name, test_name) void test_case_name##test_name() argument
7 #define TYPED_TEST_P(test_case_name, test_name) void test_case_name##test_name() argument
8 #define FRIEND_TEST(test_case_name, test_name) void test_case_name##test_name() argument
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/test/
H A DTool.py167 def _get_results_basename(self, test_name): argument
175 def _get_results_path(self, test_name): argument
183 def _get_results_text_path(self, test_name): argument
189 def _get_results_pickle_path(self, test_name): argument
195 def _record_steps(self, test_name, steps): argument
208 def _record_score(self, test_name, heuristic): argument
224 def _record_failed_test(self, test_name, exception): argument
241 def _run_test(self, test_name): argument
248 self._record_steps(test_name, steps)
250 self._record_score(test_name, heuristic_score)
[all …]
/llvm-project-15.0.7/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")
24 target_link_libraries(${test_name} PRIVATE Polly)
/llvm-project-15.0.7/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-15.0.7/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})
38 set_property(TARGET ${test_name} PROPERTY FOLDER "${test_suite_folder}")
/llvm-project-15.0.7/flang/unittests/
H A DCMakeLists.txt12 function(add_flang_nongtest_unittest test_name)
25 add_executable(${test_name}${suffix} ${test_name}.cpp)
32 target_link_libraries(${test_name}${suffix} ${llvm_libs} ${ARG_UNPARSED_ARGUMENTS})
35 add_dependencies(FlangUnitTests ${test_name}${suffix})
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-param-test.h419 #define TEST_P(test_suite_name, test_name) \ argument
420 class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
423 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
434 GTEST_STRINGIFY_(test_suite_name), GTEST_STRINGIFY_(test_name), \
436 test_suite_name, test_name)>()); \
441 test_name)); \
444 test_name)::gtest_registering_dummy_ = \
445 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::AddToRegistry(); \
446 void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()
H A Dgtest_prod.h58 #define FRIEND_TEST(test_case_name, test_name)\ argument
59 friend class test_case_name##_##test_name##_Test
/llvm-project-15.0.7/lldb/unittests/
H A DCMakeLists.txt34 function(add_lldb_unittest test_name)
41 if (NOT ${test_name} MATCHES "Tests$")
48 ${test_name}
53 TARGET ${test_name}
57 target_link_libraries(${test_name} PRIVATE ${ARG_LINK_LIBS})
60 function(add_unittest_inputs test_name inputs)
63 TARGET ${test_name}
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dsurf-tex.py274 "test_name" : test_name,
296 fun_name = test_name + "_param";
303 fun_name = test_name + "_global";
372 "test_name" : test_name,
396 fun_name = test_name + "_param";
403 fun_name = test_name + "_global";
634 "test_name" : test_name,
663 fun_name = test_name + "_param";
671 fun_name = test_name + "_global";
778 "test_name" : test_name,
[all …]
/llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/
H A DOneTest.py51 test_name = os.environ['GTEST_FILTER'] variable
52 if test_name == 'QuickSubTest':
56 elif test_name == 'InfiniteLoopSubTest':
62 raise SystemExit("error: invalid test name: %r" % (test_name,))
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h587 const char* test_name) { in AddTestName() argument
597 ::std::make_pair(test_name, CodeLocation(file, line))); in AddTestName()
601 bool TestExists(const std::string& test_name) const { in TestExists() argument
602 return registered_tests_.count(test_name) > 0; in TestExists()
759 std::string test_name = StripTrailingSpaces( variable
761 if (!state->TestExists(test_name)) {
763 case_name, test_name.c_str(),
769 const CodeLocation& test_location = state->GetCodeLocation(test_name);
1350 #define GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
1351 test_suite_name##_##test_name##_Test
[all …]
/llvm-project-15.0.7/lldb/test/API/api/multithreaded/
H A DTestMultithreaded.py82 def build_and_test(self, sources, test_name, args=None): argument
98 self.buildDriver(sources, test_name)
100 os.remove(self.getBuildArtifact(test_name)))
102 test_exe = self.getBuildArtifact(test_name)
/llvm-project-15.0.7/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-15.0.7/llvm/utils/lit/lit/
H A Dreports.py159 test_name, start_time, elapsed_time, test_output, result_code, is_expected argument
162 'testId': test_name,
209 test_name=test.getFullName(),
224 test_name=micro_full_name,
260 test_name = test.getFullName()
270 'name': test_name,
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/
H A DTestToolBase.py149 test_name = os.path.relpath(test_path,
151 if self._is_current_directory(test_name):
152 test_name = os.path.basename(test_path)
153 return test_name
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/
H A DTool.py103 def _run_test(self, test_name): # noqa argument
175 test_name)
203 'status', test_name, '{{:0>{}}}'.format(
227 per_pass_score.append((test_name, pass_text,
240 '{}-per_pass_score.csv'.format(test_name))
251 options.results_directory, '{}-pass-summary.csv'.format(test_name))
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/builders/
H A Dbuilder.py39 def getMake(self, test_subdir, test_name): argument
51 and test_name and (not os.path.isabs(test_subdir))):
54 test_name)
/llvm-project-15.0.7/libcxx/utils/
H A Dgenerate_header_inclusion_tests.py200 test_name = "{header}.inclusions.compile.pass.cpp".format(header=includer)
201 out_path = os.path.join(test_path, test_name)
/llvm-project-15.0.7/llvm/utils/lit/lit/formats/
H A Dgoogletest.py152 def get_test_stdout(test_name): argument
154 header = f'[ RUN ] ' + test_name
155 footer = f'[ FAILED ] ' + test_name
164 assert False, f'gtest did not report the result for ' + test_name
/llvm-project-15.0.7/libcxx/benchmarks/
H A DCMakeLists.txt203 string(REPLACE ".bench.cpp" "" test_name "${test_file}")
204 if (NOT DEFINED ${test_name}_REPORTED)
207 set(${test_name}_REPORTED ON CACHE INTERNAL "")
209 add_benchmark_test(${test_name} ${test_path})
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_language/
H A DTestBreakpointLanguage.py15 def check_location_file(self, bp, loc, test_name): argument
20 return comp_name == test_name
/llvm-project-15.0.7/lldb/test/API/symbol_ondemand/breakpoint_language/
H A DTestBreakpointLanguageOnDemand.py15 def check_location_file(self, bp, loc, test_name): argument
20 return comp_name == test_name
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_unittest2_with.py110 for test_name, should_pass in (('testSkip', True),
113 test = Test(test_name)
/llvm-project-15.0.7/third-party/benchmark/test/
H A Dcomplexity_test.cc16 int AddComplexityTest(const std::string &test_name, in AddComplexityTest() argument
20 SetSubstitutions({{"%name", test_name}, in AddComplexityTest()

12