Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use Python raw strings for regex methods argument | Alexis Hildebrandt | 2024-07-08 | 1 | -3/+3 |
| | |||||
* | test: Accept test names as arguments | Alexis Hildebrandt | 2023-12-09 | 1 | -0/+4 |
| | |||||
* | tests: Modernize test scripts | Alexis Hildebrandt | 2023-12-05 | 1 | -77/+61 |
| | | | | by using argparse and pathlib and removing Python 2 specific code. | ||||
* | Migrate Python scripts to Python 3 | Alexis Hildebrandt | 2023-12-04 | 1 | -2/+1 |
| | |||||
* | Remove obsolete from __future__ imports | Alexis Hildebrandt | 2023-02-01 | 1 | -1/+0 |
| | |||||
* | Replace os.path.abspath with os.path.realpath | Alexis Hildebrandt | 2022-07-01 | 1 | -2/+2 |
| | | | | | | to fix failing tests on Darwin, where /tmp is a symlink to /private/tmp and the tests fail as ledger reports filenames with the symlink resolved to /private/tmp, but the tests expect files with /tmp. | ||||
* | Show "FAILURE in exit code" when success is expected | Alan Bram | 2021-05-04 | 1 | -5/+4 |
| | | | | Fixes #2023. | ||||
* | Make test harness more Windows compatible | Daniel Coonce | 2021-02-02 | 1 | -4/+6 |
| | | | | | Windows doesn't seem to use UTF-8 by default, so we can specify encoding='utf-8'. Also, backslashes are confusing to regex parsers. | ||||
* | Make tests scripts Python 3 compatible | Alexis Hildebrandt | 2019-12-05 | 1 | -13/+23 |
| | |||||
* | Fix test harness to work with msys2 | Evan Mallory | 2016-09-23 | 1 | -3/+25 |
| | | | | | | With this change, 97% of the tests pass. See the build on appveyor for more info: https://ci.appveyor.com/project/Evan/ledger/build/build-49 I'll follow up with another PR to fix some of the remaining broken tests | ||||
* | [tests] Fix empty testfile check | Alexis Hildebrandt | 2015-10-27 | 1 | -3/+4 |
| | |||||
* | [doc] Add CheckTests to ctest | Alexis Hildebrandt | 2015-01-15 | 1 | -0/+3 |
| | | | | | | | to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt <afh@surryhill.net> | ||||
* | allow -f /dev/stdin in test runner | Johann Klähn | 2013-01-17 | 1 | -1/+1 |
| | |||||
* | fix test runner if filename is specified | Johann Klähn | 2012-10-18 | 1 | -2/+4 |
| | | | | | | | | | If the command line switch "-f" is used the test runner will not pass the file name of the test file to ledger. The line "test -f /dev/null" as used in test/baseline/cmd-convert.test did not work as intended before this. Also using "-f - " did not work as "$ledger" was noti prepended to the command. | ||||
* | Fixes so that tests can run under distcheck | John Wiegley | 2012-04-25 | 1 | -3/+4 |
| | |||||
* | Resolve some issues with proof builds | John Wiegley | 2012-04-15 | 1 | -1/+2 |
| | |||||
* | Added a test harness error diagnostic | John Wiegley | 2012-03-30 | 1 | -0/+2 |
| | |||||
* | Allow use of $FILE in stdout checks | John Wiegley | 2012-03-23 | 1 | -3/+2 |
| | |||||
* | Improved the behavior of -X | John Wiegley | 2012-03-09 | 1 | -0/+2 |
| | |||||
* | Display file name when a regression test fails | John Wiegley | 2012-03-09 | 1 | -2/+2 |
| | |||||
* | Added a new 'python' directive | John Wiegley | 2012-03-01 | 1 | -1/+3 |
| | |||||
* | Changed testing format to aid with debugging | John Wiegley | 2011-02-12 | 1 | -56/+51 |
| | |||||
* | When a test fails, show the command that failed | John Wiegley | 2011-02-12 | 1 | -31/+37 |
| | |||||
* | Corrected regression test output | John Wiegley | 2011-02-12 | 1 | -3/+3 |
| | |||||
* | 'make check' for gcov shouldn't listen to -j | John Wiegley | 2010-06-23 | 1 | -1/+4 |
| | |||||
* | Regression and generate tests now fail properly | John Wiegley | 2010-06-22 | 1 | -11/+14 |
| | |||||
* | Fix to the way simplified regressions tests are read | John Wiegley | 2010-06-19 | 1 | -1/+1 |
| | |||||
* | Tests run in parallel with using acprep -jX make | John Wiegley | 2010-06-15 | 1 | -17/+46 |
| | | | | | This is done using the multiprocessing library in Python 2.6. If that's unavailable, this feature does nothing. | ||||
* | Made >>>2 and === optional in regression tests | John Wiegley | 2010-06-14 | 1 | -5/+6 |
| | |||||
* | Make the source directory available to all tests | John Wiegley | 2009-11-02 | 1 | -3/+7 |
| | |||||
* | Was missing an argument in RegressTests.py | John Wiegley | 2009-03-08 | 1 | -1/+1 |
| | |||||
* | Refactored test/RegressTests.py | John Wiegley | 2009-03-03 | 1 | -93/+129 |
| | |||||
* | Failing RegressTests weren't reporting failure | John Wiegley | 2009-03-02 | 1 | -1/+4 |
| | |||||
* | Added LedgerHarness.py, to simplify test creation | John Wiegley | 2009-02-28 | 1 | -55/+23 |
| | |||||
* | Normalize "dots" output from some of the tests | John Wiegley | 2009-02-27 | 1 | -2/+2 |
| | |||||
* | The -B, -G, -V reports now show rounding amounts | John Wiegley | 2009-02-26 | 1 | -0/+148 |
This way, if the running total is off by a penny or two due to rounding of one or more commodities in the account, the user will see it. This commit also reorganizes the testing code a bit, which I did after adding the ninth test series (ConfirmTests), to validate the new rounding code. |