Home
last modified time | relevance | path

Searched refs:test_result (Results 1 – 25 of 104) sorted by relevance

12345

/external/llvm-project/lldb/test/API/lang/cpp/nsimport/
DTestCppNsImport.py60 test_result = frame.EvaluateExpression("n")
62 test_result.IsValid() and test_result.GetValueAsSigned() == 1,
65 test_result = frame.EvaluateExpression("N::n")
67 test_result.IsValid() and test_result.GetValueAsSigned() == 1,
70 test_result = frame.EvaluateExpression("nested")
72 test_result.IsValid() and test_result.GetValueAsSigned() == 3,
75 test_result = frame.EvaluateExpression("anon")
77 test_result.IsValid() and test_result.GetValueAsSigned() == 2,
80 test_result = frame.EvaluateExpression("global")
82 test_result.IsValid() and test_result.GetValueAsSigned() == 4,
[all …]
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderIsolines.cpp68 void TessellationShadersIsolines::checkFirstOuterTessellationLevelEffect(_test_result& test_result, in checkFirstOuterTessellationLevelEffect() argument
71 glcts::Context& context = test_result.parent->parent->getContext(); in checkFirstOuterTessellationLevelEffect()
76 if (test_result.n_vertices != 0) in checkFirstOuterTessellationLevelEffect()
88 TESSELLATION_SHADER_VERTEX_SPACING_EQUAL, test_result.parent->outer_tess_levels[0], in checkFirstOuterTessellationLevelEffect()
94 if (test_result.n_isolines != n_isolines_expected) in checkFirstOuterTessellationLevelEffect()
96 tcu::TestContext& test = test_result.parent->parent->getTestContext(); in checkFirstOuterTessellationLevelEffect()
99 << "Tessellator generated an invalid amount of isolines:" << test_result.n_isolines in checkFirstOuterTessellationLevelEffect()
102 << " (" << test_result.parent->inner_tess_levels[0] << ", " in checkFirstOuterTessellationLevelEffect()
103 << test_result.parent->inner_tess_levels[1] << ")" in checkFirstOuterTessellationLevelEffect()
105 << " (" << test_result.parent->outer_tess_levels[0] << ", " in checkFirstOuterTessellationLevelEffect()
[all …]
DesextcTessellationShaderIsolines.hpp138 typedef void (*PFNTESTRESULTPROCESSORPROC)(_test_result& test_result, glw::GLenum glToken);
157 void countIsolines(_test_result& test_result);
171 static void checkFirstOuterTessellationLevelEffect(_test_result& test_result,
176 …static void checkNoLineSegmentIsDefinedAtHeightOne(_test_result& test_result, const glw::GLenum un…
178 static void checkSecondOuterTessellationLevelEffect(_test_result& test_result,
/external/llvm-project/lldb/test/API/lang/cpp/global_operators/
DTestCppGlobalOperators.py55 test_result = frame.EvaluateExpression("operator==(s1, s2)")
57 test_result.IsValid() and test_result.GetValue() == "false",
60 test_result = frame.EvaluateExpression("operator==(s1, s3)")
62 test_result.IsValid() and test_result.GetValue() == "true",
65 test_result = frame.EvaluateExpression("operator==(s2, s3)")
67 test_result.IsValid() and test_result.GetValue() == "false",
/external/deqp/external/openglcts/modules/common/
DglcViewportArrayTests.cpp971 …pthRangeArrayHelper(Utils::DepthFuncWrapper& depthFunc, GLint max_viewports, bool& test_result, T*) in depthRangeArrayHelper() argument
983 checkGLError(GL_NO_ERROR, "depthRangeArray, correct parameters", test_result); in depthRangeArrayHelper()
986 checkGLError(GL_INVALID_VALUE, "depthRangeArray, <first> == GL_MAX_VIEWPORTS", test_result); in depthRangeArrayHelper()
989 checkGLError(GL_NO_ERROR, "depthRangeArray, <first> + <count> == GL_MAX_VIEWPORTS", test_result); in depthRangeArrayHelper()
992 …eckGLError(GL_INVALID_VALUE, "depthRangeArray, <first> + <count> > GL_MAX_VIEWPORTS", test_result); in depthRangeArrayHelper()
996 …hRangeIndexedHelper(Utils::DepthFuncWrapper& depthFunc, GLint max_viewports, bool& test_result, T*) in depthRangeIndexedHelper() argument
999 checkGLError(GL_NO_ERROR, "depthRangeIndexed, <index> == 0", test_result); in depthRangeIndexedHelper()
1002 checkGLError(GL_NO_ERROR, "depthRangeIndexed, <index> == GL_MAX_VIEWPORTS - 1", test_result); in depthRangeIndexedHelper()
1005 checkGLError(GL_INVALID_VALUE, "depthRangeIndexed, <index> == GL_MAX_VIEWPORTS", test_result); in depthRangeIndexedHelper()
1008 checkGLError(GL_INVALID_VALUE, "depthRangeIndexed, <index> > GL_MAX_VIEWPORTS", test_result); in depthRangeIndexedHelper()
[all …]
DglcRobustnessTests.cpp254 bool test_result = true; in iterate() local
298 test_result = test_result && in iterate()
300test_result = test_result && verifyError(gl.getError(), GL_NO_ERROR, "getnUniformfv [false negativ… in iterate()
303test_result = test_result && verifyError(gl.getError(), GL_INVALID_OPERATION, "getnUniformfv [fals… in iterate()
306 test_result = test_result && in iterate()
308test_result = test_result && verifyError(gl.getError(), GL_NO_ERROR, "getnUniformiv [false negativ… in iterate()
311test_result = test_result && verifyError(gl.getError(), GL_INVALID_OPERATION, "getnUniformiv [fals… in iterate()
314 test_result = test_result && verifyResult((void*)input4ui, (void*)result4ui, sizeof(GLuint) * 4, in iterate()
316test_result = test_result && verifyError(gl.getError(), GL_NO_ERROR, "getnUniformuiv [false negati… in iterate()
319test_result = test_result && verifyError(gl.getError(), GL_INVALID_OPERATION, "getnUniformuiv [fal… in iterate()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtst_bitmaps.c302 int test_result, op_result; in do_setb() local
327 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_setb()
331 if (!test_result != !op_result) in do_setb()
333 test_result, op_result); in do_setb()
341 int test_result, op_result; in do_clearb() local
366 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_clearb()
370 if (!test_result != !op_result) in do_clearb()
372 test_result, op_result); in do_clearb()
380 int test_result; in do_testb() local
399 test_result = in do_testb()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Dunit_test.h28 struct test_result { struct
36 void (*test_func)(struct test_result * result); argument
37 struct test_result result;
42 void test_begin(struct test_result * result);
43 void test_check(struct test_result * result, int cond);
/external/ltp/pan/
Dtag_report.c55 int test_result(char *tag, char *tcid, char *tc, char *result, SYM tags) in test_result() function
186 test_result(tag, *tl, (char *)Key.data, in cuts_report()
193 test_result(tag, "*", "*", result, keys); in cuts_report()
196 test_result(tag, "-", "-", "TC count wrong", keys); in cuts_report()
246 test_result(tag, NULL, NULL, "no init status", keys); in tag_report()
251 test_result(tag, NULL, NULL, is, keys); in tag_report()
257 test_result(tag, NULL, NULL, "coredump", keys); in tag_report()
262 test_result(tag, NULL, NULL, "no Term Type", keys); in tag_report()
267 test_result(tag, NULL, NULL, tt, keys); in tag_report()
272 test_result(tag, NULL, NULL, "no Analysis Type", keys); in tag_report()
[all …]
/external/ltp/testcases/kernel/device-drivers/uaccess/
Dltp_uaccess.c40 static int test_result; variable
55 return scnprintf(buf, PAGE_SIZE, "%d\n", test_result); in sys_result()
69 test_result = 0; in sys_tcase()
75 test_result = strncmp(test_str, buffer, str_size) ? 1 : 0; in sys_tcase()
78 test_result |= ch != test_str[0]; in sys_tcase()
83 test_result = 1; in sys_tcase()
88 test_result |= 1; in sys_tcase()
/external/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
Dltp_block_dev.c63 static int test_result; variable
341 return scnprintf(buf, PAGE_SIZE, "%d\n", test_result); in sys_result()
358 test_result = 0; in sys_tcase()
361 test_result |= tc01(); in sys_tcase()
364 test_result |= tc02(); in sys_tcase()
367 test_result |= tc03(); in sys_tcase()
370 test_result |= tc04(); in sys_tcase()
373 test_result |= tc05(); in sys_tcase()
376 test_result |= tc06(); in sys_tcase()
379 test_result |= tc07(); in sys_tcase()
[all …]
/external/libchrome/base/test/launcher/
Dunit_test_launcher.cc309 TestResult test_result = results_map[test_names[i]]; in ProcessTestResults() local
310 if (test_result.status == TestResult::TEST_CRASH) { in ProcessTestResults()
317 test_result.status = TestResult::TEST_TIMEOUT; in ProcessTestResults()
319 } else if (test_result.status == TestResult::TEST_SUCCESS || in ProcessTestResults()
320 test_result.status == TestResult::TEST_FAILURE) { in ProcessTestResults()
326 if (test_result.elapsed_time > in ProcessTestResults()
328 test_result.status = TestResult::TEST_TIMEOUT; in ProcessTestResults()
331 test_result.output_snippet = GetTestOutputSnippet(test_result, output); in ProcessTestResults()
332 final_results.push_back(test_result); in ProcessTestResults()
339 TestResult test_result; in ProcessTestResults() local
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cBufferStorageTests.cpp1657 bool test_result = true; in iterate() local
1682 verifyError(GL_INVALID_OPERATION, message.c_str(), test_result); in iterate()
1701 test_result); in iterate()
1708 …GL_INVALID_OPERATION, "BufferStorage was executed for target with immutable storage", test_result); in iterate()
1728 verifyError(GL_INVALID_VALUE, "NamedBufferStorage was executed with size == 0", test_result); in iterate()
1731 verifyError(GL_INVALID_VALUE, "NamedBufferStorage was executed with size == -16", test_result); in iterate()
1738 verifyError(GL_INVALID_VALUE, "BufferStorage was executed with size == 0", test_result); in iterate()
1741 verifyError(GL_INVALID_VALUE, "BufferStorage was executed with size == -16", test_result); in iterate()
1763 test_result); in iterate()
1770 …r(GL_INVALID_VALUE, "BufferStorage was executed with flags == GL_MAP_PERSISTENT_BIT", test_result); in iterate()
[all …]
Dgl4cMapBufferAlignmentTests.cpp121 bool test_result = true; in iterate() local
130 test_result = false; in iterate()
134 if (true == test_result) in iterate()
210 bool test_result = true; in iterate() local
294 test_result = false; in iterate()
317 test_result = false; in iterate()
338 test_result = false; in iterate()
344 test_result = false; in iterate()
362 if (true == test_result) in iterate()
/external/igt-gpu-tools/tests/
Dmeta_test.c92 static void test_result(bool result) in test_result() function
129 test_result(true);
134 test_result(true);
138 test_result(false);
/external/antlr/runtime/Perl5/t/lib/ANTLR/Runtime/
DTest.pm76 my $test_result;
98 $test_result = run_program([ get_perl(), '-Mblib', "-I$tmpdir", $test_program_file ]);
99 if ($test_result->{exit_code} >> 8 != 0) {
100 croak $test_result->{err};
106 my $actual = $test_result->{out};
/external/libusb/tests/
Dtestlib.c148 libusb_testlib_result test_result; in libusb_testlib_run_tests() local
165 test_result = test->function(); in libusb_testlib_run_tests()
166 libusb_testlib_logf("%s (%d)", test_result_to_str(test_result), test_result); in libusb_testlib_run_tests()
167 switch (test_result) { in libusb_testlib_run_tests()
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_non_semantic_test.cpp85 const TestResult& test_result = std::get<4>(GetParam()); in TEST_P() local
91 ASSERT_EQ(test_result.validation_result, in TEST_P()
93 if (test_result.error_str) { in TEST_P()
95 testing::ContainsRegex(test_result.error_str)); in TEST_P()
97 if (test_result.error_str2) { in TEST_P()
99 testing::ContainsRegex(test_result.error_str2)); in TEST_P()
Dval_builtins_test.cpp160 const TestResult& test_result = std::get<5>(GetParam()); in TEST_P() local
166 ASSERT_EQ(test_result.validation_result, in TEST_P()
168 if (test_result.error_str) { in TEST_P()
169 EXPECT_THAT(getDiagnosticString(), HasSubstr(test_result.error_str)); in TEST_P()
171 if (test_result.error_str2) { in TEST_P()
172 EXPECT_THAT(getDiagnosticString(), HasSubstr(test_result.error_str2)); in TEST_P()
189 const TestResult& test_result = std::get<7>(GetParam()); in TEST_P() local
196 ASSERT_EQ(test_result.validation_result, in TEST_P()
198 if (test_result.error_str) { in TEST_P()
199 EXPECT_THAT(getDiagnosticString(), HasSubstr(test_result.error_str)); in TEST_P()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_non_semantic_test.cpp85 const TestResult& test_result = std::get<4>(GetParam()); in TEST_P() local
91 ASSERT_EQ(test_result.validation_result, in TEST_P()
93 if (test_result.error_str) { in TEST_P()
95 testing::ContainsRegex(test_result.error_str)); in TEST_P()
97 if (test_result.error_str2) { in TEST_P()
99 testing::ContainsRegex(test_result.error_str2)); in TEST_P()
Dval_builtins_test.cpp160 const TestResult& test_result = std::get<5>(GetParam()); in TEST_P() local
166 ASSERT_EQ(test_result.validation_result, in TEST_P()
168 if (test_result.error_str) { in TEST_P()
169 EXPECT_THAT(getDiagnosticString(), HasSubstr(test_result.error_str)); in TEST_P()
171 if (test_result.error_str2) { in TEST_P()
172 EXPECT_THAT(getDiagnosticString(), HasSubstr(test_result.error_str2)); in TEST_P()
189 const TestResult& test_result = std::get<7>(GetParam()); in TEST_P() local
196 ASSERT_EQ(test_result.validation_result, in TEST_P()
198 if (test_result.error_str) { in TEST_P()
199 EXPECT_THAT(getDiagnosticString(), HasSubstr(test_result.error_str)); in TEST_P()
[all …]
/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi_cmds.c529 static int test_result; variable
545 return scnprintf(buf, PAGE_SIZE, "%d\n", test_result); in sys_result()
586 test_result = acpi_init(); in sys_tcase()
589 test_result = acpi_traverse_from_root(); in sys_tcase()
592 test_result = acpi_test_notify_handler(); in sys_tcase()
595 test_result = acpi_test_event_handler(); in sys_tcase()
598 test_result = acpi_global_lock(); in sys_tcase()
601 test_result = acpi_test_bus(); in sys_tcase()
604 test_result = acpi_test_resources(); in sys_tcase()
607 test_result = acpi_sleep_test(); in sys_tcase()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/test/
Dfile_test_gtest.cc84 const testing::TestResult *test_result = in FileTestGTest() local
86 int before_part_count = test_result->total_part_count(); in FileTestGTest()
93 for (int i = before_part_count; i < test_result->total_part_count(); i++) { in FileTestGTest()
94 if (test_result->GetTestPartResult(i).failed()) { in FileTestGTest()
/external/boringssl/src/crypto/test/
Dfile_test_gtest.cc84 const testing::TestResult *test_result = in FileTestGTest() local
86 int before_part_count = test_result->total_part_count(); in FileTestGTest()
93 for (int i = before_part_count; i < test_result->total_part_count(); i++) { in FileTestGTest()
94 if (test_result->GetTestPartResult(i).failed()) { in FileTestGTest()
/external/perfetto/test/stress_test/
Dstress_test.cc158 TestResult& test_result = test_results_.back(); in RunConfig() local
159 test_result.cfg_name = cfg_name; in RunConfig()
160 test_result.cfg = cfg; in RunConfig()
236 test_result.prod_rusage = producer.posix_rusage(); // Only keep last one in RunConfig()
241 test_result.svc_rusage = traced.posix_rusage(); in RunConfig()
242 test_result.run_time_ms = static_cast<uint32_t>((t_end - t_start) / 1000000); in RunConfig()
275 TestResult& test_result = test_results_.back(); in ReadbackTrace() local
285 test_result.trace_size_kb = static_cast<uint32_t>(file_size / 1000); in ReadbackTrace()
308 test_result.num_threads = static_cast<uint32_t>(ctx->threads.size()); in ReadbackTrace()
314 TestResult& test_result = test_results_.back(); in ParseTracePacket() local
[all …]

12345