18 lines
463 B
Bash
Executable File
18 lines
463 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -o pipefail
|
|
|
|
SRC_ROOT="$(dirname "${BASH_SOURCE}")"
|
|
|
|
source "$SRC_ROOT/gitlab-utils.sh"
|
|
|
|
# Load emacs
|
|
gitlab_start_log_section "test_init" "Running Emacs"
|
|
emacs --batch --debug-init -l ./.emacs.d/init.el
|
|
gitlab_end_log_section "test_init"
|
|
|
|
# Run tests
|
|
gitlab_start_log_section "run_unit_tests" "Running Unit Tests"
|
|
emacs --batch --debug-init -l ert -l ./.emacs.d/init.el -f ert-run-tests-batch-and-exit
|
|
gitlab_end_log_section "run_unit_tests"
|