diff options
| author | Glenn Morris | 2014-05-07 20:34:20 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-05-07 20:34:20 -0700 |
| commit | 606695a67801acfd1792110e4ea3228b50b0117d (patch) | |
| tree | a3c2dee68c4e4910e84c30d41950f9dbbf016cfa /test | |
| parent | b406487f5227bb0f26844aea233a7b8d4a3709db (diff) | |
| download | emacs-606695a67801acfd1792110e4ea3228b50b0117d.tar.gz emacs-606695a67801acfd1792110e4ea3228b50b0117d.zip | |
test/automated/vc-bzr.el: disable bzr's logging
This is for systems like hydra, where HOME can be read-only/absent.
See e.g. <http://hydra.nixos.org/build/10870893>.
* test/automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781)
(vc-bzr-test-faulty-bzr-autoloads): Disable bzr logging.
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/vc-bzr.el | 12 |
2 files changed, 14 insertions, 3 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 0a3e89e7385..d19a04ed77d 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-05-08 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/vc-bzr.el (vc-bzr-test-bug9726, vc-bzr-test-bug9781) | ||
| 4 | (vc-bzr-test-faulty-bzr-autoloads): Disable bzr logging. | ||
| 5 | |||
| 1 | 2014-05-05 Dmitry Gutov <dgutov@yandex.ru> | 6 | 2014-05-05 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 7 | ||
| 3 | * automated/ruby-mode-tests.el | 8 | * automated/ruby-mode-tests.el |
diff --git a/test/automated/vc-bzr.el b/test/automated/vc-bzr.el index e2ea3f6aeea..5cfa3c2691f 100644 --- a/test/automated/vc-bzr.el +++ b/test/automated/vc-bzr.el | |||
| @@ -33,7 +33,9 @@ | |||
| 33 | (skip-unless (executable-find vc-bzr-program)) | 33 | (skip-unless (executable-find vc-bzr-program)) |
| 34 | (let* ((tempdir (make-temp-file "vc-bzr-test" t)) | 34 | (let* ((tempdir (make-temp-file "vc-bzr-test" t)) |
| 35 | (ignored-dir (expand-file-name "ignored-dir" tempdir)) | 35 | (ignored-dir (expand-file-name "ignored-dir" tempdir)) |
| 36 | (default-directory (file-name-as-directory tempdir))) | 36 | (default-directory (file-name-as-directory tempdir)) |
| 37 | (process-environment (cons (format "BZR_LOG=%s" null-device) | ||
| 38 | process-environment))) | ||
| 37 | (unwind-protect | 39 | (unwind-protect |
| 38 | (progn | 40 | (progn |
| 39 | (make-directory ignored-dir) | 41 | (make-directory ignored-dir) |
| @@ -64,7 +66,9 @@ | |||
| 64 | (let* ((tempdir (make-temp-file "vc-bzr-test" t)) | 66 | (let* ((tempdir (make-temp-file "vc-bzr-test" t)) |
| 65 | (subdir (expand-file-name "subdir" tempdir)) | 67 | (subdir (expand-file-name "subdir" tempdir)) |
| 66 | (file (expand-file-name "file" tempdir)) | 68 | (file (expand-file-name "file" tempdir)) |
| 67 | (default-directory (file-name-as-directory tempdir))) | 69 | (default-directory (file-name-as-directory tempdir)) |
| 70 | (process-environment (cons (format "BZR_LOG=%s" null-device) | ||
| 71 | process-environment))) | ||
| 68 | (unwind-protect | 72 | (unwind-protect |
| 69 | (progn | 73 | (progn |
| 70 | (call-process vc-bzr-program nil nil nil "init") | 74 | (call-process vc-bzr-program nil nil nil "init") |
| @@ -100,7 +104,9 @@ | |||
| 100 | (let* ((tempdir (make-temp-file "vc-bzr-test" t)) | 104 | (let* ((tempdir (make-temp-file "vc-bzr-test" t)) |
| 101 | (file (expand-file-name "foo.el" tempdir)) | 105 | (file (expand-file-name "foo.el" tempdir)) |
| 102 | (default-directory (file-name-as-directory tempdir)) | 106 | (default-directory (file-name-as-directory tempdir)) |
| 103 | (generated-autoload-file (expand-file-name "loaddefs.el" tempdir))) | 107 | (generated-autoload-file (expand-file-name "loaddefs.el" tempdir)) |
| 108 | (process-environment (cons (format "BZR_LOG=%s" null-device) | ||
| 109 | process-environment))) | ||
| 104 | (unwind-protect | 110 | (unwind-protect |
| 105 | (progn | 111 | (progn |
| 106 | (call-process vc-bzr-program nil nil nil "init") | 112 | (call-process vc-bzr-program nil nil nil "init") |