[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ert tests and dependencies.
From: |
Fabian Ezequiel Gallina |
Subject: |
ert tests and dependencies. |
Date: |
Wed, 20 Feb 2013 18:09:15 -0300 |
I'm planning to add tests for the python.el shell integration, but for
these to run successfully a python executable must exist in the
system.
So the question is, what's the preferred way to define these kind of
tests that depend on other executables than Emacs?
I'm thinking on something like this:
(ert-deftest python-shell-test ()
(if (not (executable-find "python"))
(message "skipping python-shell-test...")
(should ...))
But perhaps this has been discussed or there's a standard way already.
Regards,
--
Fabián E. Gallina
http://www.from-the-cloud.com
- ert tests and dependencies.,
Fabian Ezequiel Gallina <=