tests.py (11511:3c383d9a7c31) | tests.py (11542:ecd058e3dcbe) |
---|---|
1#!/usr/bin/env python 2# 3# Copyright (c) 2016 ARM Limited 4# All rights reserved 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 199 unchanged lines hidden (view full) --- 208 run_results = [ u.run() for u in self.run_units() ] 209 run_ok = all([not r.skipped() and r for r in run_results ]) 210 211 verify_results = [ 212 u.run() if run_ok else u.skip() 213 for u in self.verify_units() 214 ] 215 | 1#!/usr/bin/env python 2# 3# Copyright (c) 2016 ARM Limited 4# All rights reserved 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 199 unchanged lines hidden (view full) --- 208 run_results = [ u.run() for u in self.run_units() ] 209 run_ok = all([not r.skipped() and r for r in run_results ]) 210 211 verify_results = [ 212 u.run() if run_ok else u.skip() 213 for u in self.verify_units() 214 ] 215 |
216 return TestResult(self.test_name, run_results + verify_results) | 216 return TestResult(self.test_name, 217 run_results=run_results, 218 verify_results=verify_results) |
217 218 def __str__(self): 219 return self.test_name 220 221class ClassicTest(Test): 222 # The diff ignore list contains all files that shouldn't be diffed 223 # using DiffOutFile. These files typically use special-purpose 224 # diff tools (e.g., DiffStatFile). --- 131 unchanged lines hidden --- | 219 220 def __str__(self): 221 return self.test_name 222 223class ClassicTest(Test): 224 # The diff ignore list contains all files that shouldn't be diffed 225 # using DiffOutFile. These files typically use special-purpose 226 # diff tools (e.g., DiffStatFile). --- 131 unchanged lines hidden --- |