* [patch][test] Add missing FSF / author headers / org-test dependency to test files
@ 2011-09-12 16:11 Martyn Jago
2011-09-12 16:39 ` Eric Schulte
0 siblings, 1 reply; 2+ messages in thread
From: Martyn Jago @ 2011-09-12 16:11 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 93 bytes --]
Add missing FSF / author headers and org-test dependency to some test
files.
Best, Martyn
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add missing FSF / author headers --]
[-- Type: text/x-patch, Size: 4680 bytes --]
From 39d437176f288d56dfdb2ccfabbfb712f9ce8504 Mon Sep 17 00:00:00 2001
From: Martyn Jago <martyn.jago@btinternet.com>
Date: Mon, 12 Sep 2011 17:07:21 +0100
Subject: [PATCH] Add missing FSF / author headers and org-test dependency to some test files
* testing/lisp/test-ob-awk.el:
* testing/lisp/test-ob-fortran.el:
* testing/lisp/test-ob-lilypond.el:
* testing/lisp/test-ob.el:
* testing/lisp/test-org-exp.el:
Add missing FSF / author headers and org-test dependency to some test
files.
---
testing/lisp/test-ob-awk.el | 16 ++++++++++++++++
testing/lisp/test-ob-fortran.el | 16 ++++++++++++++++
testing/lisp/test-ob-lilypond.el | 19 +++++++++++++++++--
testing/lisp/test-ob.el | 1 -
testing/lisp/test-org-exp.el | 15 +++++++++++++++
5 files changed, 64 insertions(+), 3 deletions(-)
diff --git a/testing/lisp/test-ob-awk.el b/testing/lisp/test-ob-awk.el
index 018dec4..34752f5 100644
--- a/testing/lisp/test-ob-awk.el
+++ b/testing/lisp/test-ob-awk.el
@@ -1,3 +1,18 @@
+;;; test-ob-awk.el --- tests for ob-awk.el
+
+;; Copyright (c) 2010 Eric Schulte
+;; Authors: Eric Schulte
+
+;; Released under the GNU General Public License version 3
+;; see: http://www.gnu.org/licenses/gpl-3.0.html
+
+(let ((load-path (cons (expand-file-name
+ ".." (file-name-directory
+ (or load-file-name buffer-file-name)))
+ load-path)))
+ (require 'org-test)
+ (require 'org-test-ob-consts))
+
(require 'ob-awk)
(ert-deftest ob-awk/input-none ()
@@ -17,3 +32,4 @@
(org-test-at-id "9e998b2a-3581-43fe-b26d-07d3c507b86a"
(org-babel-next-src-block 3)
(should (= 150 (org-babel-execute-src-block)))))
+
diff --git a/testing/lisp/test-ob-fortran.el b/testing/lisp/test-ob-fortran.el
index c3bde0b..1b9fb75 100644
--- a/testing/lisp/test-ob-fortran.el
+++ b/testing/lisp/test-ob-fortran.el
@@ -1,3 +1,18 @@
+;;; test-ob-fortran.el --- tests for ob-fortran.el
+
+;; Copyright (c) 2010 Eric Schulte
+;; Authors: Eric Schulte
+
+;; Released under the GNU General Public License version 3
+;; see: http://www.gnu.org/licenses/gpl-3.0.html
+
+(let ((load-path (cons (expand-file-name
+ ".." (file-name-directory
+ (or load-file-name buffer-file-name)))
+ load-path)))
+ (require 'org-test)
+ (require 'org-test-ob-consts))
+
(let ((load-path (cons (expand-file-name
"langs"
(expand-file-name
@@ -11,6 +26,7 @@
(file-name-directory
(or load-file-name buffer-file-name)))))))
load-path)))
+
(require 'ob-fortran))
(ert-deftest ob-fortran/assert ()
diff --git a/testing/lisp/test-ob-lilypond.el b/testing/lisp/test-ob-lilypond.el
index 8469823..2ca0597 100644
--- a/testing/lisp/test-ob-lilypond.el
+++ b/testing/lisp/test-ob-lilypond.el
@@ -1,11 +1,26 @@
+;;; test-ob-lilypond.el --- tests for ob-lilypond.el
+
+;; Copyright (c) 2010 Martyn Jago
+;; Authors: Martyn Jago
+
+;; Released under the GNU General Public License version 3
+;; see: http://www.gnu.org/licenses/gpl-3.0.html
+
+(let ((load-path (cons (expand-file-name
+ ".." (file-name-directory
+ (or load-file-name buffer-file-name)))
+ load-path)))
+ (require 'org-test)
+ (require 'org-test-ob-consts))
+
+(require 'ob-lilypond)
+
(save-excursion
(set-buffer (get-buffer-create "test-ob-lilypond.el"))
(setq ly-here
(file-name-directory
(or load-file-name (buffer-file-name)))))
-(require 'ob-lilypond)
-
(ert-deftest ob-lilypond/assert ()
(should t))
diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el
index d516798..1ed9474 100644
--- a/testing/lisp/test-ob.el
+++ b/testing/lisp/test-ob.el
@@ -12,7 +12,6 @@
load-path)))
(require 'org-test)
(require 'org-test-ob-consts))
- (require 'org-test)
(ert-deftest test-org-babel/src-name-regexp ()
(should(equal "^[ \t]*#\\+\\(srcname\\|source\\|function\\):[ \t]*"
diff --git a/testing/lisp/test-org-exp.el b/testing/lisp/test-org-exp.el
index b7d7387..348538f 100644
--- a/testing/lisp/test-org-exp.el
+++ b/testing/lisp/test-org-exp.el
@@ -1,3 +1,18 @@
+;;; test-org-exp.el --- tests for org-exp.el
+
+;; Copyright (c) 2010 Eric Schulte
+;; Authors: Eric Schulte
+
+;; Released under the GNU General Public License version 3
+;; see: http://www.gnu.org/licenses/gpl-3.0.html
+
+(let ((load-path (cons (expand-file-name
+ ".." (file-name-directory
+ (or load-file-name buffer-file-name)))
+ load-path)))
+ (require 'org-test)
+ (require 'org-test-ob-consts))
+
(ert-deftest test-org-exp/stripping-commas ()
"Test the stripping of commas from within blocks during export."
(org-test-at-id "76d3a083-67fa-4506-a41d-837cc48158b5"
--
1.7.3.4
[-- Attachment #3: Type: text/plain, Size: 161 bytes --]
---
Org-mode version 7.7 (release_7.7.279.g39d43)
GNU Emacs 24.0.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.35)
of 2011-08-21 on virtualmac.porkrind.org
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch][test] Add missing FSF / author headers / org-test dependency to test files
2011-09-12 16:11 [patch][test] Add missing FSF / author headers / org-test dependency to test files Martyn Jago
@ 2011-09-12 16:39 ` Eric Schulte
0 siblings, 0 replies; 2+ messages in thread
From: Eric Schulte @ 2011-09-12 16:39 UTC (permalink / raw)
To: Martyn Jago; +Cc: emacs-orgmode
I applied this patch, and then corrected some of the authors names.
Thanks again -- Eric
Martyn Jago <martyn.jago@btinternet.com> writes:
> Add missing FSF / author headers and org-test dependency to some test
> files.
>
> Best, Martyn
>
> From 39d437176f288d56dfdb2ccfabbfb712f9ce8504 Mon Sep 17 00:00:00 2001
> From: Martyn Jago <martyn.jago@btinternet.com>
> Date: Mon, 12 Sep 2011 17:07:21 +0100
> Subject: [PATCH] Add missing FSF / author headers and org-test dependency to some test files
> * testing/lisp/test-ob-awk.el:
> * testing/lisp/test-ob-fortran.el:
> * testing/lisp/test-ob-lilypond.el:
> * testing/lisp/test-ob.el:
> * testing/lisp/test-org-exp.el:
> Add missing FSF / author headers and org-test dependency to some test
> files.
>
> ---
> testing/lisp/test-ob-awk.el | 16 ++++++++++++++++
> testing/lisp/test-ob-fortran.el | 16 ++++++++++++++++
> testing/lisp/test-ob-lilypond.el | 19 +++++++++++++++++--
> testing/lisp/test-ob.el | 1 -
> testing/lisp/test-org-exp.el | 15 +++++++++++++++
> 5 files changed, 64 insertions(+), 3 deletions(-)
>
> diff --git a/testing/lisp/test-ob-awk.el b/testing/lisp/test-ob-awk.el
> index 018dec4..34752f5 100644
> --- a/testing/lisp/test-ob-awk.el
> +++ b/testing/lisp/test-ob-awk.el
> @@ -1,3 +1,18 @@
> +;;; test-ob-awk.el --- tests for ob-awk.el
> +
> +;; Copyright (c) 2010 Eric Schulte
> +;; Authors: Eric Schulte
> +
> +;; Released under the GNU General Public License version 3
> +;; see: http://www.gnu.org/licenses/gpl-3.0.html
> +
> +(let ((load-path (cons (expand-file-name
> + ".." (file-name-directory
> + (or load-file-name buffer-file-name)))
> + load-path)))
> + (require 'org-test)
> + (require 'org-test-ob-consts))
> +
> (require 'ob-awk)
>
> (ert-deftest ob-awk/input-none ()
> @@ -17,3 +32,4 @@
> (org-test-at-id "9e998b2a-3581-43fe-b26d-07d3c507b86a"
> (org-babel-next-src-block 3)
> (should (= 150 (org-babel-execute-src-block)))))
> +
> diff --git a/testing/lisp/test-ob-fortran.el b/testing/lisp/test-ob-fortran.el
> index c3bde0b..1b9fb75 100644
> --- a/testing/lisp/test-ob-fortran.el
> +++ b/testing/lisp/test-ob-fortran.el
> @@ -1,3 +1,18 @@
> +;;; test-ob-fortran.el --- tests for ob-fortran.el
> +
> +;; Copyright (c) 2010 Eric Schulte
> +;; Authors: Eric Schulte
> +
> +;; Released under the GNU General Public License version 3
> +;; see: http://www.gnu.org/licenses/gpl-3.0.html
> +
> +(let ((load-path (cons (expand-file-name
> + ".." (file-name-directory
> + (or load-file-name buffer-file-name)))
> + load-path)))
> + (require 'org-test)
> + (require 'org-test-ob-consts))
> +
> (let ((load-path (cons (expand-file-name
> "langs"
> (expand-file-name
> @@ -11,6 +26,7 @@
> (file-name-directory
> (or load-file-name buffer-file-name)))))))
> load-path)))
> +
> (require 'ob-fortran))
>
> (ert-deftest ob-fortran/assert ()
> diff --git a/testing/lisp/test-ob-lilypond.el b/testing/lisp/test-ob-lilypond.el
> index 8469823..2ca0597 100644
> --- a/testing/lisp/test-ob-lilypond.el
> +++ b/testing/lisp/test-ob-lilypond.el
> @@ -1,11 +1,26 @@
> +;;; test-ob-lilypond.el --- tests for ob-lilypond.el
> +
> +;; Copyright (c) 2010 Martyn Jago
> +;; Authors: Martyn Jago
> +
> +;; Released under the GNU General Public License version 3
> +;; see: http://www.gnu.org/licenses/gpl-3.0.html
> +
> +(let ((load-path (cons (expand-file-name
> + ".." (file-name-directory
> + (or load-file-name buffer-file-name)))
> + load-path)))
> + (require 'org-test)
> + (require 'org-test-ob-consts))
> +
> +(require 'ob-lilypond)
> +
> (save-excursion
> (set-buffer (get-buffer-create "test-ob-lilypond.el"))
> (setq ly-here
> (file-name-directory
> (or load-file-name (buffer-file-name)))))
>
> -(require 'ob-lilypond)
> -
> (ert-deftest ob-lilypond/assert ()
> (should t))
>
> diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el
> index d516798..1ed9474 100644
> --- a/testing/lisp/test-ob.el
> +++ b/testing/lisp/test-ob.el
> @@ -12,7 +12,6 @@
> load-path)))
> (require 'org-test)
> (require 'org-test-ob-consts))
> - (require 'org-test)
>
> (ert-deftest test-org-babel/src-name-regexp ()
> (should(equal "^[ \t]*#\\+\\(srcname\\|source\\|function\\):[ \t]*"
> diff --git a/testing/lisp/test-org-exp.el b/testing/lisp/test-org-exp.el
> index b7d7387..348538f 100644
> --- a/testing/lisp/test-org-exp.el
> +++ b/testing/lisp/test-org-exp.el
> @@ -1,3 +1,18 @@
> +;;; test-org-exp.el --- tests for org-exp.el
> +
> +;; Copyright (c) 2010 Eric Schulte
> +;; Authors: Eric Schulte
> +
> +;; Released under the GNU General Public License version 3
> +;; see: http://www.gnu.org/licenses/gpl-3.0.html
> +
> +(let ((load-path (cons (expand-file-name
> + ".." (file-name-directory
> + (or load-file-name buffer-file-name)))
> + load-path)))
> + (require 'org-test)
> + (require 'org-test-ob-consts))
> +
> (ert-deftest test-org-exp/stripping-commas ()
> "Test the stripping of commas from within blocks during export."
> (org-test-at-id "76d3a083-67fa-4506-a41d-837cc48158b5"
--
Eric Schulte
http://cs.unm.edu/~eschulte/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-12 16:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-12 16:11 [patch][test] Add missing FSF / author headers / org-test dependency to test files Martyn Jago
2011-09-12 16:39 ` Eric Schulte
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).