Ivan Vanyushkin
|
c278559083
|
Fix build under Cygwin.
|
2016-09-29 21:46:45 +03:00 |
|
Evan Mallory
|
c193cc3a5b
|
Fix build under msys32; add Appveyor continuous build
* 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.
|
2016-09-17 14:22:38 -04:00 |
|
Alexis Hildebrandt
|
32eca73479
|
[tests] Remove compiler warnings for unit tests
warning: equality comparison result unused [-Wunused-comparison]
BOOST_CHECK_THROW(v8 == v10, value_error);
~~~^~~~~~
|
2015-09-15 16:34:59 +02:00 |
|
Alexis Hildebrandt
|
64b285d583
|
[tests] Fix MathTest failures on Mac OS X
due to timezone settings.
|
2015-08-08 00:55:19 +02:00 |
|
Alexis Hildebrandt
|
fe410fa239
|
[tests] Set timezone for running tests
so that the tests run with a consistent environment.
|
2015-08-07 19:42:23 +02:00 |
|
John Wiegley
|
a3e946f90f
|
Merge remote-tracking branch 'origin/master' into next
|
2015-08-04 14:33:03 -07:00 |
|
Alexis Hildebrandt
|
69fa2fc671
|
[tests] Remove compiler warnings for unit tests
warning: relational comparison result unused [-Wunused-comparison]
BOOST_CHECK_THROW(x6 < x7, amount_error);
~~~^~~~
|
2015-07-28 22:43:16 +02:00 |
|
Alexis Hildebrandt
|
f5d59159f1
|
[tests] Fix Util and Math tests on Mac OS X
by explicitly linking the testing targets against Python
|
2015-07-28 20:54:44 +02:00 |
|
Alexis Hildebrandt
|
ce903c1a5e
|
[tests] Fix compiler warning
|
2015-01-11 09:38:24 +01:00 |
|
tripun
|
9a9d55499e
|
fix minor issues
|
2014-08-18 23:28:18 +05:30 |
|
tripun
|
b2bd337c31
|
add additional tests for sequence_t and fix the old ones
|
2014-08-18 23:24:25 +05:30 |
|
tripun
|
04d541ed44
|
add test for sequenc_t in value_t
|
2014-08-18 22:13:11 +05:30 |
|
tripun
|
c87dd21912
|
add unit test Negation for value
|
2014-08-18 02:46:36 +05:30 |
|
tripun
|
f1c3f36e3b
|
minor additions
|
2014-08-18 02:45:56 +05:30 |
|
tripun
|
43511a58c1
|
add test for zero for value
|
2014-08-18 02:45:56 +05:30 |
|
tripun
|
e0f2e0ad29
|
check Type unit test for value
|
2014-08-18 01:27:04 +05:30 |
|
tripun
|
66d89d92f2
|
add Division unit test for value
|
2014-08-18 01:14:36 +05:30 |
|
tripun
|
3a87b94996
|
remove some statements until sequence multiplication run-time error is fixed
|
2014-08-18 00:48:49 +05:30 |
|
tripun
|
90f2ca8049
|
add Multiplication unit test for value
|
2014-08-18 00:44:50 +05:30 |
|
tripun
|
1834ba568a
|
add unit test subtraction for value
|
2014-08-18 00:17:14 +05:30 |
|
tripun
|
580cb42c81
|
add whitespaces
|
2014-08-17 22:55:09 +05:30 |
|
tripun
|
2eac1ef328
|
add unit test Addition for value
|
2014-08-17 22:53:30 +05:30 |
|
tripun
|
2e5520a5cf
|
add unit test of equality for value
|
2014-08-17 18:53:30 +05:30 |
|
tripun
|
6c7a951a2d
|
add assignment unit test for value
|
2014-08-17 16:30:14 +05:30 |
|
tripun
|
66478aa894
|
add constructors unit test for value
|
2014-08-17 16:20:30 +05:30 |
|
tripun
|
b8cb110720
|
initialize value fixture
|
2014-08-16 19:40:23 +05:30 |
|
tripun
|
53572549d3
|
add t_value unit test
|
2014-08-15 16:45:40 +05:30 |
|
tripun
|
0e1ced72bd
|
Revert "add unit test printing for balance_t" until issue is fixed.
Getting different output on system than travis-ci.
This reverts commit 272e3cb3799937dcd3c379de56b299a3cbde52ca.
|
2014-08-11 21:01:26 +05:30 |
|
tripun
|
84b9ca73aa
|
add unit test printing for balance_t
|
2014-08-11 21:01:26 +05:30 |
|
tripun
|
3c04ea50ac
|
add unit test of Zero for balance_t
|
2014-08-11 21:01:26 +05:30 |
|
tripun
|
7e817d45d9
|
add unit test Truth for balance_t
|
2014-08-11 21:01:26 +05:30 |
|
tripun
|
c5f41b8519
|
add unit test Round for balance_t
|
2014-08-11 21:01:25 +05:30 |
|
tripun
|
3a35d16c28
|
add unit test Floor for balance_t
|
2014-08-11 21:01:25 +05:30 |
|
tripun
|
e94efddfb6
|
add unit test Ceiling for balance_t
|
2014-08-11 21:01:25 +05:30 |
|
tripun
|
264f8c553c
|
add unit test Absolute for balance_t
|
2014-08-11 21:01:25 +05:30 |
|
tripun
|
c24fbd6dfb
|
add unit test negation for balance_t
|
2014-08-11 21:01:25 +05:30 |
|
tripun
|
763c8c1162
|
add unit test for balance division
|
2014-08-11 21:01:25 +05:30 |
|
tripun
|
2db0bc9bf9
|
add test for multiplication
|
2014-08-11 21:01:25 +05:30 |
|
tripun
|
b9aef7b1ec
|
edited subraction test
|
2014-08-11 21:01:24 +05:30 |
|
tripun
|
fe91656aa1
|
add Equality unit test for balance
|
2014-08-11 21:01:24 +05:30 |
|
tripun
|
57877bf062
|
added boost subtraction unit test
|
2014-08-11 21:01:24 +05:30 |
|
tripun
|
696440e735
|
added balance addition unit test
|
2014-08-11 21:01:24 +05:30 |
|
tripun
|
6f39d1169d
|
add balance Test constructors
|
2014-08-11 21:01:24 +05:30 |
|
Martin Michlmayr
|
2cee0fe23f
|
Cosmetic change - format code consistently
Add a space between if and the opening bracket, between a closing
round bracket and the following opening curly bracket, etc.
|
2014-05-18 09:51:32 -04:00 |
|
Johann Klähn
|
89c21e9967
|
build shared library/python module, clean up CMake
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.
|
2014-02-01 01:30:53 +01:00 |
|
Johann Klähn
|
a633bc7fce
|
add unit tests for amount_t→floor/ceil
|
2013-01-15 21:17:11 +01:00 |
|
John Wiegley
|
4681e58d7f
|
Converted the Ledger build system to use CMake
|
2012-05-20 04:48:05 -05:00 |
|
John Wiegley
|
363670d35b
|
Tighten up argument passing related to fn_market()
|
2012-03-11 03:55:25 -05:00 |
|
John Wiegley
|
8ae2fb8721
|
Add support for valuation expressions on commodities
|
2012-03-05 23:01:41 -06:00 |
|
John Wiegley
|
8d6bf11334
|
All tests are working again but one
|
2012-03-05 05:03:52 -06:00 |
|