File: run_test.sh

package info (click to toggle)
swift-mode 9.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: lisp: 13,883; sh: 59; makefile: 43
file content (13 lines) | stat: -rwxr-xr-x 456 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# Run tests.  Used in Makefile.

./scripts/invoke_eldev.sh emacs --version || exit 1
./scripts/invoke_eldev.sh compile --set=all || exit 1
./scripts/invoke_eldev.sh emacs --batch -q \
  --eval "(add-to-list 'load-path \"$(readlink -f .)\")" \
  --eval "(add-to-list 'load-path \"$(readlink -f .)/test\")" \
  --eval "(setq debug-on-error t)" \
  --eval "(setq max-lisp-eval-depth 1600)" \
  -l test/swift-mode-test.el \
  -f swift-mode:run-test