test-load.el 556 B

123456789101112131415161718
  1. ;; Load all test-ein-*.el files for interactive/batch use.
  2. ;; Usage:
  3. ;; emacs -Q -batch -L ... -l tests/test-load.el -f ert-run-tests-batch
  4. ;; You will need to set load paths using `-L' switch.
  5. (require 'ein-dev)
  6. (require 'ein-testing)
  7. (ein:setq-if-not ein:testing-dump-file-log "test-batch-log.log")
  8. (ein:setq-if-not ein:testing-dump-file-messages "test-batch-messages.log")
  9. (setq message-log-max t)
  10. (ein:load-files "^test-ein-.*\\.el$"
  11. (file-name-directory load-file-name)
  12. t) ; ignore-compiled