Home
last modified time | relevance | path

Searched refs:test_case (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dlldbplatformutil.py23 def check_first_register_readable(test_case): argument
24 arch = test_case.getArchitecture()
27 test_case.expect("register read eax", substrs=['eax = 0x'])
29 test_case.expect("register read r0", substrs=['r0 = 0x'])
31 test_case.expect("register read x0", substrs=['x0 = 0x'])
33 test_case.expect("register read zero", substrs=['zero = 0x'])
35 test_case.expect("register read r0", substrs=['r0 = 0x'])
37 test_case.expect("register read r0", substrs=['r0 = 0x'])
40 test_case.fail(
42 test_case.getArchitecture())
[all …]
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/test/
H A DTool.py217 def _record_test_and_display(self, test_case): argument
221 self.context.o.auto(test_case)
222 self._test_cases.append(test_case)
229 self._record_test_and_display(test_case)
236 self._record_test_and_display(test_case)
270 for test_case in self._test_cases:
271 score = test_case.score
273 score_sum += test_case.score
289 for test_case in self._test_cases:
291 test_case.name, '{:.4f}'.format(test_case.score),
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/
H A Dconvert_file_time.pass.cpp70 struct test_case;
73 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_128Bit> struct
137 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_32Bit, TK_128Bit> struct
143 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_64Bit> struct
212 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_32Bit, TK_64Bit> struct
254 struct test_case<FileTimeT, TimeT, TimeSpec, Base, TK_FloatingPoint, argument
283 assert((test_case<TestFileTimeT<int64_t>, int64_t, in main()
287 assert((test_case<TestFileTimeT<long long>, int32_t, in main()
293 assert((test_case<TestFileTimeT<long double>, double, in main()
298 assert((test_case<TestFileTimeT<__int128_t, std::nano>, int64_t, in main()
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/numerics/complex.number/
H A D__sqr.pass.cpp27 struct test_case in test() struct
33 const test_case cases[] = { in test()
47 const unsigned num_cases = sizeof(cases) / sizeof(test_case); in test()
50 const test_case& test = cases[i]; in test()
/llvm-project-15.0.7/libcxx/test/support/
H A Drapid-cxx-test.h78 …, ::rapid_cxx_test::test_case(__FILE__, #Name, __LINE__, & RAPID_CXX_TEST_PP_CAT(Name, _invoker)) \
453 struct test_case struct
455 test_case() in test_case() argument
459 test_case(const char* file1, const char* func1, std::size_t line1, in test_case() argument
574 typedef test_case const* iterator;
589 test_case const & operator[](std::size_t i) const
604 std::size_t register_test(test_case tc) in register_test()
606 static std::size_t test_case_max = sizeof(m_tests) / sizeof(test_case); in register_test()
620 test_case m_tests[256];
628 registrar(test_suite & st, test_case tc) in registrar()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dmachine-cse.ll50 define void @commute(i32 %test_case, i32 %scale) nounwind ssp {
77 switch i32 %test_case, label %sw.bb307 [
84 %mul = mul nsw i32 %test_case, 3
89 tail call void (...) @printf(i32 %test_case, i32 %mul20) nounwind
90 %tmp = mul i32 %scale, %test_case
H A Dlifetime-alias.ll4 source_filename = "test_case.cc"
22 @.str.3 = private unnamed_addr constant [13 x i8] c"test_case.cc\00", align 1
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_result.py181 test_case, formatted_exc = result.failures[0]
182 self.assertTrue(test_case is test)
230 test_case, formatted_exc = result.errors[0]
231 self.assertTrue(test_case is test)
/llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/
H A DTestGDBRemoteClient.py395 def __init__(self, test_case): argument
397 self.test_case = test_case
401 self.test_case.assertIn("multiprocess+", client_supported)
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-internal-inl.h1158 void OnTestCaseStart(const TestCase& test_case) override { in OnTestCaseStart() argument
1159 SendLn(std::string("event=TestCaseStart&name=") + test_case.name()); in OnTestCaseStart()
1164 void OnTestCaseEnd(const TestCase& test_case) override { in OnTestCaseEnd() argument
1165 SendLn("event=TestCaseEnd&passed=" + FormatBool(test_case.Passed()) + in OnTestCaseEnd()
1166 "&elapsed_time=" + StreamableToString(test_case.elapsed_time()) + in OnTestCaseEnd()
H A Dgtest.cc3115 void OnTestCaseStart(const TestCase& test_case) override;
3125 void OnTestCaseEnd(const TestCase& test_case) override;
3184 void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestCase& test_case) { in OnTestCaseStart() argument
3186 FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); in OnTestCaseStart()
3188 printf("%s from %s", counts.c_str(), test_case.name()); in OnTestCaseStart()
3189 if (test_case.type_param() == nullptr) { in OnTestCaseStart()
3192 printf(", where %s = %s\n", kTypeParamLabel, test_case.type_param()); in OnTestCaseStart()
3258 void PrettyUnitTestResultPrinter::OnTestCaseEnd(const TestCase& test_case) { in OnTestCaseEnd() argument
3262 FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); in OnTestCaseEnd()
3264 printf("%s from %s (%s ms total)\n\n", counts.c_str(), test_case.name(), in OnTestCaseEnd()
[all …]
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Dsign_wrapped_set.ll14 define void @test_case(i8* noalias nocapture readonly %src, i32 %srcHeight, i32 %srcStride) local_u…
H A Dinvariant_load_distinct_parameter_valuations.ll23 ; ModuleID = '/home/johannes/Downloads/test_case.ll'
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cpp1275 for (auto test_case : test_cases) { in TEST() local
1278 for (int i = 0; test_case[i] != 0; i++) in TEST()
1279 tracker.NextPage(test_case[i] == 'x'); in TEST()
1283 const char* last_x = strrchr(test_case, 'x'); in TEST()
1285 test_case, in TEST()
1286 last_x == nullptr ? 0 : (last_x - test_case + 1)); in TEST()
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/
H A Dcase.py132 def __init__(self, expected, test_case, expected_regexp=None): argument
134 self.failureException = test_case.failureException