Bug 809492 - Rename num_constructors test to num_static_constructors r?jmaher draft
authorWilliam Lachance <wlachance@mozilla.com>
Mon, 06 Feb 2017 15:17:07 -0500
changeset 479509 0a151c549e8d80f64fc6d18da458a3fa2ed3ed0b
parent 479455 12c02bf624c48903b155428f7c8a419ba7a333a6
child 544702 197f78d6ba0302cedd1bbac5b2ee05c785ec006f
push id44273
push userwlachance@mozilla.com
push dateMon, 06 Feb 2017 20:17:32 +0000
reviewersjmaher
bugs809492
milestone54.0a1
Bug 809492 - Rename num_constructors test to num_static_constructors r?jmaher MozReview-Commit-ID: 3bw2MDL8iuI
build/util/count_ctors.py
--- a/build/util/count_ctors.py
+++ b/build/util/count_ctors.py
@@ -49,16 +49,16 @@ def count_ctors(filename):
 
 if __name__ == '__main__':
     for f in sys.argv[1:]:
         perfherder_data = {
             "framework": {"name": "build_metrics"},
             "suites": [{
                 "name": "compiler_metrics",
                 "subtests": [{
-                    "name": "num_constructors",
+                    "name": "num_static_constructors",
                     "value": count_ctors(f),
                     "alertThreshold": 0.25
                 }]}
             ]
         }
         print "PERFHERDER_DATA: %s" % json.dumps(perfherder_data)