summaryrefslogtreecommitdiff
path: root/test/RegressTests.py
Commit message (Collapse)AuthorAgeFilesLines
* Use Python raw strings for regex methods argumentAlexis Hildebrandt2024-07-081-3/+3
|
* test: Accept test names as argumentsAlexis Hildebrandt2023-12-091-0/+4
|
* tests: Modernize test scriptsAlexis Hildebrandt2023-12-051-77/+61
| | | | by using argparse and pathlib and removing Python 2 specific code.
* Migrate Python scripts to Python 3Alexis Hildebrandt2023-12-041-2/+1
|
* Remove obsolete from __future__ importsAlexis Hildebrandt2023-02-011-1/+0
|
* Replace os.path.abspath with os.path.realpathAlexis Hildebrandt2022-07-011-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 expectedAlan Bram2021-05-041-5/+4
| | | | Fixes #2023.
* Make test harness more Windows compatibleDaniel Coonce2021-02-021-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 compatibleAlexis Hildebrandt2019-12-051-13/+23
|
* Fix test harness to work with msys2Evan Mallory2016-09-231-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 checkAlexis Hildebrandt2015-10-271-3/+4
|
* [doc] Add CheckTests to ctestAlexis Hildebrandt2015-01-151-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 runnerJohann Klähn2013-01-171-1/+1
|
* fix test runner if filename is specifiedJohann Klähn2012-10-181-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 distcheckJohn Wiegley2012-04-251-3/+4
|
* Resolve some issues with proof buildsJohn Wiegley2012-04-151-1/+2
|
* Added a test harness error diagnosticJohn Wiegley2012-03-301-0/+2
|
* Allow use of $FILE in stdout checksJohn Wiegley2012-03-231-3/+2
|
* Improved the behavior of -XJohn Wiegley2012-03-091-0/+2
|
* Display file name when a regression test failsJohn Wiegley2012-03-091-2/+2
|
* Added a new 'python' directiveJohn Wiegley2012-03-011-1/+3
|
* Changed testing format to aid with debuggingJohn Wiegley2011-02-121-56/+51
|
* When a test fails, show the command that failedJohn Wiegley2011-02-121-31/+37
|
* Corrected regression test outputJohn Wiegley2011-02-121-3/+3
|
* 'make check' for gcov shouldn't listen to -jJohn Wiegley2010-06-231-1/+4
|
* Regression and generate tests now fail properlyJohn Wiegley2010-06-221-11/+14
|
* Fix to the way simplified regressions tests are readJohn Wiegley2010-06-191-1/+1
|
* Tests run in parallel with using acprep -jX makeJohn Wiegley2010-06-151-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 testsJohn Wiegley2010-06-141-5/+6
|
* Make the source directory available to all testsJohn Wiegley2009-11-021-3/+7
|
* Was missing an argument in RegressTests.pyJohn Wiegley2009-03-081-1/+1
|
* Refactored test/RegressTests.pyJohn Wiegley2009-03-031-93/+129
|
* Failing RegressTests weren't reporting failureJohn Wiegley2009-03-021-1/+4
|
* Added LedgerHarness.py, to simplify test creationJohn Wiegley2009-02-281-55/+23
|
* Normalize "dots" output from some of the testsJohn Wiegley2009-02-271-2/+2
|
* The -B, -G, -V reports now show rounding amountsJohn Wiegley2009-02-261-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.