Searched defs:lit (Results 1 - 25 of 49) sorted by relevance

12

/external/llvm/utils/lit/
H A Dlit.py4 import lit namespace
5 lit.main()
H A Dsetup.py1 import lit namespace
13 name = "lit",
14 version = lit.__version__,
16 author = lit.__author__,
17 author_email = lit.__email__,
24 *lit*
30 *lit* is a portable tool for executing LLVM and Clang style test suites,
31 summarizing their results, and providing indication of failures. *lit* is
48 The official *lit* documentation is in the man page, available online at the LLVM
49 Command Guide: http://llvm.org/cmds/lit
[all...]
/external/llvm/utils/lit/lit/formats/
H A Dshtest.py3 import lit.TestRunner namespace
11 return lit.TestRunner.executeShTest(test, litConfig,
H A Dbase.py5 import lit.Test namespace
6 import lit.util namespace
27 yield lit.Test.Test(testSuite, path_in_suite + (filename,),
76 test = lit.Test.Test(
88 return (lit.Test.UNSUPPORTED, 'Test is unsupported')
104 out, err, exitCode = lit.util.executeCommand(cmd)
108 return lit.Test.PASS,''
118 return lit.Test.FAIL, report
H A Dgoogletest.py5 import lit.Test namespace
6 import lit.TestRunner namespace
7 import lit.util namespace
32 lines = lit.util.capture([path, '--gtest_list_tests'],
69 yield lit.Test.Test(testSuite, testPath, localConfig, file_path=execpath)
106 return lit.Test.PASS, ''
108 out, err, exitCode = lit.util.executeCommand(
112 return lit.Test.PASS,''
114 return lit.Test.FAIL, out + err
/external/llvm/utils/lit/tests/
H A Dunittest-adaptor.py1 # Check the lit adaption to run under unittest.
12 import lit namespace
13 import lit.discovery namespace
16 unittest_suite = lit.discovery.load_test_suite([input_path])
/external/llvm/utils/lit/lit/
H A DLitTestCase.py4 import lit.Test namespace
7 TestCase adaptor for providing a 'unittest' compatible interface to 'lit' tests.
31 if result.code is lit.Test.UNRESOLVED:
H A DLitConfig.py6 import lit.Test namespace
7 import lit.formats namespace
8 import lit.TestingConfig namespace
9 import lit.util namespace
12 """LitConfig - Configuration data for a 'lit' test runner instance, shared
16 files, it is always passed in as the global variable 'lit' so that
40 self.config_prefix = config_prefix or 'lit'
74 self.bashPath = lit.util.which('bash', os.pathsep.join(self.path))
76 self.bashPath = lit.util.which('bash')
86 if not lit
[all...]
H A Ddiscovery.py9 import lit.run namespace
10 from lit.TestingConfig import TestingConfig
11 from lit import LitConfig, Test
31 # Check for a site config or a lit config.
236 from lit.LitTestCase import LitTestCase
239 litConfig = LitConfig.LitConfig(progname = 'lit',
251 run = lit.run.Run(litConfig, find_tests_for_inputs(litConfig, inputs))
H A DTestRunner.py7 import lit.ShUtil as ShUtil namespace
8 import lit.Test as Test namespace
9 import lit.util namespace
134 executable = lit.util.which(args[0], cfg.environment['PATH'])
243 return lit.Test.Result(Test.FAIL, "shell parser error on: %r" % ln)
299 return lit.util.executeCommand(command, cwd=cwd,
452 return lit.Test.Result(Test.UNRESOLVED, "Test has no run line!")
456 return lit.Test.Result(Test.UNRESOLVED,
464 return lit.Test.Result(Test.UNSUPPORTED,
475 if isinstance(res, lit
[all...]
H A Dmain.py4 lit - LLVM Integrated Tester.
6 See lit.pod for more information.
12 import lit.ProgressBar namespace
13 import lit.LitConfig namespace
14 import lit.Test namespace
15 import lit.run namespace
16 import lit.util namespace
17 import lit.discovery namespace
84 # Encode the current lit version as a schema version.
85 data['__version__'] = lit
[all...]
H A DShUtil.py4 import lit.util namespace
5 from lit.ShCommands import Command, Pipeline, Seq
78 lit.util.warning(
96 lit.util.warning(
108 lit.util.warning("missing quote character in %r" % self.data)
H A Drun.py20 import lit.Test namespace
172 result = lit.Test.Result(code, output)
173 elif not isinstance(result, lit.Test.Result):
183 result = lit.Test.Result(lit.Test.UNRESOLVED, output)
262 test.setResult(lit.Test.Result(lit.Test.UNRESOLVED, '', 0.0))
/external/llvm/utils/llvm-lit/
H A Dllvm-lit.in10 # Make sure we can find the lit package.
11 sys.path.insert(0, os.path.join(llvm_source_root, 'utils', 'lit'))
17 'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg'),
19 'lit.site.cfg')
26 os.path.join(clang_obj_root, 'test', 'lit.site.cfg')
30 os.path.join(clang_tools_extra_obj_root, 'test', 'lit.site.cfg')
35 os.path.join(lld_obj_root, 'test', 'lit.site.cfg')
43 import lit namespace
44 lit.main(builtin_parameters)
/external/liblzf/
H A Dlzf_c.c128 int lit; local
137 lit = 0; op++; /* start run */
168 if (op - !lit + 3 + 1 >= out_end) /* second the exact but rare test */
171 op [- lit - 1] = lit - 1; /* stop run */
172 op -= !lit; /* undo run if length is zero */
221 lit = 0; op++; /* start run */
262 lit++; *op++ = *ip++;
264 if (expect_false (lit == MAX_LIT))
266 op [- lit
[all...]
/external/oprofile/libpp/
H A Dlocate_images.cpp42 list<string>::const_iterator lit = file_list.begin(); local
44 for (; lit != lend; ++lit) {
45 value_type v(op_basename(*lit), op_dirname(*lit));
H A Dcallgraph_container.cpp430 list<image_set>::const_iterator lit; local
432 for (lit = lset.begin(); lit != lend; ++lit) {
435 = lit->files.end();
436 for (pit = lit->files.begin(); pit != pend; ++pit) {
/external/clang/test/SemaCXX/
H A Dcxx0x-defaulted-functions.cpp51 struct lit { constexpr lit() {} }; function in struct:lit
52 S<lit> s_lit; // ok
/external/stlport/test/unit/
H A Dalg_test.cpp140 list<int>::iterator lit = search_n(lint.begin(), lint.end(), 3, 3); local
141 CPPUNIT_ASSERT( lit != lint.end() );
142 CPPUNIT_ASSERT( *(lit++) == 3 );
143 CPPUNIT_ASSERT( *(lit++) == 3 );
144 CPPUNIT_ASSERT( *lit == 3 );
173 list<int>::iterator lit = search_n(lint.begin(), lint.end(), 3, 2, greater<int>()); local
174 CPPUNIT_ASSERT( lit != lint.end() );
175 CPPUNIT_ASSERT( *(lit++) > 2 );
176 CPPUNIT_ASSERT( *(lit++) > 2 );
177 CPPUNIT_ASSERT( *lit >
[all...]
H A Dlist_test.cpp183 list<int>::iterator lit; local
184 lit = l.erase(l.begin());
185 CPPUNIT_ASSERT( *lit == 1 );
187 lit = l.erase(l.begin(), --l.end());
188 CPPUNIT_ASSERT( *lit == 3 );
202 list<int>::iterator lit(l.begin());
204 CPPUNIT_ASSERT( lit != l.end() );
205 CPPUNIT_ASSERT( *(lit++) == 1 );
207 CPPUNIT_ASSERT( lit == l.end() );
210 lit
[all...]
H A Dunordered_test.cpp91 usettype::local_iterator lit, litEnd; local
93 lit = us.begin(us.bucket(i));
96 usettype::size_type bucket_pos = us.bucket(*lit);
97 for (; lit != litEnd; ++lit) {
98 CPPUNIT_ASSERT( us.bucket(*lit) == bucket_pos );
99 us_val.push_back(*lit);
106 //CPPUNIT_ASSERT( it != lit );
135 usettype::local_iterator lit, litEnd; local
137 lit
205 umaptype::local_iterator lit, litEnd; local
245 umaptype::local_iterator lit, litEnd; local
[all...]
/external/freetype/src/gzip/
H A Dinfcodes.c42 uInt lit; /* if LIT, literal */ member in union:inflate_codes_state::__anon21549
128 c->sub.lit = t->base;
213 OUTBYTE(c->sub.lit)
/external/openfst/src/include/fst/extensions/pdt/
H A Dreplace.h154 typename unordered_map<Label, size_t>::const_iterator lit = local
156 if (lit != label2id.end()) {
157 size_t nfst_id = lit->second;
/external/zlib/src/contrib/blast/
H A Dblast.c280 int lit; /* true if literals are coded */ local
320 lit = bits(s, 8);
321 if (lit > 1) return -1;
366 symbol = lit ? decode(s, &litcode) : bits(s, 8);
/external/chromium_org/third_party/libxslt/libxslt/
H A Dpattern.c1365 xmlChar *lit = NULL; local
1383 lit = xsltScanLiteral(ctxt);
1394 PUSH(XSLT_OP_ID, lit, NULL, novar);
1404 lit = xsltScanLiteral(ctxt);
1428 PUSH(XSLT_OP_KEY, lit, lit2, novar);
1433 lit = xsltScanLiteral(ctxt);
1445 PUSH(XSLT_OP_PI, lit, NULL, novar);

Completed in 2153 milliseconds

12