Home
last modified time | relevance | path

Searched refs:lit (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dsub1sp1_extracted.c89 MPFR_Add1sp1_state lit; in MPFR_Add1sp1_mk_state() local
90 lit.sh = sh; in MPFR_Add1sp1_mk_state()
91 lit.bx = bx; in MPFR_Add1sp1_mk_state()
92 lit.rb = rb; in MPFR_Add1sp1_mk_state()
93 lit.sb = sb; in MPFR_Add1sp1_mk_state()
94 return lit; in MPFR_Add1sp1_mk_state()
215 MPFR_Lib_mpfr_struct lit; in MPFR_Sub1sp1_mpfr_sub1sp1() local
216 lit.mpfr_prec = uu____0.mpfr_prec; in MPFR_Sub1sp1_mpfr_sub1sp1()
217 lit.mpfr_sign = (int32_t)-1; in MPFR_Sub1sp1_mpfr_sub1sp1()
218 lit.mpfr_exp = uu____0.mpfr_exp; in MPFR_Sub1sp1_mpfr_sub1sp1()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/libcxx/test/
H A Dformat.py9 import lit
10 import lit.formats
25 command = lit.TestRunner.applySubstitutions([command], config.substitutions,
38 tmpDir, _ = lit.TestRunner.getTempPaths(test)
67 substitutions = lit.TestRunner.getDefaultSubstitutions(test, tmpDir, tmpBase)
78 lit.TestRunner.IntegratedTestKeywordParser('FILE_DEPENDENCIES:',
79 lit.TestRunner.ParserKind.LIST,
81 lit.TestRunner.IntegratedTestKeywordParser('ADDITIONAL_COMPILE_FLAGS:',
82 lit.TestRunner.ParserKind.LIST,
86 scriptInTest = lit.TestRunner.parseIntegratedTestScript(test, additional_parsers=parsers,
[all …]
H A Dgooglebenchmark.py6 import lit.Test
7 import lit.TestRunner
8 import lit.util
9 from lit.formats.base import TestFormat
51 ln = lit.util.to_string(ln)
79 for fn in lit.util.listdir_files(dir_path,
86 yield lit.Test.Test(testSuite, testPath, localConfig,
100 return lit.Test.PASS, ''
103 out, err, exitCode = lit.util.executeCommand(
106 except lit.util.ExecuteCommandTimeoutException:
[all …]
/netbsd-src/external/bsd/liblzf/dist/cs/
H A DCLZF.cs171 int lit = 0; in lzf_compress()
195 if (oidx + lit + 1 + 3 >= out_len) in lzf_compress()
202 if (lit!=0) in lzf_compress()
204 out_data[oidx++] = (byte)(lit - 1); in lzf_compress()
205 lit = -lit; in lzf_compress()
207 out_data[oidx++] = in_data[iidx+lit]; in lzf_compress()
208 while ((++lit)!=0); in lzf_compress()
243 lit++; in lzf_compress()
246 if (lit == MAX_LIT) in lzf_compress()
252 lit = -lit; in lzf_compress()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/
H A DREADME.txt2 lit - A Software Testing Tool
5 lit is a portable tool for executing LLVM and Clang style test suites,
6 summarizing their results, and providing indication of failures. lit is designed
10 Contributing to lit
13 Please browse the Test Suite > lit category in LLVM's Bugzilla for ideas on
19 utils/lit/lit.py \
21 utils/lit/tests
23 Note that lit's tests depend on 'not' and 'FileCheck', LLVM utilities.
24 You will need to have built LLVM tools in order to run lit's test suite
27 You'll also want to confirm that lit continues to work when testing LLVM.
[all …]
H A DCMakeLists.txt5 "${CMAKE_CURRENT_SOURCE_DIR}/tests/lit.site.cfg.in"
6 "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg"
8 "${CMAKE_CURRENT_BINARY_DIR}/tests/lit.site.cfg"
17 add_custom_target(prepare-check-lit
20 …COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg" "${CMAKE_CURRENT_BINAR…
21 COMMENT "Preparing lit tests"
24 # Add rules for lit's own test suite
25 add_lit_testsuite(check-lit "Running lit's tests"
27 DEPENDS "FileCheck" "not" "prepare-check-lit"
31 set_target_properties(check-lit PROPERTIES FOLDER "Tests")
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/llvm/utils/llvm-lit/
H A DBUILD.gn7 import("//llvm/utils/llvm-lit/lit_path_function.gni")
9 write_cmake_config("llvm-lit") {
10 input = "llvm-lit.in"
11 output = "$root_out_dir/bin/llvm-lit"
14 # llvm-lit needs suffix.py for multiprocess to find a main module.
18 # lit's lit/llvm/config.py shells out to llvm-config.
34 "//clang-tools-extra/test/lit.cfg.py",
38 "//clang-tools-extra/test/Unit/lit.cfg.py",
42 "//clang-tools-extra/clangd/test/lit.cfg.py",
46 "//clang-tools-extra/clangd/unittests/lit.cfg.py",
[all …]
/netbsd-src/external/bsd/liblzf/dist/
H A Dlzf_c.c127 int lit; in lzf_compress_r() local
140 lit = 0; op++; /* start run */ in lzf_compress_r()
172 if (op - !lit + 3 + 1 >= out_end) /* second the exact but rare test */ in lzf_compress_r()
175 op [- lit - 1] = lit - 1; /* stop run */ in lzf_compress_r()
176 op -= !lit; /* undo run if length is zero */ in lzf_compress_r()
224 lit = 0; op++; /* start run */ in lzf_compress_r()
265 lit++; *op++ = *ip++; in lzf_compress_r()
268 if (expect_false (lit == MAX_LIT)) in lzf_compress_r()
270 op [- lit - 1] = lit - 1; /* stop run */ in lzf_compress_r()
271 lit = 0; op++; /* start run */ in lzf_compress_r()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/test-data-micro/
H A Ddummy_format.py7 import lit.formats
8 import lit.Test
10 class DummyFormat(lit.formats.FileBasedTest):
23 result = lit.Test.Result(getattr(lit.Test, result_code),
30 metric = lit.Test.IntMetricValue(value)
32 metric = lit.Test.RealMetricValue(value)
39 micro_result = lit.Test.Result(getattr(lit.Test, result_code, ''))
44 metric = lit.Test.IntMetricValue(value)
46 metric = lit.Test.RealMetricValue(value)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/
H A Dlit.cfg8 import lit.formats
9 from lit.llvm import llvm_config
11 # Configuration file for the 'lit' test runner.
14 config.name = 'lit'
17 config.test_format = lit.formats.ShTest(execute_external=False)
34 # ``lit.py``, so use `llvm_src_root` instead.
35 lit_path = os.path.join(llvm_src_root, 'utils', 'lit')
39 # Required because some tests import the lit module
45 # incompatible lit module installed inside the user-site packages directory, as it gets prioritized…
49 # Add llvm and lit tools directories if this config is being loaded indirectly.
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/
H A Dmain.py13 import lit.cl_arguments
14 import lit.discovery
15 import lit.display
16 import lit.LitConfig
17 import lit.reports
18 import lit.run
19 import lit.Test
20 import lit.util
21 from lit.TestTimes import record_test_times
25 opts = lit.cl_arguments.parse_args()
[all …]
H A Dreports.py6 import lit.Test
20 unexecuted_codes = {lit.Test.EXCLUDED, lit.Test.SKIPPED}
25 data['__version__'] = lit.__versioninfo__
88 self.skipped_codes = {lit.Test.EXCLUDED,
89 lit.Test.SKIPPED, lit.Test.UNSUPPORTED}
144 if code == lit.Test.EXCLUDED:
146 if code == lit.Test.SKIPPED:
149 assert code == lit.Test.UNSUPPORTED
159 self.skipped_codes = {lit.Test.EXCLUDED,
160 lit.Test.SKIPPED, lit.Test.UNSUPPORTED}
H A DLitTestCase.py3 import lit.discovery
4 import lit.LitConfig
5 import lit.worker
31 result = lit.worker._execute(self._test, self._lit_config)
34 if result.code is lit.Test.UNRESOLVED:
45 lit_config = lit.LitConfig.LitConfig(
58 tests = lit.discovery.find_tests_for_inputs(lit_config, inputs, False)
H A DLitConfig.py7 import lit.Test
8 import lit.formats
9 import lit.TestingConfig
10 import lit.util
89 return lit.util.killProcessAndChildrenIsSupported()
124 self.bashPath = lit.util.which('bash', os.pathsep.join(self.path))
126 self.bashPath = lit.util.which('bash')
138 _, _, exitCode = lit.util.executeCommand(command)
151 if not lit.util.checkToolsPath(dir, tools):
154 dir = lit.util.whichTools(tools, paths)
[all …]
H A Drun.py5 import lit.Test
6 import lit.util
7 import lit.worker
57 skipped = lit.Test.Result(lit.Test.SKIPPED)
69 pool = multiprocessing.Pool(self.workers, lit.worker.initialize,
73 pool.apply_async(lit.worker.execute, args=[test],
113 ncpus = lit.util.usable_core_count()
/netbsd-src/external/bsd/tre/dist/lib/
H A Dtre-ast.c39 tre_literal_t *lit; in tre_ast_new_literal() local
44 lit = node->obj; in tre_ast_new_literal()
45 lit->code_min = code_min; in tre_ast_new_literal()
46 lit->code_max = code_max; in tre_ast_new_literal()
47 lit->position = position; in tre_ast_new_literal()
139 tre_literal_t *lit; in tre_do_print() local
146 lit = ast->obj; in tre_do_print()
147 code_min = lit->code_min; in tre_do_print()
148 code_max = lit->code_max; in tre_do_print()
149 pos = lit->position; in tre_do_print()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/lit/formats/
H A Dgoogletest.py7 import lit.Test
8 import lit.TestRunner
9 import lit.util
58 ln = lit.util.to_string(ln)
99 for fn in lit.util.listdir_files(dir_path,
106 yield lit.Test.Test(testSuite, testPath, localConfig,
123 return lit.Test.PASS, ''
128 out, err, exitCode = lit.util.executeCommand(
131 except lit.util.ExecuteCommandTimeoutException:
132 return (lit.Test.TIMEOUT,
[all …]
H A Dbase.py4 import lit.Test
5 import lit.util
26 yield lit.Test.Test(testSuite, path_in_suite + (filename,),
75 test = lit.Test.Test(
87 return (lit.Test.UNSUPPORTED, 'Test is unsupported')
103 out, err, exitCode = lit.util.executeCommand(cmd)
107 return lit.Test.PASS,''
117 return lit.Test.FAIL, report
126 return lit.Test.UNSUPPORTED
128 out, err, exitCode = lit.util.executeCommand(test.getSourcePath())
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/unit/
H A DTestRunner.py10 import lit.discovery
11 import lit.LitConfig
12 import lit.Test as Test
13 from lit.TestRunner import ParserKind, IntegratedTestKeywordParser, \
27 lit_config = lit.LitConfig.LitConfig(progname='lit',
43 tests = lit.discovery.find_tests_for_inputs(lit_config, inputs, False)
79 if isinstance(script, lit.Test.Result):
133 self.assertTrue(isinstance(script, lit.Test.Result))
134 self.assertEqual(script.code, lit.Test.UNRESOLVED)
144 self.assertTrue(isinstance(script, lit.Test.Result))
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/CommandGuide/
H A Dlit.rst1 lit - LLVM Integrated Tester
4 .. program:: lit
9 :program:`lit` [*options*] [*tests*]
14 :program:`lit` is a portable tool for executing LLVM and Clang style test
16 :program:`lit` is designed to be a lightweight testing tool with as simple a
19 :program:`lit` should be run with one or more *tests* to run specified on the
24 tests have been run :program:`lit` will print summary information on the number
26 :program:`lit` program will execute with a non-zero exit code if any tests
29 By default :program:`lit` will use a succinct progress display and will only
31 options controlling the :program:`lit` progress display and output.
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/test-data/
H A Ddummy_format.py7 import lit.formats
8 import lit.Test
10 class DummyFormat(lit.formats.FileBasedTest):
23 result = lit.Test.Result(getattr(lit.Test, result_code),
30 metric = lit.Test.IntMetricValue(value)
32 metric = lit.Test.RealMetricValue(value)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/xunit-output/
H A Ddummy_format.py7 import lit.formats
8 import lit.Test
10 class DummyFormat(lit.formats.FileBasedTest):
23 result = lit.Test.Result(getattr(lit.Test, result_code),
35 metric = lit.Test.IntMetricValue(value)
37 metric = lit.Test.RealMetricValue(value)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/use-tool-search-env/
H A Dlit.cfg1 import lit.formats
4 config.test_format = lit.formats.ShTest()
7 import lit.llvm
8 lit.llvm.initialize(lit_config, config)
11 lit.llvm.llvm_config.with_environment('TOOL_LOCATION', path)
12 lit.llvm.llvm_config.use_llvm_tool('test-tool', search_env='TOOL_LOCATION')
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/lld-features/
H A Dlit.cfg1 import lit.formats
4 config.test_format = lit.formats.ShTest()
8 import lit.llvm
9 lit.llvm.initialize(lit_config, config)
16 lit.llvm.llvm_config.with_environment('PATH', curdir, append_path=True)
17 lit.llvm.llvm_config.use_lld(use_installed=True)
/netbsd-src/external/apache2/llvm/dist/llvm/utils/lit/tests/Inputs/custom-result-category/
H A Dformat.py1 import lit
2 import lit.formats
4 CUSTOM_PASS = lit.Test.ResultCode('CUSTOM_PASS', 'My Passed', False)
5 CUSTOM_FAILURE = lit.Test.ResultCode('CUSTOM_FAILURE', 'My Failed', True)
8 class MyFormat(lit.formats.ShTest):

12345678910>>...12