From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] Collection of code block snippets Date: Tue, 06 Sep 2011 11:13:09 -0600 Message-ID: <87bouxr3v1.fsf@gmail.com> References: <878vq48dvt.fsf@gmail.com> <87zkiiq4ko.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0zDI-0000LJ-Dq for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 13:13:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0zDE-0007at-Qj for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 13:13:32 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:37554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0zDE-0007aj-Ma for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 13:13:28 -0400 Received: by iagv1 with SMTP id v1so9298980iag.0 for ; Tue, 06 Sep 2011 10:13:27 -0700 (PDT) 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: Martyn Jago Cc: emacs-orgmode@gnu.org Hi Martyn, Martyn Jago writes: > Hi > > Rainer M Krug writes: > > [...] > >> >>> >>> > And if this could be done by the user to test .emacs configuration >>> > settings, that would be really great. >>> > >>> >>> That's a good idea. Simply running the Org-mode test suite is a good >>> way for users to test the sanity of their local config. >>> >> >> Yes - I have a few times run into problems due to my configuration file and >> only realized it later - if there would be ab org file which I could use to >> test easily my configuration directly after making the changes, life would >> have been much easier for me. This would also be useful for questions on the >> mailing list and for a kind of "quality control" for published configs on >> the web. > > In terms of running all the tests in 'batch mode' i.e. loading no > personal configuration files (for development purposes), I have put > together a small 'test-init.el' file to do that. > I just made three small changes to the testing framework so it is now possible to run the test suite in batch mode with the following. emacs -Q --batch -l path/to/org/testing/org-test.el --eval "(setq org-confirm-babel-evaluate nil)" -f org-test-run-all-tests Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/