/gem5/ext/googletest/googletest/test/ |
H A D | gtest-test-part_test.cc | 170 TestPartResultArray results; local 171 EXPECT_EQ(0, results.size()); 177 TestPartResultArray results; local 178 results.Append(r1_); 179 EXPECT_EQ(1, results.size()); 180 EXPECT_STREQ("Failure 1", results.GetTestPartResult(0).message()); 186 TestPartResultArray results; local 187 results.Append(r1_); 188 results.Append(r2_); 189 EXPECT_EQ(2, results 199 TestPartResultArray results; local [all...] |
H A D | gtest_output_test_.cc | 949 TestPartResultArray results; local 953 &results); 958 EXPECT_EQ(0, results.size()) << "This shouldn't fail."; 1022 // of them are intended to fail), and then compare the test results
|
H A D | gtest_unittest.cc | 412 // have to set up a particular timezone to obtain predictable results. 1110 TestPartResultArray results; local 1114 &results); 1119 EXPECT_EQ(2, results.size()); 1120 EXPECT_TRUE(results.GetTestPartResult(0).nonfatally_failed()); 1121 EXPECT_TRUE(results.GetTestPartResult(1).fatally_failed()); 1125 TestPartResultArray results; local 1128 ScopedFakeTestPartResultReporter reporter(&results); 1131 EXPECT_EQ(1, results.size()); 1147 TestPartResultArray results; local [all...] |
/gem5/util/style/ |
H A D | style.py | 65 def prompt(self, prompt, results, default): 67 result = self._prompt(prompt, results, default) 68 if result in results: 72 def _prompt(self, prompt, results, default): 80 def _prompt(self, prompt, results, default): 91 def _prompt(self, prompt, results, default):
|
/gem5/ext/testlib/ |
H A D | result.py | 101 results = {} 103 helper.append_dictlist(results, test.result.value, test) 104 return results 133 results = {} 136 helper.append_dictlist(results, test.result.value, test) 137 return results 143 Return the path which results for a specific test case should be 154 def save(results, path, protocol=pickle.HIGHEST_PROTOCOL): 163 pickle.dump(results, f, protocol) 214 results [all...] |
H A D | main.py | 83 Performs an or reduce on all of the results. 199 # TODO Add results command for listing previous results. 305 # Load previous results 306 results = result.InternalSavedResults.load( 310 rerun_suites = (suite.uid for suite in results if suite.unsuccessful)
|
H A D | handlers.py | 92 Log handler which listens for test results and output saving data as 95 When the handler is closed it writes out test results in the python pickle 104 results to. 171 Performs an or reduce on all of the results. 183 # to reprint results 186 A log handler which listens to the log for test results 187 and reports the aggregate results when closed. 206 self.results = [] 216 self.results.append(result) 230 for result in self.results [all...] |
/gem5/util/cxx_config/ |
H A D | stats.cc | 84 Stats::VResult results = vector->value(); local 87 for (auto e = results.begin(); e != results.end(); ++e) {
|
/gem5/util/plot_dram/ |
H A D | PlotPowerStates.py | 45 # global results dict 46 results = {} variable 144 # Parse stats file and gather results 167 # store the value of the stat in the results dict 168 results[delay][bank_util][seq_bytes][state] = \ 177 # store the value of the stat in the results dict 178 results[delay][bank_util][seq_bytes][state] = senergy 180 # To add last traffic gen idle period stats to the results dict 256 l_states[state] = map(lambda x: results[delay][bank_util][x][state], 264 results[dela [all...] |
/gem5/tests/ |
H A D | tests.py | 48 import testing.results 57 "junit" : testing.results.JUnit, 58 "text" : testing.results.Text, 59 "summary" : testing.results.TextSummary, 60 "pickle" : testing.results.Pickle, 84 if issubclass(formatter, testing.results.JUnit): 152 The test results can be stored in multiple different output 212 help='Display pickled test results', 213 description='Display pickled test results', 224 The 'summary' format provides outputs the results o [all...] |
/gem5/tests/testing/ |
H A D | results.py | 112 self.results = run_results + verify_results 141 return sum([ r.runtime for r in self.results ]) 144 return all([ r for r in self.results ]) 158 """Save test results as a binary using Python's pickle 170 """Output test results as text.""" 180 for t in suite.results: 195 """Output test results as a text summary""" 217 """Output test results as JUnit XML""" 271 for test in suite.results: 285 x_suite.set("tests", str(len(suite.results))) [all...] |
H A D | units.py | 50 from results import UnitResult 134 Possible non-failure results:
|
H A D | tests.py | 44 from results import TestResult 215 """Run this test case and return a list of results"""
|
/gem5/src/cpu/ |
H A D | timing_expr.cc | 49 /* Reserve space to hold the results of evaluating the 54 results.resize(num_defns, 0); 82 context.results[index] = context.let->defns[index]->eval(context); 86 return context.results[index];
|
H A D | timing_expr.hh | 79 /** Context visible as sub expressions. results will hold the results 83 std::vector<uint64_t> results; member in class:TimingExprEvalContext
|
/gem5/ext/googletest/googletest/include/gtest/ |
H A D | gtest-spi.h | 62 // results. This reporter will only catch failures generated in the current 99 SingleFailureChecker(const TestPartResultArray* results,
|
/gem5/ext/pybind11/tests/ |
H A D | test_numpy_array.py | 264 results = m.converting_constructors([1, 2, 3]) 265 for a in results.values(): 267 assert results["array"].dtype == np.int_ 268 assert results["array_t<int32>"].dtype == np.int32 269 assert results["array_t<double>"].dtype == np.float64
|
/gem5/util/stats/ |
H A D | db.py | 427 results = Result(xmax + 1, ymax + 1) 429 result = results[run] 433 return results
|
/gem5/src/systemc/tests/ |
H A D | verify.py | 372 results = { 380 json.dump(results, rf) 407 help='Create a results.json file in the current directory.') 409 help='Create a results json file at the given path.') 410 parser.add_argument('--no-print-results', action='store_true', 493 result_path = os.path.join(os.getcwd(), 'results.json')
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest.cc | 289 "test results. Example: \"localhost:555\". The flag is effective only on " 333 // results of calling a given int-returning method on each. 562 // results. Intercepts only failures from the current thread. 572 // results. 628 // This predicate-formatter checks that 'results' contains a test part 634 const TestPartResultArray& results, 641 if (results.size() != 1) { 643 << " Actual: " << results.size() << " failures"; 644 for (int i = 0; i < results.size(); i++) { 645 msg << "\n" << results 631 HasOneFailure(const char* , const char* , const char* , const TestPartResultArray& results, TestPartResult::Type type, const string& substr) argument 670 SingleFailureChecker( const TestPartResultArray* results, TestPartResult::Type type, const string& substr) argument [all...] |