Home
last modified time | relevance | path

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

/system/bt/test/
Dgen_coverage.py151 test_name = test['test_name']
156 …f.write("<tr class='light-row'><td><pre><a href=\'" + os.path.join(test_name, "index.html") + "\'>…
157 test_name + "</a></pre></td>")
192 def get_profraw_for_test(test_name): argument
194 test_cmd = os.path.join(os.path.join(test_root, test_name), test_name)
196 logging.error('The test ' + test_name + ' does not exist, please compile first')
199 profraw_file_name = test_name + ".profraw"
200 profraw_path = os.path.join(WORKING_DIR, os.path.join(test_name, profraw_file_name))
204 logging.info('Generating profraw data for ' + test_name)
207 … logging.error('Test ' + test_name + ' failed. Please fix the test before generating coverage.')
[all …]
Drun_host_unit_tests.py125 def get_test_cmd_or_die(test_root, test_name, enable_xml, test_filter): argument
126 test_path = os.path.join(os.path.join(test_root, test_name), test_name)
133 log_output_path = os.path.join(dist_dir, 'gtest/{0}_test_details.xml'.format(test_name))
/system/chre/test/common/
Drun_tests.cc45 LOGD("[ RUN ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseStart()
51 LOGD("[ OK ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseEnd()
54 LOGD("[ FAILED ] %s.%s", test_case.suite_name, test_case.test_name); in TestCaseEnd()
70 test_case.test_name); in TestCaseDisabled()
/system/core/trusty/libtrusty/tipc-test/
Dtipc_test.c35 static const char *test_name = NULL; variable
126 test_name = strdup(optarg); in parse_options()
979 if (!test_name) { in main()
984 if (strcmp(test_name, "connect") == 0) { in main()
986 } else if (strcmp(test_name, "connect_foo") == 0) { in main()
988 } else if (strcmp(test_name, "burst_write") == 0) { in main()
990 } else if (strcmp(test_name, "select") == 0) { in main()
992 } else if (strcmp(test_name, "blocked_read") == 0) { in main()
994 } else if (strcmp(test_name, "closer1") == 0) { in main()
996 } else if (strcmp(test_name, "closer2") == 0) { in main()
[all …]
/system/libfmq/tests/
Dfmq_test.py69 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) variable
71 setattr(TestFmq, test_name, test)
/system/tools/hidl/test/hidl_test/
Dhidl_test.py69 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) variable
71 setattr(TestHidl, test_name, test)
/system/tools/hidl/test/java_test/
Dhidl_test_java.py76 test_name = 'test_%s_to_%s' % (short_name(client), short_name(server)) variable
78 setattr(TestHidlJava, test_name, test)
/system/testing/gtest_extras/tests/
DSystemTests.cpp78 void RunTest(const std::string& test_name, std::vector<const char*> extra_args = {});
79 void RunTestCaptureFooter(const std::string& test_name, std::string* footer,
81 void Verify(const std::string& test_name, const std::string& expected_output,
83 void VerifySortedOutput(const std::string& test_name, const std::string& expected_output,
107 std::string test_name(iter->substr(12)); in SortTestOutput() local
125 tests[test_name] = test_body; in SortTestOutput()
214 void SystemTests::RunTest(const std::string& test_name, std::vector<const char*> extra_args) { in RunTest() argument
228 std::string filter_arg("--gtest_filter=" + test_name); in RunTest()
234 void SystemTests::RunTestCaptureFooter(const std::string& test_name, std::string* footer, in RunTestCaptureFooter() argument
236 ASSERT_NO_FATAL_FAILURE(RunTest(test_name, extra_args)); in RunTestCaptureFooter()
[all …]
/system/core/init/
Dfirmware_handler_test.cpp33 void FirmwareTestWithExternalHandler(const std::string& test_name, bool expect_new_firmware) { in FirmwareTestWithExternalHandler() argument
34 auto test_path = GetExecutablePath() + " firmware " + test_name; in FirmwareTestWithExternalHandler()
Dfirmware_handler.h51 friend void FirmwareTestWithExternalHandler(const std::string& test_name,
/system/core/storaged/include/
Dstoraged_uid_monitor.h32 #define FRIEND_TEST(test_case_name, test_name) \ argument
33 friend class test_case_name##_##test_name##_Test
Dstoraged_info.h30 #define FRIEND_TEST(test_case_name, test_name) \ argument
31 friend class test_case_name##_##test_name##_Test
Dstoraged.h33 #define FRIEND_TEST(test_case_name, test_name) \ argument
34 friend class test_case_name##_##test_name##_Test
/system/extras/simpleperf/runtest/
Druntest.py169 test_name, argument
177 self.test_name = test_name
189 strs.append('Test test_name=%s' % self.test_name)
213 test_name = test.attrib['name']
269 test_name,
568 print('Skip test %s on %s' % (test.test_name, runner.target))
573 str = 'test %s on %s ' % (test.test_name, runner.target)
589 if test.test_name in selected_tests:
/system/testing/gtest_extras/
DIsolate.cpp141 std::string test_name = &buffer[2]; in EnumerateTests() local
142 auto space_index = test_name.find(' '); in EnumerateTests()
144 test_name.erase(space_index); in EnumerateTests()
146 if (test_name.back() == '\n') { in EnumerateTests()
147 test_name.resize(test_name.size() - 1); in EnumerateTests()
149 if (options_.allow_disabled_tests() || !StartsWithDisabled(test_name)) { in EnumerateTests()
151 tests_.push_back(std::make_tuple(suite_name, test_name)); in EnumerateTests()
732 test->test_name().c_str(), double(test->RunTimeNs()) / kNsPerMs, in WriteXmlResults()
DTest.h62 const std::string& test_name() const { return test_name_; } in test_name() function
/system/extras/simpleperf/scripts/test/
Ddo_test.py114 testcase_name, test_name = test.split('.')
115 if test_name == 'test_run_simpleperf_without_usb_connection':
268 test_name, test_success = msg.split()
270 self.test_results[test_name] = TestResult(self.try_time, test_success)
341 def _write_result(self, test_name: str, test_env: str, test_result: bool):
343 '%s %s %s' % (test_name, test_env, 'OK' if test_result else 'FAILED'),
346 print('%s %s FAILED' % (test_name, test_env),
Dtest_utils.py83 def get_test_dir(cls, test_name: str) -> Path:
85 return cls.test_base_dir / test_name
/system/bt/osi/test/
Dthread_test.cc24 TEST_F(ThreadTest, test_name) { in TEST_F() argument
/system/tools/aidl/tests/
Daidl_integration_test.py236 test_name = 'test_%s_to_%s' % (client.name, server.name) variable
238 setattr(TestAidl, test_name, test)
/system/bt/common/
Dmessage_loop_thread_unittest.cc136 TEST_F(MessageLoopThreadTest, test_name) { in TEST_F() argument