Reorganize unit-tests and test workflow

+ Moved unit tests out of tests/ and into their respective modules.
+ Rewrite makefile and added these tasks:
  + <MODULE>/<SUBMODULE> -- byte-compile a specific module
  + test:<MODULE>/<SUBMODULE> -- runs tests for a specific module
  + testi -- run tests in an interactive session of Emacs (WIP)
  + run -- opens an Emacs session with this config; useful when it is in
    a non-standard location.
This commit is contained in:
Henrik Lissner
2017-06-14 20:26:17 +02:00
parent cacd188286
commit 9c93c453e8
22 changed files with 511 additions and 423 deletions

View File

@ -5,7 +5,7 @@ before_install:
- export PATH="/home/travis/.evm/bin:$PATH"
- evm config path /tmp
- evm install $EVM_EMACS --use
- cp test/init.test.el init.el
- cp init.test.el init.el
- INSECURE=1 YES=1 make install
env:
- EVM_EMACS=emacs-25.1-travis