pandoc/test/Tests
John MacFarlane 2ca1b20a85 Fix finding of data files from test programs.
Apparently Cabal sets a `pandoc_datadir` environment variable
so that the data files will be sought in the source directory
rather than in the final destination (where they aren't yet
installed).

So we no longer need to set `--data-dir` in the tests. We just
need to make sure `pandoc_datadir` is set in the environment
when we call the program in the test suite.

This will fix the issue with loading of pandoc.lua when
pandoc is built with `-embed_data_files`, reported in #7163.

Closes #7163.
2021-03-19 18:57:13 -07:00
..
Lua Lua: add module "pandoc.path" 2021-02-02 21:04:30 -08:00
Readers Jira reader: mark divs created from panels with class "panel". 2021-03-13 14:29:47 +01:00
Writers Jira writer: improve div/panel handling 2021-03-13 12:10:02 +01:00
Command.hs Fix finding of data files from test programs. 2021-03-19 18:57:13 -07:00
Helpers.hs tests: print accurate location if a test fails 2021-02-22 23:56:04 +01:00
Lua.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Old.hs Fix finding of data files from test programs. 2021-03-19 18:57:13 -07:00
Shared.hs Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00