From 2f0170612ee69397d78b20978eeb21ca3a615bc3 Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Fri, 23 Sep 2011 11:33:30 +0200 Subject: [PATCH] Have the tests depend on -L for the load-path, for portability. --- test/README.asciidoc | 2 +- test/el-get-issue-200.el | 1 - test/el-get-issue-284.el | 1 - test/el-get-issue-289.el | 1 - test/el-get-issue-303.el | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/test/README.asciidoc b/test/README.asciidoc index bcc944a20..2a5df14dd 100644 --- a/test/README.asciidoc +++ b/test/README.asciidoc @@ -11,7 +11,7 @@ Typical run: mkdir -p /tmp/test/.emacs.d rm -rf /tmp/test/.emacs.d/el-get/ - HOME=/tmp/test /Applications/Emacs.app/Contents/MacOS/Emacs -Q -batch -l test/el-get-issue-303.el + HOME=/tmp/test /usr/bin/emacs-snapshot-gtk -Q -batch -L . -l test/el-get-issue-303.el At the moment you need to run the el-get-issue scripts with some known working el-get version to know what to expect, and you probably need to have diff --git a/test/el-get-issue-200.el b/test/el-get-issue-200.el index 83a829f02..a9af0e5f8 100644 --- a/test/el-get-issue-200.el +++ b/test/el-get-issue-200.el @@ -5,7 +5,6 @@ (let ((debug-on-error t) ;; (el-get-byte-compile nil) (el-get-verbose t)) - (add-to-list 'load-path "/Users/dim/dev/emacs/el-get") (require 'el-get) (el-get 'sync 'yasnippet)) diff --git a/test/el-get-issue-284.el b/test/el-get-issue-284.el index f9dcf3a99..d16d1280b 100644 --- a/test/el-get-issue-284.el +++ b/test/el-get-issue-284.el @@ -6,7 +6,6 @@ ;; path. (let ((debug-on-error t)) - (add-to-list 'load-path "/Users/dim/dev/emacs/el-get") (setq el-get-byte-compile nil el-get-verbose t) (require 'el-get) diff --git a/test/el-get-issue-289.el b/test/el-get-issue-289.el index 0a409082a..0debdd3a1 100644 --- a/test/el-get-issue-289.el +++ b/test/el-get-issue-289.el @@ -8,7 +8,6 @@ ;; recipe or to make el-get-init respect the :depends clause. (let ((debug-on-error t)) - (add-to-list 'load-path "/Users/dim/dev/emacs/el-get") (setq el-get-byte-compile nil el-get-verbose t) (require 'el-get) diff --git a/test/el-get-issue-303.el b/test/el-get-issue-303.el index bf2b37ef2..804753ef5 100644 --- a/test/el-get-issue-303.el +++ b/test/el-get-issue-303.el @@ -13,6 +13,5 @@ (unichars) :type http :url "http://nwalsh.com/emacs/xmlchars/xmlunicode.el") (:name unichars :type http :url "http://nwalsh.com/emacs/xmlchars/unichars.el")))) - (add-to-list 'load-path "/Users/dim/dev/emacs/el-get") (require 'el-get) (el-get-install "xmlunicode"))