Commit Graph

4 Commits

Author SHA1 Message Date
Stephan Creutz
ccca97f226 Replace cl by cl-lib
Since Emacs 27 the package cl is deprecated, the replacement is
cl-lib, which is available since Emacs 24.3.

This patch replaces cl by cl-lib and drops support for Emacs versions
less than 24.3. Dropping older Emacsen is required, because cl-lib is
a builtin starting from version 24.3 and doesn't need an extra package
from ELPA.

Testcases for past issues still contain cl. Most of them seem to be
broken and need further investigation.

This patch is tested with test/run-ert.sh, which outputs:

Ran 10 tests, 10 results as expected, 0 unexpected (2021-01-30 13:24:54+0100, 0.672122 sec)
1 expected failures

and manually by daily usage for a month now.
2021-06-13 16:03:08 +02:00
Ryan C. Thompson
1fdcc0f72a Fix typo in test-setup.el 2012-03-18 15:21:27 -07:00
Ryan C. Thompson
4a73ded92d Set "el-get-notify-type" to 'message in tests
This prevents tests from hitting errors due to notification issues.
2012-03-18 13:30:38 -07:00
Ryan C. Thompson
141b2e594e Add test-setup.el and use it in test scripts
Among other things, it ensures that the full backtrace of any error is printed in batch mode.
2012-03-15 10:01:13 -07:00