Tests: Documentation on TASK/TASKD_USE_PATH

This commit is contained in:
Renato Alves 2015-04-26 17:44:41 +01:00
parent 1b63a2dde5
commit 931afb0674
2 changed files with 5 additions and 4 deletions

View file

@ -2,4 +2,5 @@ Shell environment variables that affect how and what tests are executed:
TASKW_SKIP -> Causes any test that needs Taskwarrior (task binary) to be skipped
TASKD_SKIP -> Causes any test that needs Task Server (taskd binary) to be skipped
USE_PATH -> Causes tests to look for "task" and "taskd" in PATH instead of the default location
TASK_USE_PATH -> Causes tests to look for "task" in PATH instead of the default location
TASKD_USE_PATH -> Causes tests to look for "taskd" in PATH instead of the default location

View file

@ -129,9 +129,9 @@ def _queue_output(arguments, pidq, outputq):
outputq.put((
"",
("Unexpected exception caught during execution of taskw: '{0}' . "
"If you are running out-of-tree tests set USE_PATH=1 in shell "
"env before execution and add the location of the task(d) binary "
"to the PATH".format(e)),
"If you are running out-of-tree tests set TASK_USE_PATH=1 or "
"TASKD_USE_PATH=1 in shell env before execution and add the "
"location of the task(d) binary to the PATH".format(e)),
255)) # false exitcode
return