ledger/test
Johann Klähn 3fe2ef5956 change handling of standard input
For `-f /dev/stdin`, the `pathname` of the parsing context will be empty
as for any other streamed input.

`instance_t::include_directive` did not work as expected for `-f /dev/stdin`
and relative file names. One would expect them to be relative to the current
directory rather than `/dev`.

This will lead to `While parsing file ""` messages. This could be
adjusted to read `While parsing standard input`, but maybe it's not
worth the special cases.

This commit also fixes bug 788: behaviour of source_context for '-f -'
2013-01-17 12:19:23 +01:00
..
baseline fix bug 748: option aliases not recognized 2013-01-15 23:30:17 +01:00
input Use "apply tag" instead of "tag" in test/input/sample.dat 2012-02-27 22:47:53 -06:00
manual Enable the baseline and manual tests 2012-05-20 05:01:17 -05:00
python Started writing Python unit tests 2012-03-01 05:50:07 -06:00
regress change handling of standard input 2013-01-17 12:19:23 +01:00
unit add unit tests for amount_t→floor/ceil 2013-01-15 21:17:11 +01:00
CheckComments.py Created a script to check commenting coverage 2010-06-15 21:32:05 -04:00
CheckTests.py Don't warn about --import in doc when --no-python 2010-06-20 20:35:35 -04:00
CMakeLists.txt fix ctest rules 2013-01-17 09:30:36 +01:00
ConfirmTests.py Added a test harness error diagnostic 2012-03-30 04:49:45 -05:00
convert.py Use Boost.Test instead of CppUnit 2011-02-04 03:43:33 -05:00
fullcheck.sh Corrected an uninitialized memory bug 2012-03-19 22:28:00 -05:00
GenerateTests.py Corrected regression test output 2011-02-12 17:55:56 -05:00
LedgerHarness.py provide immediate feedback in test runner 2012-10-22 10:11:56 +02:00
PyUnitTests.py Added skeletons for Python unit tests 2012-02-29 22:13:07 -06:00
RegressTests.py allow -f /dev/stdin in test runner 2013-01-17 12:08:20 +01:00