Changeset - 14a3249934f4
[Not reviewed]
0 1 0
Sergey Pashinin - 12 years ago 2013-10-02 22:12:46
sergey@pashinin.com
more tests added
1 file changed with 13 insertions and 0 deletions:
0 comments (0 inline, 0 general)
Makefile
Show inline comments
 
@@ -7,11 +7,24 @@ TRAVIS_FILE = .travis.yml
 

	
 
# Compile with noninteractive and relatively clean environment.
 
BATCHFLAGS = -batch -q --no-site-file
 
FLAGS = -L src -batch -l cl.el -l ido.el -l workgroups2.el --eval "(ido-mode t)"
 
FLAGSWG = -L src -batch -l cl.el -l ido.el -l workgroups2.el --eval "(ido-mode t)" --eval "(workgroups-mode 1)"
 

	
 
test:
 
# just load all files
 
	${EMACS} -L src $(BATCHFLAGS) -f batch-byte-compile $(TEST_DIR)/*.el
 

	
 
# wg-mode-line-string
 
	${EMACS} -L src -batch -l cl.el -l workgroups-functions.el --eval '(message (wg-mode-line-string))'
 

	
 
# desktop-save-mode
 
	${EMACS} $(FLAGS) --eval "(desktop-save-mode 1)" --eval "(workgroups-mode 1)"
 

	
 
# WGs list length
 
	${EMACS} $(FLAGSWG) --eval "(message (number-to-string (length (wg-workgroup-list))))"
 

	
 
# show WG name
 
	${EMACS} $(FLAGSWG) --eval "(message (wg-workgroup-name (wg-current-workgroup)))"
 

	
 
test-ido:
 
	emacs -Q -L src -l cl.el -l ido.el -l workgroups2.el --eval "(ido-mode t)" --eval "(workgroups-mode 1)"
0 comments (0 inline, 0 general)