DH_ELPA_TEST(1) | Debhelper | DH_ELPA_TEST(1) |
dh_elpa_test - run ELPA package testsuites
dh_elpa_test [debhelper options] [--autopkgtest] [pkg-file]
dh_elpa_test is a debhelper program that is responsible for running the testsuites of ELPA packages, when those test suites use ERT or buttercup(1). dh_auto_test(1) is rarely suitable.
Testing with buttercup(1) will be activated if the package build-depends on elpa-buttercup. Testing with ERT will be activated if ERT test files can be found. Neither kind of test will be activated unless the debhelper compat level is 10 or higher.
dh_elpa_test overrides dh_auto_test(1). If you need to switch back to use dh_auto_test(1), use the disable configuration key, below.
Note that you should not surround values with double quotation marks. This is convenient for including lisp. Configuration values cannot cover more than one line. Lines preceded with a # are ignored as comments.
This configuration file is optional; in many cases, dh_elpa_test can figure out how to run the test suite itself.
The '*' character in globs in this configuration key does NOT match '/' directory separators.
Note that this is not the way to load test helpers that do needed work but don't actually run the tests. For that, you can use something like
ert_eval = (load-file "test-helper.el")
The '*' character in globs in this configuration key matches '/' directory separators.
To exclude files from this removal, specify them in the autopkgtest_keep configuration option (see above).
Older versions of dh_elpa_test were configured using environment variables corresponding to some of the above configuration keys. For example, the ert_eval configuration key replaced environment variable DH_ELPA_TEST_ERT_EVAL. Their use is now deprecated. If the debian/elpa-test file exists, they will be ignored.
2019-01-25 | perl v5.28.1 |