Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/11288
Change subject: systemc: Make the verify.py --list option print a total
count.
......................................................................
systemc: Make the verify.py --list option print a total count.
Make the --list option of verify.py print a count of how many tests it
printed. Because --list respects the filter options, this is an easy
way to check how many tests have certain properties.
Change-Id: I03fac349a946631c20c8e6b49e0ad8934872898e
---
M src/systemc/tests/verify.py
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/systemc/tests/verify.py b/src/systemc/tests/verify.py
index a262baa..ee1489d 100755
--- a/src/systemc/tests/verify.py
+++ b/src/systemc/tests/verify.py
@@ -216,6 +216,7 @@
print('%s.%s' % (target, main_args.flavor))
for key, val in props.iteritems():
print(' %s: %s' % (key, val))
+ print('Total tests: %d' % len(filtered_tests))
else:
tests_to_run = list([
Test(target, main_args.flavor, main_args.build_dir, props) for
--
To view, visit https://gem5-review.googlesource.com/11288
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I03fac349a946631c20c8e6b49e0ad8934872898e
Gerrit-Change-Number: 11288
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev