Home
last modified time | relevance | path

Searched refs:testname (Results 1 – 25 of 102) sorted by relevance

12345

/external/vboot_reference/tests/
Dtest_common.c21 int TEST_EQ(int result, int expected_result, const char* testname) { in TEST_EQ() argument
23 fprintf(stderr, "%s Test " COL_GREEN "PASSED\n" COL_STOP, testname); in TEST_EQ()
26 fprintf(stderr, "%s Test " COL_RED "FAILED\n" COL_STOP, testname); in TEST_EQ()
34 int TEST_NEQ(int result, int not_expected_result, const char* testname) { in TEST_NEQ() argument
36 fprintf(stderr, "%s Test " COL_GREEN "PASSED\n" COL_STOP, testname); in TEST_NEQ()
39 fprintf(stderr, "%s Test " COL_RED "FAILED\n" COL_STOP, testname); in TEST_NEQ()
48 const char* testname) { in TEST_PTR_EQ() argument
50 fprintf(stderr, "%s Test " COL_GREEN "PASSED\n" COL_STOP, testname); in TEST_PTR_EQ()
53 fprintf(stderr, "%s Test " COL_RED "FAILED\n" COL_STOP, testname); in TEST_PTR_EQ()
62 const char* testname) { in TEST_PTR_NEQ() argument
[all …]
Dtest_common.h14 int TEST_EQ(int result, int expected_result, const char* testname);
18 int TEST_NEQ(int result, int not_expected_result, const char* testname);
24 const char* testname);
30 const char* testname);
35 const char* testname);
39 int TEST_TRUE(int result, const char* testname);
43 int TEST_FALSE(int result, const char* testname);
47 int TEST_SUCC(int result, const char* testname);
/external/autotest/server/site_tests/platform_GCC/
Dplatform_GCC.py25 result, testname = line.split(': ', 1)
26 testname = testname.strip()
27 if testname in results:
28 counts[testname] += 1
29 unique_testname = '%s (%d)' % (testname, counts[testname])
31 counts[testname] = 1
32 unique_testname = testname
47 for testname in new_results.keys():
48 if testname not in baseline_results:
49 differences.append((testname, 'NOTEXECUTED',
[all …]
/external/autotest/client/site_tests/kernel_LTP/
Dltp-diff.py52 testname = s.group(1)
54 runs[i][testname] = status
55 testnames[testname] = 1
80 for testname in all_testnames:
85 if not runs[i].has_key(testname):
86 runs[i][testname] = "null"
87 if not runs[i-1].has_key(testname):
88 runs[i-1][testname] = "null"
90 if runs[i][testname] != runs[i-1][testname]:
101 testname_cleaned = re.sub('\s+', ',', testname)
[all …]
/external/autotest/client/tests/ltp/
Dltp-diff.py49 testname = s.group(1)
51 runs[i][testname] = status
52 testnames[testname] = 1
75 for testname in all_testnames:
80 if not runs[i].has_key(testname):
81 runs[i][testname] = "null"
82 if not runs[i-1].has_key(testname):
83 runs[i-1][testname] = "null"
85 if runs[i][testname] != runs[i-1][testname]:
96 testname_cleaned = re.sub('\s+', ',', testname)
[all …]
/external/autotest/server/cros/dynamic_suite/
Dtools.py192 def _testname_to_keyval_key(testname): argument
204 return testname.replace('/', '_')
211 def create_bug_keyvals(job_id, testname, bug_info): argument
221 testname = _testname_to_keyval_key(testname)
222 keyval_base = '%s_%s' % (job_id, testname) if job_id else testname
229 def get_test_failure_bug_info(keyvals, job_id, testname): argument
252 testname = _testname_to_keyval_key(testname)
253 keyval_base = '%s_%s' % (job_id, testname) if job_id else testname
/external/autotest/tko/parsers/
Dversion_0.py194 def __init__(self, subdir, testname, status, reason, test_kernel, argument
206 super(test, self).__init__(subdir, testname, status, reason,
234 def __init__(self, indent, status, subdir, testname, reason, argument
252 self.testname = self.parse_name(testname)
286 status, subdir, testname = parts[0:part_index]
302 return cls(indent, status, subdir, testname, reason,
340 not line.testname):
349 not line.testname):
372 line.testname, line.reason])
381 if (line.testname == "Autotest.install" and
[all …]
Dversion_1.py176 def __init__(self, indent, status, subdir, testname, reason, argument
182 self.status = self.subdir = self.testname = self.reason = None
187 testname, reason,
202 if self.testname != 'reboot':
244 def make_dummy_abort(indent, subdir, testname, timestamp, reason): argument
260 if not testname:
261 testname = '----'
269 return msg % (subdir, testname, timestamp_field, reason)
377 if (line.testname is None and line.subdir is None
388 msg %= (running_client.status, running_client.testname)
[all …]
Dversion_1_unittest.py69 self.assertEquals(line.testname, 'test_name')
87 self.assertEquals(line.testname, None)
99 self.assertEquals(line.testname, None)
115 self.assertEquals(line.testname, None)
132 self.assertEquals(line.testname, 'fields')
148 self.assertEquals(line.testname, 'second field')
328 self.testname = 'testname'
336 self.indent, None, self.testname, self.timestamp, self.reason)
339 '\t' * self.indent, self.testname, self.timestamp, self.reason))
345 self.indent, None, self.testname, None, self.reason)
[all …]
Dversion_0_unittest.py185 self.assertEquals(line.testname, "test_name")
201 self.assertEquals(line.testname, None)
212 self.assertEquals(line.testname, None)
227 self.assertEquals(line.testname, None)
243 self.assertEquals(line.testname, "test")
257 self.assertEquals(line.testname, "fields")
272 self.assertEquals(line.testname, "second field")
286 self.assertEquals(line.testname, "test")
/external/autotest/client/site_tests/graphics_GLBench/
Dgraphics_GLBench.py92 def is_no_checksum_test(self, testname): argument
98 if testname.startswith(prefix):
205 testname = key.strip()
212 raise error.TestFail('Unknown test unit "%s" for %s' % (unit, testname))
217 perf_value_name = '%s_%s' % (unit, testname)
233 keyvals[testname] = -3.0
234 failed_tests[testname] = 'GLError'
238 keyvals[testname] = 0.0
242 keyvals[testname] = -2.0
244 failed_tests[testname] = imagefile
[all …]
/external/elfutils/tests/
Dbacktrace-subr.sh63 testname=$3
64 check_main $bt $testname
65 check_gsignal $bt $testname
66 check_err $err $testname
72 testname=$2
74 echo >&2 $testname: arch not supported
82 testname=$2
83 check_unsupported $err $testname
91 echo >&2 $testname: arm needs debuginfo installed for all libraries
/external/icu/icu4j/perf-tests/
Dperftests.pl81 my $testname = $shortNames[$index];
93 my $testName = "DateFmt-$testname-pat$patternCounter-JDK";
103 my $testName = "DateFmt-$testname-pat$patternCounter";
126 my $testname = $shortNames[$index];
137 my $testName = "NumFmt-$testname-$patternName-JDK";
147 my $testName = "NumFmt-$testname-$patternName";
228 my $testname = "Coll-$locale-data$counter-StrCol";
230 $ICU->setAttribute("test"=> $testname);
236 my $testname = "Coll-$locale-data$counter-keyGen";
237 $Key->setAttribute("test"=> $testname);
[all …]
/external/eigen/blas/testing/
DCMakeLists.txt2 macro(ei_add_blas_test testname)
4 set(targetname ${testname})
6 set(filename ${testname}.f)
17 …add_test(${testname} "${Eigen_SOURCE_DIR}/blas/testing/runblastest.sh" "${testname}" "${Eigen_SOUR…
/external/webrtc/webrtc/tools/rtcbot/
Dmain.js74 function runTest(testname) { argument
75 if (testname in testSuites) {
76 console.log("Running test: " + testname);
78 testSuites[testname](test);
80 console.log("Unknown test: " + testname);
89 for (var testname in testSuites)
90 console.log(' ' + testname);
/external/autotest/client/bin/
Djob_unittest.py505 testname = "error_test"
506 outputdir = os.path.join(self.job.resultdir, testname)
508 testname, 'test').and_return(("", testname))
510 self.job.record.expect_call("START", testname, testname,
512 self.job._runtest.expect_call(testname, "", None, (), {}).and_raises(
514 self.job.record.expect_call("ERROR", testname, testname,
516 self.job.record.expect_call("END ERROR", testname, testname)
521 self.job.run_test(testname)
540 testname = "error_test"
541 outputdir = os.path.join(self.job.resultdir, testname)
[all …]
/external/autotest/server/site_tests/stress_ClientTestReboot/
Dcontrol23 --args="testname=NAME loops=N"
29 if 'testname' in args_dict and 'loops' in args_dict:
30 testname = args_dict.get('testname')
33 testname=testname, loops=loops)
37 '"testname=<test> loops=<number>"')
/external/eigen/cmake/
DEigenTesting.cmake12 macro(ei_add_test_internal testname testname_with_suffix)
15 set(filename ${testname}.cpp)
33 ei_add_target_property(${targetname} COMPILE_FLAGS "-DEIGEN_TEST_FUNC=${testname}")
89 # the unique mandatory parameter testname must correspond to a file
90 # <testname>.cpp which follows this pattern:
93 # void test_<testname>() { ... }
102 # this macro adds an executable <testname> as well as a ctest test
103 # named <testname> too.
106 # "ctest -V" or "ctest -V -R <testname>"
120 # test_<testname>_<N>
[all …]
/external/autotest/tko/
Dmodels.py92 def __init__(self, subdir, testname, status, reason, test_kernel, argument
96 self.testname = testname
134 def parse_test(cls, job, subdir, testname, status, reason, test_kernel, argument
157 tko_utils.dprint("parsing test %s %s" % (subdir, testname))
191 return constructor(subdir, testname, status, reason, test_kernel,
197 def parse_partial_test(cls, job, subdir, testname, reason, test_kernel, argument
217 tko_utils.dprint('parsing partial test %s %s' % (subdir, testname))
219 return cls(subdir, testname, 'RUNNING', reason, test_kernel,
Dtest.cgi36 testname = [test.testname for test in tests]
41 uniq_test = list(set(testname))
55 and test.testname == test_name]
/external/autotest/client/site_tests/network_RackWiFiConnect/
Dnetwork_RackWiFiConnect.py44 if test == service_test.testname:
63 service_test.testname)
158 if service_test.testname == test:
159 self._connect_and_assert(service_test.testname,
166 service_test.testname)
168 self._connect_and_assert(service_test.testname,
/external/v8/test/preparser/
Dtestcfg.py68 testname = os.path.join(filename, name)
73 test = testcase.TestCase(self, testname, flags=flags)
77 testname = name
80 testname = testname.replace("$" + key, replacement[key]);
82 Test(testname, testsource, expectation)
/external/autotest/site_utils/
Drun_suite.py358 retry_count=0, testname=None): argument
373 self.testname = testname
431 if not self.testname:
436 self.testname, WMATRIX_RETRY_URL % self.testname)
644 self.testname = None
727 if self.testname is not None:
728 return self.testname
733 self.testname = self.SUITE_PREP
734 return self.testname
739 testname= '%s_%s' % (self.view['job_name'], self.view['test_name'])
[all …]
/external/autotest/client/cros/image_comparison/
Dpublisher.py64 def publish_paths(self, image_paths, testname): argument
82 tags = self._generate_tags(testname)
103 def _generate_tags(self, testname): argument
116 'testname': testname,
/external/markdown/MarkdownTest/
DMarkdownTest.pl46 my $testname = $testfile;
47 $testname =~ s{.*/(.+)\.text$}{$1}i;
48 print "$testname ... ";

12345