ert_load_path = lisp/,test/etest/

# Replicate the test environment setup done by test/run-tests. In particular:
# - manually set etest-local-config which is otherwise set through file local
#   variables
# - manually load the “literate” tests (except fontification.R which fails)
# Also:
# - set the C locale (assumed by some tests)
# - set a tramp histfile since $HOME is not available
# - move to the test/ subdirectory (needed by some tests)
ert_eval = (progn (require 'ess-test-r-utils) (setq ess-use-flymake nil) (setq ess-inhibit-message-in-tests t) (setq etest-local-config etest-r-config) (require 'ess-test-literate) (elt-deftest test-elt () "elt.R") (elt-deftest test-ess-roxy-literate () "roxy.R") (elt-deftest test-ess-r-misc () "misc.R") (elt-deftest test-ess-r-syntax () "syntax.R") (elt-deftest test-ess-r-tokens () "tokens.R") (elt-deftest test-ess-r-keybindings () "keybindings.R") (setq tramp-histfile-override (make-temp-file "ess-test" 'dir)) (setq tramp-histfile-override (make-temp-file "ess-test" 'dir)) (setenv "LANG" "C") (cd "test"))

autopkgtest_keep = test/*
