/external/v8/tools/unittests/ |
D | run_perf_test.py | 3 # Use of this source code is governed by a BSD-style license that can be 18 # Requires python-coverage and python-mock. Native python coverage 25 TEST_WORKSPACE = path.join(tempfile.gettempdir(), "test-v8-run-perf") 31 "flags": ["--flag"], 44 "flags": ["--flag"], 69 "flags": ["--flag2"], 82 "flags": ["--flag"], 120 self._test_input = path.join(TEST_WORKSPACE, "test.json") 125 # Fake output for each test run. 139 # Check that d8 is called from the correct cwd for each test run. [all …]
|
/external/toybox/tests/ |
D | ifconfig.test | 6 # Commands used: grep, grep -i, ip link, ip tuntap, wc -l 15 # hw ether|infiniband ADDRESS - set LAN hardware address (AA:BB:CC...) 16 # txqueuelen LEN - number of buffered packets before output blocks 18 # irq|io_addr|mem_start ADDR - micromanage obsolete hardware 19 # outfill|keepalive INTEGER - SLIP analog dialup line quality monitoring 20 # metric INTEGER - added to Linux 0.9.10 with comment "never used", still true 22 [ -f testing.sh ] && . testing.sh 24 if [ "$(id -u)" -ne 0 ] 33 # Add a dummy interface to test with 40 # Test Description: Disable the dummy0 interface [all …]
|
/external/ltp/doc/man3/ |
D | tst_res.3 | 23 .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 34 .TH TST_RES 3 01/21/2011 "Linux Test Project" 36 tst_resm \- Print result message 38 tst_resm_hexd \- Print result message, including specified buffer in hexadecimal format 40 tst_brkm \- Print result message and break remaining test cases 42 tst_old_flush \- Print any messages pending because of CONDENSE mode, and flush output stream 44 tst_exit \- Exit test with a meaningful exit value 46 tst_environ \- Keep results coming to original stdout 48 \fB#include "test.h"\fR 72 This library of functions are used by UNICOS tests to report results to [all …]
|
/external/autotest/client/common_lib/ |
D | gtest_parser.py | 2 # Use of this source code is governed by a BSD-style license that can be 11 """This class knows how to understand GTest test output. 28 # List of parsing errors, as human-readable strings. 31 # Tests are stored here as 'test.name': (status, [description]). 33 # The description is a list of lines detailing the test's error, as 45 # Regular expressions for parsing GTest logs. Test names look like 55 'Test timeout \([0-9]+ ms\) exceeded for ' + test_name_regexp) 56 self._disabled = re.compile(' YOU HAVE (\d+) DISABLED TEST') 57 self._flaky = re.compile(' YOU HAVE (\d+) FLAKY TEST') 60 'Suppression \(error hash=#([0-9A-F]+)#\):') [all …]
|
/external/autotest/client/site_tests/suite_HWQual/ |
D | README.txt | 2 Use of this source code is governed by a BSD-style license that can be 7 hardware qualification on a device under test. 13 - $: command line prompt 14 - $HOME: home directory of current user. 15 - AC: alternating current, implies device is not powered by battery. 16 - DUT: device under test 17 - Semi-Automated Test: test that runs with automation but requires manual 21 Test Setup 24 - Setup a Linux machine to serve as the Autotest server. The Autotest 30 - Create an installation directory on the Autotest server for the [all …]
|
/external/ltp/ |
D | ltpmenu | 18 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ## 26 # functionality to Compile, Execute and View Results of 27 # LTP test cases. 29 # Author: Manoj Iyer - manjo@mail.utexas.edu 31 # Thanks: Jim Choate - For suggesting the use of dialog command. 33 # History: March 26 2003 - Created. 35 # March 28 2003 - Removed gauges and put make commands in foreground. 36 # Robbie Williamson - robbiew@us.ibm.com 38 # March 31 2003 - Made scenario menu creation dynamic and code 39 # to pull the test descriptions from the scenario files. [all …]
|
/external/toolchain-utils/automation/clients/report/dejagnu/ |
D | summary.py | 16 """Stores the result of a single test case.""" 21 LINE_RE = re.compile(r'([A-Z]+):\s+([\w/+.-]+)(.*)') 43 # because every test run is performed in randomly named tmp directory we 46 # assume that 2nd field is a test path 54 # Remove junk from test description. 58 # remove include paths - they contain name of tmp directory 59 ('-I\S+', ''), 86 # generates some test files). Remove the prefix for these files. 93 """Returns string representation of a test result.""" 105 """Container for test results that were a part of single test run. [all …]
|
/external/libchrome/base/strings/ |
D | string_split_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 class SplitStringIntoKeyValuePairsTest : public testing::Test { 26 ':', // Key-value delimiter in TEST_F() 27 ',', // Key-value pair delimiter in TEST_F() 34 ':', // Key-value delimiter in TEST_F() 35 ',', // Key-value pair delimiter in TEST_F() 46 ':', // Key-value delimiter in TEST_F() 47 ',', // Key-value pair delimiter in TEST_F() 58 ':', // Key-value delimiter in TEST_F() 59 ',', // Key-value pair delimiter in TEST_F() [all …]
|
/external/autotest/site_utils/ |
D | generate_test_report | 3 # Use of this source code is governed by a BSD-style license that can be 9 This script parses the contents of one or more autoserv results folders and 10 generates test reports. 24 # Ensure the chromite site-package is installed. 32 # Restart the script so python now finds the autotest site-packages. 53 self.deadline = datetime.datetime.strptime(deadline, '%Y-%b-%d') 60 # ['sig 11'], '2011-Aug-18', 'http://crosbug/123456', 'developer'), 67 """Collects status and performance data from an autoserv results dir.""" 78 @param whitelist_chrome_crashes: Treat Chrome crashes as non-fatal. 90 @param testdir: autoserv test result directory path. [all …]
|
/external/v8/tools/testrunner/testproc/ |
D | result.py | 2 # Use of this source code is governed by a BSD-style license that can be 30 """Result consisting of multiple results. It can be used by processors that 31 create multiple subtests for each test and want to pass all results back. 35 def create(results): argument 36 """Create grouped result from the list of results. It filters out skipped 37 results. If all results are skipped results it returns skipped result. 40 results: list of pairs (test, result) 42 results = [(t, r) for (t, r) in results if not r.is_skipped] 43 if not results: 45 return GroupedResult(results) [all …]
|
/external/autotest/client/bin/result_tools/ |
D | utils_lib.py | 2 # Use of this source code is governed by a BSD-style license that can be 26 # A dictionary of sub-directories' summary: name: {directory_summary} 32 # Information of test result sizes to be stored in tko_job_keyvals. 33 # The total size (in kB) of test results that generated during the test, 35 # * server side test logs and result files. 36 # * client side test logs, sysinfo, system logs and crash dumps. 37 # Note that a test can collect the same test result files from DUT multiple 38 # times during the test, before and after each iteration/test. So the value of 41 # even if the test result throttling is not applied. 44 # client_result_collected_KB: The total size (in KB) of test results collected [all …]
|
/external/ltp/testcases/open_posix_testsuite/ |
D | NEWS | 2 --------------- 4 -June 03, 2005 Version 1.5.1 Released 5 PTS-1.5.1 has a plenty of AIO interface test additions and bug-fixes by Sebastien Decugis. Also the… 6 …-2.3.3 and kernel 2.6.10 with libposix-aio-0.3. The test result for this release can be found here… 9 -December 17, 2004 Version 1.5.0 Released 10 …test additions and bug-fixes. Added AIO test suite by Laurent Vivier. Special thanks to Sebastien … 12 -July 06, 2004 Version 1.4.3 Released 13 Here goes posixtest-1.3. Besides many bug fixes, this release includes new pthread test cases (conf… 15 -May 27, 2004 Version 1.4.2 Released 16 Posixtestsuite-1.4.2 adds several pthread test cases by Sebastien Decugis. Also there are a lot of … [all …]
|
/external/autotest/site_utils/bootperf-bin/ |
D | bootperf | 4 # Use of this source code is governed by a BSD-style license that can be 8 # results for later analysis by the 'showbootdata' script. 14 # --- BEGIN COMMON.SH BOILERPLATE --- 19 local common_paths=(/usr/lib/crosutils "$(dirname "$(readlink -f "$0")")/..") 24 if [ -r "${path}/common.sh" ]; then 33 # --- END COMMON.SH BOILERPLATE --- 38 # you're welcome to try. Let me know how it goes. :-) 41 DEFINE_string output_dir "" "output directory for results" o 43 DEFINE_boolean keep_logs "$FLAGS_FALSE" "keep autotest results" k 46 TEST='platform_BootPerfServer.bootperf' [all …]
|
/external/vixl/test/aarch64/ |
D | test-simulator-aarch64.cc | 32 #include "test-runner.h" 33 #include "test-utils.h" 35 #include "aarch64/test-simulator-inputs-aarch64.h" 36 #include "aarch64/test-simulator-traces-aarch64.h" 37 #include "aarch64/test-utils-aarch64.h" 39 #include "aarch64/cpu-features-auditor-aarch64.h" 40 #include "aarch64/macro-assembler-aarch64.h" 41 #include "aarch64/simulator-aarch64.h" 49 // real AArch64 hardware. The same test code is used to generate the trace; the 50 // results are printed to stdout when the test is run with [all …]
|
/external/autotest/server/ |
D | autoserv.py | 1 #!/usr/bin/python -u 2 # Copyright 2007-2008 Martin J. Bligh <mbligh@google.com>, Google Inc. 62 # Control segment to stage server-side package. 81 """Get a list of machine names from command line arg -m or a file. 85 @return: A list of machine names from command line arg -m or the 86 machines file specified in the command line arg -M. 113 """Stage server-side package. 115 This function calls a control segment to stage server-side package based on 119 The script returns None if no server-side package is available. However, 121 server-side package) not found. [all …]
|
D | autoserv | 1 #!/usr/bin/python -u 2 # Copyright 2007-2008 Martin J. Bligh <mbligh@google.com>, Google Inc. 62 # Control segment to stage server-side package. 81 """Get a list of machine names from command line arg -m or a file. 85 @return: A list of machine names from command line arg -m or the 86 machines file specified in the command line arg -M. 113 """Stage server-side package. 115 This function calls a control segment to stage server-side package based on 119 The script returns None if no server-side package is available. However, 121 server-side package) not found. [all …]
|
D | results_mocker.py | 2 # Use of this source code is governed by a BSD-style license that can be 5 """Mock out test results for puppylab. 26 # several non-essential directoris in the process or recording status. 38 "START\t----\t----\ttimestamp=%(timestamp)s\tlocaltime=%(date)s" 44 "END GOOD\t----\t----\ttimestamp=%(timestamp)s\tlocaltime=%(date)s") 51 """Class to mock out the results of a test.""" 54 """Create essential directories needed for faking test results. 57 test status already exist. 77 """Initialize a results mocker. 79 @param test_name: The name of the test, eg: dummy_Pass. [all …]
|
/external/grpc-grpc/tools/run_tests/python_utils/ |
D | upload_test_results.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 15 """Helper to upload Jenkins test results to BQ""" 31 _DESCRIPTION = 'Test results from master job run on Jenkins' 35 _PROJECT_ID = 'grpc-testing' 40 ('test_name', 'STRING', 'Individual test name'), 41 ('language', 'STRING', 'Language of test'), 42 ('platform', 'STRING', 'Platform used for test'), 43 ('config', 'STRING', 'Config used for test'), 44 ('compiler', 'STRING', 'Compiler used for test'), 45 ('iomgr_platform', 'STRING', 'Iomgr used for test'), [all …]
|
D | upload_rbe_results.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 15 """Uploads RBE results to BigQuery""" 30 _DESCRIPTION = 'Test results from master RBE builds on Kokoro' 34 _PROJECT_ID = 'grpc-testing' 40 ('test_case', 'STRING', 'Name of test case'), 41 ('result', 'STRING', 'Test or build result'), 42 ('timestamp', 'TIMESTAMP', 'Timestamp of test run'), 43 ('duration', 'FLOAT', 'Duration of the test run'), 53 assert os.path.isfile(api_key_file), 'Must add --api_key arg if not on ' \ 71 """Parse test duration string in '123.567s' format""" [all …]
|
/external/autotest/server/cros/ |
D | tradefed_test_unittest.py | 2 # Use of this source code is governed by a BSD-style license that can be 12 """Loads the test data of the given file name.""" 22 """Test for parse_tradefed_result.""" 30 # http://pantheon/storage/browser/chromeos-autotest-results/108103986-chromeos-test/ 39 # http://pantheon/storage/browser/chromeos-autotest-results/108291418-chromeos-test/ 47 # http://pantheon/storage/browser/chromeos-autotest-results/106540705-chromeos-test/ 55 # http://pantheon/storage/browser/chromeos-autotest-results/108855595-chromeos-test/ 63 # http://pantheon/storage/browser/chromeos-autotest-results/109040174-chromeos-test/ 71 _load_data('CtsAppTestCases-retry.txt'), 75 # http://pantheon/storage/browser/chromeos-autotest-results/116875512-chromeos-test/ [all …]
|
/external/autotest/client/site_tests/power_Standby/ |
D | power_Standby.py | 2 # Use of this source code is governed by a BSD-style license that can be 7 from autotest_lib.client.bin import test 17 class power_Standby(test.test): 18 """Measure Standby power test.""" 34 raise error.TestNAError('Skipping test because DUT has no battery.') 37 raise error.TestFail('Test hours must be greater than sample ' 41 # negligible. Note, reasonable rule of thumb is S0 idle is ~10-20 times 67 raise error.TestFail('Battery not charged adequately for test.') 74 results = {} 90 # potentially be another wake source that would spoil the test. [all …]
|
/external/toolchain-utils/bestflags/ |
D | task.py | 2 # Use of this source code is governed by a BSD-style license that can be 25 # Message indicating that the build or test failed. 33 # The maximum number of tries a test can have. Some tests may fail due to 35 # test should attempt before giving up. 49 A single test of performance with a particular set of flags. It records the 55 # The command that will be used in the test stage to test the tasks. 57 # The directory to log the compilation and test results. 62 """Set up the build and test command for the task and the log directory. 65 compile and test methods by passing different build_command and 71 test_command: The command that will be used in the test stage to test this [all …]
|
/external/autotest/server/cros/bluetooth/ |
D | bluetooth_adapter_tests.py | 2 # Use of this source code is governed by a BSD-style license that can be 16 from autotest_lib.server import test 98 try to fix the problem by re-creating the serial device and see if the 158 # Class of service is None for LE-only devices. Don't fail or parse it. 169 # Class of device is None for LE-only devices. Don't fail or parse it. 195 @returns: True if the serial device is re-created successfully. 248 Some method results, for example that of class_of_service, may be 0 which is 268 (1) re-creating a serial device, or 280 # Re-connection suffices to solve the problem. The problem 301 @param test_method: the test method to retry [all …]
|
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
D | SetOfProducedProducerTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 27 import org.junit.Test; 38 @Test 52 @Test 64 @Test 68 Results<Integer> results = Results.create(producer.get().get()); in delegateSetNpe() local 69 assertThat(results.successes).isEmpty(); in delegateSetNpe() 70 assertThat(results.failures).hasSize(1); in delegateSetNpe() 71 assertThat(Iterables.getOnlyElement(results.failures).getCause()) in delegateSetNpe() 75 @Test [all …]
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_idioms.py | 4 type(x) == T -> isinstance(x, T) 5 type(x) is T -> isinstance(x, T) 6 type(x) != T -> not isinstance(x, T) 7 type(x) is not T -> not isinstance(x, T) 90 def transform(self, node, results): argument 91 if "isinstance" in results: 92 return self.transform_isinstance(node, results) 93 elif "while" in results: 94 return self.transform_while(node, results) 95 elif "sorted" in results: [all …]
|