File: run-tests.sh

package info (click to toggle)
bm-el 201905-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 204 kB
  • sloc: lisp: 1,519; sh: 12; makefile: 2
file content (19 lines) | stat: -rwxr-xr-x 310 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

set -e

if [ -z "$EMACS" ] ; then
    EMACS="emacs"
fi


$EMACS -batch \
       -l ert \
       -l bm.el \
       -l bm-tests.el \
       -f ert-run-tests-batch-and-exit


$EMACS -Q --batch \
           --eval '(setq byte-compile-error-on-warn t)' \
           -f batch-byte-compile bm.el