diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-23 15:24:02 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-23 15:45:51 -0600 |
commit | 7bddcd676bc53c6caad7dd283be362fcd53d5721 (patch) | |
tree | d76464891f208aa9e97e21e3ee89360964fe4046 /test/ConfirmTests.py | |
parent | 847a5e4e73afd1c959f7211ceb67d6b9ab0f95d0 (diff) | |
download | fork-ledger-7bddcd676bc53c6caad7dd283be362fcd53d5721.tar.gz fork-ledger-7bddcd676bc53c6caad7dd283be362fcd53d5721.tar.bz2 fork-ledger-7bddcd676bc53c6caad7dd283be362fcd53d5721.zip |
Added --rounding option, which is off by default
The purpose of this option is to add special "<Rounding>" postings, to
ensure that a regiter's running total is *always* the sum of its
postings. Within --rounding, these adjustment postings are missing,
which was the behavior in Ledger 2.x. It can be orders of magnitude
slower to turn it on for large reports with many commodities.
Diffstat (limited to 'test/ConfirmTests.py')
-rwxr-xr-x | test/ConfirmTests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ConfirmTests.py b/test/ConfirmTests.py index 901ae7cd..6fc04336 100755 --- a/test/ConfirmTests.py +++ b/test/ConfirmTests.py @@ -84,7 +84,7 @@ def confirm_report(command): return not failure for cmd in commands: - if confirm_report('$ledger $cmd ' + re.sub('\$tests', tests, cmd)): + if confirm_report('$ledger --rounding $cmd ' + re.sub('\$tests', tests, cmd)): harness.success() else: harness.failure() |