mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Add test for installing pymacs with empty PYTHONPATH
This commit is contained in:
parent
9ff46cbc51
commit
38aac32c26
20
test/el-get-issue-594.el
Normal file
20
test/el-get-issue-594.el
Normal file
|
@ -0,0 +1,20 @@
|
|||
;; https://github.com/dimitri/el-get/issues/586
|
||||
;;
|
||||
;; Many recipes use git-emacs github repo
|
||||
|
||||
(let ((debug-on-error t)
|
||||
;; (el-get-byte-compile nil)
|
||||
(el-get-verbose t)
|
||||
(el-get-default-process-sync t))
|
||||
(require 'el-get)
|
||||
;; Test Pymacs recipe with unset PYTHONPATH
|
||||
(setenv "PYTHONPATH" nil)
|
||||
(el-get 'sync 'pymacs)
|
||||
(el-get-init 'pymacs)
|
||||
(let ((pp (getenv "PYTHONPATH")))
|
||||
(assert pp nil
|
||||
"PYTHONPATH should be non-nil")
|
||||
(assert (not (string= pp "")) nil
|
||||
"PYTHONPATH should be non-empty")
|
||||
(assert (not (string-match-p ":" pp)) nil
|
||||
"PYTHONPATH should have only one element")))
|
Loading…
Reference in New Issue
Block a user