[gem5-dev] Change in gem5/gem5[master]: systemc: Make the verify.py --list option print a total count.

2018-08-28 Thread Gabe Black (Gerrit)
Gabe Black has submitted this change and it was merged. (  
https://gem5-review.googlesource.com/c/public/gem5/+/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
Reviewed-on: https://gem5-review.googlesource.com/11288
Reviewed-by: Gabe Black 
Maintainer: Gabe Black 
---
M src/systemc/tests/verify.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Gabe Black: Looks good to me, approved; Looks good to me, approved



diff --git a/src/systemc/tests/verify.py b/src/systemc/tests/verify.py
index 9cf3443..34ae931 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/c/public/gem5/+/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: 8
Gerrit-Owner: Gabe Black 
Gerrit-Reviewer: Andreas Sandberg 
Gerrit-Reviewer: Gabe Black 
Gerrit-Reviewer: Giacomo Travaglini 
Gerrit-Reviewer: Jason Lowe-Power 
Gerrit-Reviewer: Matthias Jung 
Gerrit-MessageType: merged
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: systemc: Make the verify.py --list option print a total count.

2018-08-21 Thread Gabe Black (Gerrit)

Hello Jason Lowe-Power, Matthias Jung, Giacomo Travaglini, Andreas Sandberg,

I'd like you to reexamine a change. Please visit

https://gem5-review.googlesource.com/c/public/gem5/+/11288

to look at the new patch set (#7).

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(-)


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/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: 7
Gerrit-Owner: Gabe Black 
Gerrit-Reviewer: Andreas Sandberg 
Gerrit-Reviewer: Gabe Black 
Gerrit-Reviewer: Giacomo Travaglini 
Gerrit-Reviewer: Jason Lowe-Power 
Gerrit-Reviewer: Matthias Jung 
Gerrit-MessageType: newpatchset
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: systemc: Make the verify.py --list option print a total count.

2018-06-16 Thread Gabe Black (Gerrit)
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 
Gerrit-MessageType: newchange
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev