From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: FYI: Org mode testing framework, Emacs 23 and 22 Date: Sun, 23 Oct 2011 19:56:30 +0200 Message-ID: <87sjmj4mnl.fsf@gnu.org> References: <874o0veejl.wl%dmaus@ictsoc.de> <87y5y7oxyt.fsf@gmail.com> <877h5f558c.wl%dmaus@ictsoc.de> <87aaaaokpq.fsf@gmail.com> <87botakwru.fsf@gnu.org> <80hb32w4sp.fsf@somewhere.org> <87vcrhyp5g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RI2Gs-0005Po-Dh for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 13:55:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RI2Gq-0001ST-Tr for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 13:55:42 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:55535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RI2Gq-0001SL-NP for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 13:55:40 -0400 Received: by wwf27 with SMTP id 27so2137635wwf.30 for ; Sun, 23 Oct 2011 10:55:40 -0700 (PDT) In-Reply-To: <87vcrhyp5g.fsf@gmail.com> (Eric Schulte's message of "Sat, 22 Oct 2011 10:19:55 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Sebastien Vauban , emacs-orgmode@gnu.org Hello, Eric Schulte writes: > $ time emacs -Q --batch \ > -l ~/.emacs.d/src/org/testing/org-test.el \ > --eval "(setq org-confirm-babel-evaluate nil)" \ > -f org-test-run-batch-tests 2>/dev/null 1>/dev/null \ > 4.00s user 0.44s system 56% cpu 7.834 total > > So at 8 seconds (on my machine) it shouldn't put too much load on the > server to run after every commit, we would just want to be sure that > multiple instances of the test suite are not run at once. A check to > only run the suite if it is not currently running shouldn't be difficult > to run. > > I can work with Jason offline to figure out how to set this up. I blindly trust you and Jason for finding the best solution here. If having tests after each commit does not create unwanted complexity, let's go with it. Thanks, -- Bastien