tests/test-gendoc-de.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 10 Mar 2020 16:47:02 +0100
branchstable
changeset 44471 fb7da4759a18
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
run-tests: fix conditional when tests are run outside of `tests` The logic to find `hghave` was using `__file__` but… non absolute path in `__file__` gets wrong as soon as we change directory (thanks python… you are being helpful). The rest of the `run-tests.py` code already deal with this fine. We simply reuse the `RUNTESTDIR` variable to fix it.

#require docutils gettext

  $ $TESTDIR/check-gendoc de
  checking for parse errors
  Die Dateien werden dem Projektarchiv beim n\xc3\xa4chsten \xc3\x9cbernehmen (commit) hinzugef\xc3\xbcgt. Um dies vorher r\xc3\xbcckg\xc3\xa4ngig zu machen, siehe:hg:`forget`. (esc)
  warning: please have a space before :hg: