]> code.delx.au - gnu-emacs-elpa/blobdiff - Rakefile
Further cleanup
[gnu-emacs-elpa] / Rakefile
index efbea56c50890eb788835e02f7f118aa3d345c79..2965eb9d5ba5a7699cb4a23e34901a26a8b406c4 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -16,9 +16,8 @@ FileUtils.mkdir_p('pkg')
 
 desc "run tests in batch mode"
 task :tests do
-  batch_run_line = "(yas-batch-run-tests t)"
-  sh "#{$EMACS} -Q -L . -l yasnippet-tests.el -nw" +
-    " --batch --eval '#{batch_run_line}'"
+  sh "#{$EMACS} -Q -L . -l yasnippet-tests.el" +
+    " --batch -f ert-run-tests-batch-and-exit"
 end
 
 desc "create a release package"