/external/llvm/utils/lit/ |
lit.py | 4 import lit namespace 5 lit.main()
|
setup.py | 1 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.html [all...] |
/external/llvm/utils/lit/lit/formats/ |
shtest.py | 3 import lit.TestRunner namespace 11 return lit.TestRunner.executeShTest(test, litConfig,
|
base.py | 5 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
|
googletest.py | 5 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/ |
unittest-adaptor.py | 1 # 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])
|
/frameworks/compile/libbcc/tests/debuginfo/ |
llvm-lit | 14 # Make sure we can find the lit package. 15 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit')) 21 'lit.site.cfg') 25 import lit namespace 26 lit.main(builtin_parameters)
|
/external/llvm/utils/lit/lit/ |
LitTestCase.py | 4 import lit.Test namespace 7 TestCase adaptor for providing a 'unittest' compatible interface to 'lit' tests. 31 if result.code is lit.Test.UNRESOLVED:
|
LitConfig.py | 6 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.util.checkToolsPath(dir, tools) [all...] |
discovery.py | 9 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))
|
TestRunner.py | 7 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.Test.Result) [all...] |
main.py | 4 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.__versioninfo_ [all...] |
ShUtil.py | 4 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)
|
run.py | 20 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/ |
llvm-lit.in | 10 # 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/oprofile/libpp/ |
locate_images.cpp | 42 list<string>::const_iterator lit = file_list.begin(); local 44 for (; lit != lend; ++lit) { 45 value_type v(op_basename(*lit), op_dirname(*lit));
|
/external/liblzf/ |
lzf_c.c | 128 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 - 1] = lit - 1; /* stop run * [all...] |
/external/liblzf/src/org/liblzf/ |
CLZF.java | 171 int lit = 0; local 195 if (oidx + lit + 1 + 3 >= out_len) 202 if (lit!=0) 204 out_data[oidx++] = (byte)(lit - 1); 205 lit = -lit; 207 out_data[oidx++] = in_data[iidx+lit]; 208 while ((++lit)!=0); 243 lit++; 246 if (lit == MAX_LIT [all...] |
/external/clang/test/SemaCXX/ |
cxx0x-defaulted-functions.cpp | 51 struct lit { constexpr lit() {} }; function in struct:lit 52 S<lit> s_lit; // ok
|
/external/openfst/src/include/fst/extensions/pdt/ |
replace.h | 154 typename unordered_map<Label, size_t>::const_iterator lit = local 156 if (lit != label2id.end()) { 157 size_t nfst_id = lit->second;
|
/external/stlport/test/unit/ |
alg_test.cpp | 140 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 > 2 ) [all...] |
list_test.cpp | 183 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 = l.begin() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
AbstractListTest.java | 101 ListIterator lit = list.listIterator(); local 102 assertTrue("Should not have previous", !lit.hasPrevious()); 103 assertTrue("Should have next", lit.hasNext()); 104 tempValue = (Integer) lit.next(); 107 tempValue = (Integer) lit.previous(); 149 ListIterator lit = sList.listIterator(); local 150 lit.add(new Object()); 151 lit.next(); 152 lit.remove(); 153 lit.next() [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
alg_test.cpp | 140 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 > 2 ) [all...] |
list_test.cpp | 183 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 = l.begin() [all...] |