Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: Unbreak one more test case with python3 bridge | Dimitri John Ledkov | 2019-12-06 | 1 | -1/+1 |
| | | | | | | | | | | | python3 has buffered output by default, hence testcase option_py returned no output when executed under test harness. I think this is a real problem in the way python interpreter is embeded, and i.e. stdout is not flushed until after test case has died. However, running things unbuffered seems to make everything work. But for some reason I had to adjust 1057.test slightly. I have no idea what those numbers mean, and if running things unbuffered break stuff. | ||||
* | Modernize CMake using backported FindPython module. | Dimitri John Ledkov | 2019-12-05 | 1 | -4/+4 |
| | |||||
* | Do not set dependencies for target check | Tim Landscheidt | 2019-01-22 | 1 | -3/+0 |
| | | | | | | The set_target_properties() commands themselves do not cause the tests to run if the target check is made, and as the target check executes ctest, all tests will be run anyway. | ||||
* | Fix build under Cygwin. | Ivan Vanyushkin | 2016-09-29 | 1 | -1/+1 |
| | |||||
* | Fix build under msys32; add Appveyor continuous build | Evan Mallory | 2016-09-17 | 1 | -0/+4 |
| | | | | | | | | | | | | * Appveyor is a continuous integration platform for Windows that is free for open source projects. See latest test build here: https://ci.appveyor.com/project/Evan/ledger/build/artifacts * Changed WIN32 to _WIN32 because this article http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system claims that it is defined by the greatest number of compilers. * Modified HAVE_ISATTY and other system defines so that system.hh compiles when cmake fails to find the relevant function. * Add missing include in test/unit/t_value.cc Almost all tests fail when you run them on msys32. I will address that in a future PR. | ||||
* | [tests] Remove compiler warnings for unit tests | Alexis Hildebrandt | 2015-09-15 | 1 | -1/+1 |
| | | | | | | warning: equality comparison result unused [-Wunused-comparison] BOOST_CHECK_THROW(v8 == v10, value_error); ~~~^~~~~~ | ||||
* | [tests] Fix MathTest failures on Mac OS X | Alexis Hildebrandt | 2015-08-08 | 1 | -15/+12 |
| | | | | due to timezone settings. | ||||
* | [tests] Set timezone for running tests | Alexis Hildebrandt | 2015-08-07 | 1 | -0/+2 |
| | | | | so that the tests run with a consistent environment. | ||||
* | Merge remote-tracking branch 'origin/master' into next | John Wiegley | 2015-08-04 | 2 | -1/+715 |
|\ | |||||
| * | fix minor issues | tripun | 2014-08-18 | 1 | -5/+8 |
| | | |||||
| * | add additional tests for sequence_t and fix the old ones | tripun | 2014-08-18 | 1 | -22/+50 |
| | | |||||
| * | add test for sequenc_t in value_t | tripun | 2014-08-18 | 1 | -0/+32 |
| | | |||||
| * | add unit test Negation for value | tripun | 2014-08-18 | 1 | -0/+46 |
| | | |||||
| * | minor additions | tripun | 2014-08-18 | 1 | -0/+1 |
| | | |||||
| * | add test for zero for value | tripun | 2014-08-18 | 1 | -0/+57 |
| | | |||||
| * | check Type unit test for value | tripun | 2014-08-18 | 1 | -0/+50 |
| | | |||||
| * | add Division unit test for value | tripun | 2014-08-18 | 1 | -0/+63 |
| | | |||||
| * | remove some statements until sequence multiplication run-time error is fixed | tripun | 2014-08-18 | 1 | -11/+0 |
| | | |||||
| * | add Multiplication unit test for value | tripun | 2014-08-18 | 1 | -0/+79 |
| | | |||||
| * | add unit test subtraction for value | tripun | 2014-08-18 | 1 | -0/+93 |
| | | |||||
| * | add whitespaces | tripun | 2014-08-17 | 1 | -4/+4 |
| | | |||||
| * | add unit test Addition for value | tripun | 2014-08-17 | 1 | -0/+102 |
| | | |||||
| * | add unit test of equality for value | tripun | 2014-08-17 | 1 | -0/+64 |
| | | |||||
| * | add assignment unit test for value | tripun | 2014-08-17 | 1 | -0/+35 |
| | | |||||
| * | add constructors unit test for value | tripun | 2014-08-17 | 1 | -0/+35 |
| | | |||||
| * | initialize value fixture | tripun | 2014-08-16 | 1 | -0/+37 |
| | | |||||
| * | add t_value unit test | tripun | 2014-08-15 | 2 | -1/+1 |
| | | |||||
* | | [tests] Remove compiler warnings for unit tests | Alexis Hildebrandt | 2015-07-28 | 1 | -0/+1 |
| | | | | | | | | | | | | warning: relational comparison result unused [-Wunused-comparison] BOOST_CHECK_THROW(x6 < x7, amount_error); ~~~^~~~ | ||||
* | | [tests] Fix Util and Math tests on Mac OS X | Alexis Hildebrandt | 2015-07-28 | 1 | -0/+6 |
| | | | | | | | | by explicitly linking the testing targets against Python | ||||
* | | [tests] Fix compiler warning | Alexis Hildebrandt | 2015-01-11 | 1 | -0/+3 |
|/ | |||||
* | Revert "add unit test printing for balance_t" until issue is fixed. | tripun | 2014-08-11 | 1 | -31/+0 |
| | | | | | | Getting different output on system than travis-ci. This reverts commit 272e3cb3799937dcd3c379de56b299a3cbde52ca. | ||||
* | add unit test printing for balance_t | tripun | 2014-08-11 | 1 | -0/+31 |
| | |||||
* | add unit test of Zero for balance_t | tripun | 2014-08-11 | 1 | -0/+26 |
| | |||||
* | add unit test Truth for balance_t | tripun | 2014-08-11 | 1 | -0/+20 |
| | |||||
* | add unit test Round for balance_t | tripun | 2014-08-11 | 1 | -0/+50 |
| | |||||
* | add unit test Floor for balance_t | tripun | 2014-08-11 | 1 | -0/+43 |
| | |||||
* | add unit test Ceiling for balance_t | tripun | 2014-08-11 | 1 | -0/+43 |
| | |||||
* | add unit test Absolute for balance_t | tripun | 2014-08-11 | 1 | -0/+25 |
| | |||||
* | add unit test negation for balance_t | tripun | 2014-08-11 | 1 | -0/+35 |
| | |||||
* | add unit test for balance division | tripun | 2014-08-11 | 1 | -0/+45 |
| | |||||
* | add test for multiplication | tripun | 2014-08-11 | 1 | -0/+45 |
| | |||||
* | edited subraction test | tripun | 2014-08-11 | 1 | -1/+1 |
| | |||||
* | add Equality unit test for balance | tripun | 2014-08-11 | 1 | -2/+65 |
| | |||||
* | added boost subtraction unit test | tripun | 2014-08-11 | 1 | -0/+39 |
| | |||||
* | added balance addition unit test | tripun | 2014-08-11 | 1 | -4/+42 |
| | |||||
* | add balance Test constructors | tripun | 2014-08-11 | 1 | -2/+22 |
| | |||||
* | Cosmetic change - format code consistently | Martin Michlmayr | 2014-05-18 | 1 | -1/+1 |
| | | | | | Add a space between if and the opening bracket, between a closing round bracket and the following opening curly bracket, etc. | ||||
* | build shared library/python module, clean up CMake | Johann Klähn | 2014-02-01 | 1 | -1/+1 |
| | | | | | libledger will now be built as a shared library. You can 'import ledger' from python IFF you copy libledger.so to ledger.so or create a symlink. | ||||
* | add unit tests for amount_t→floor/ceil | Johann Klähn | 2013-01-15 | 1 | -0/+54 |
| | |||||
* | Converted the Ledger build system to use CMake | John Wiegley | 2012-05-20 | 1 | -0/+17 |
| |