{"id":186,"date":"2009-05-07T12:37:43","date_gmt":"2009-05-07T12:37:43","guid":{"rendered":"http:\/\/ccgi.standard8.plus.com\/blog\/?p=186"},"modified":"2017-08-15T22:18:49","modified_gmt":"2017-08-15T21:18:49","slug":"recent-changes-in-comm-centrals-test-mechanisms","status":"publish","type":"post","link":"https:\/\/thebanners.uk\/standard8\/2009\/05\/07\/recent-changes-in-comm-centrals-test-mechanisms\/","title":{"rendered":"Recent changes in comm-central&#8217;s test mechanisms"},"content":{"rendered":"<p>There&#8217;s been a few changes around comm-central&#8217;s automated testing recently that I&#8217;ve been meaning to post about.<\/p>\n<p>The most important changes to note are:<\/p>\n<ul>\n<li><code>make check<\/code> now only runs the compiled-code unit tests (we only have two of these in mailnews).<\/li>\n<li><code>make xpcshell-tests<\/code> now runs the xpcshell tests that were previously run as part of make check. I have just checked in the patch which means you can now do <code>make -C objdir\/mailnews xpcshell-tests<\/code> like you could with the check command before.<\/li>\n<li>The check-one and check-interactive commands remain the same.<\/li>\n<\/ul>\n<p>I have also just updated the <a href=\"https:\/\/wiki.mozilla.org\/MailNews:Tinderbox_Numbers_Explanation\">wiki page<\/a> explaining the numbers on the <a href=\"http:\/\/tinderbox.mozilla.org\/Thunderbird3.0\/\">Tinderbox<\/a> <a href=\"http:\/\/tinderbox.mozilla.org\/SeaMonkey\/\">pages<\/a>.<\/p>\n<p>The xpcshell-tests also now have shutdown leak statistics enabled. Unfortunately for mailnews we currently have a lot of <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=438922\">leaks due to our test harness<\/a> (which provides a consistent profile directory that isn&#8217;t the build directory and a few other things). We&#8217;re currently not cleaning the test harness leaks up as this would break check-interactive &#8211; a useful tool to developers. Hopefully this will be <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=384339\">fixed soon<\/a> (patch in review) and then we can tidy up our leak logs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s been a few changes around comm-central&#8217;s automated testing recently that I&#8217;ve been meaning to post about. The most important changes to note are: make check now only runs the compiled-code unit tests (we only have two of these in mailnews). make xpcshell-tests now runs the xpcshell tests that were previously run as part of &hellip; <a href=\"https:\/\/thebanners.uk\/standard8\/2009\/05\/07\/recent-changes-in-comm-centrals-test-mechanisms\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Recent changes in comm-central&#8217;s test mechanisms&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7,8],"tags":[],"class_list":["post-186","post","type-post","status-publish","format-standard","hentry","category-mozilla","category-seamonkey","category-thunderbird"],"_links":{"self":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":1,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":643,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/posts\/186\/revisions\/643"}],"wp:attachment":[{"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebanners.uk\/standard8\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}