Commit graph

218 commits

Author SHA1 Message Date
John Wiegley
572a37a9c6 Use $PYTHON to locate which Python interpretor to use during a build. 2008-08-10 00:56:28 -04:00
John Wiegley
3f7430bd81 Don't include gdtoa/.libs anymore, it's not being used. 2008-08-08 03:13:29 -04:00
John Wiegley
925387d7c0 The Python interface code is now building again and passes its unit tests. 2008-08-07 03:28:48 -04:00
John Wiegley
71e0491aec Added a module init file (__init__.py) for the test directory. 2008-08-07 02:58:27 -04:00
John Wiegley
c0e7315467 Changed tests module reference to just test. 2008-08-07 02:58:15 -04:00
John Wiegley
6ddc21dc5f 'make distcheck' now works. 2008-08-06 23:21:06 -04:00
John Wiegley
54f2a8012f Moved several tests around again (python/test -> test/python). 2008-08-06 18:23:50 -04:00
John Wiegley
36cd816404 Moved the test sources around, so that all the unit tests are in test/unit. 2008-08-05 19:48:42 -04:00
John Wiegley
f6f4a46cf5 Moved around most of the files so that source code is in src/, documentation
is in doc/, etc.
2008-08-05 18:05:49 -04:00
John Wiegley
806be999ef A few small changes to regress.py to make pylint mostly happy. 2008-08-05 03:34:25 -04:00
John Wiegley
98c05e8eb2 Added infrastructure for running regression tests, since I would like to make
sure that nothing breaks again once a bug in closed.
2008-08-05 03:20:14 -04:00
John Wiegley
858978de89 Journal data structures now use date_t instead of datetime_t.
This means transactions can only have day-level granularity -- which has
always been the case from an data file point of view.  The advantage to this
restriction is that reports will now be immune from daylight savings related
bugs, where a transaction falls to the wrong side of a --monthly report, for
example.
2008-08-01 17:37:22 -04:00
John Wiegley
80f87bc100 Corrected a failing test. 2008-07-30 15:57:03 -04:00
John Wiegley
4518ea9540 Value expression architecture is now rewritten, but the functionality of the
old system (for example, the meaning of 'a') has yet to be restored.  In the
new scheme, this will be done by definition a function outside of the value
expression logic, rather than the tight coupling between journal innards and
value expressions that occurred in 2.x.
2008-07-29 05:59:38 -04:00
John Wiegley
63039ade92 Added the skeleton for the upcoming value_expr unit tests. 2008-07-28 03:42:18 -04:00
John Wiegley
9e9f25b566 'make check' is now working again. Also, conversion from amount_t to/from
double has been disabled, because I am no longer packaging the gdtoa library
with Ledger (because double conversion really has nothing to do with what
Ledger does).  If you wish to use it, you can find gdtoa in cpp-rewrite-2006,
under a sub-directory of the same name.
2008-07-27 01:03:41 -04:00
John Wiegley
daee971cbc Got the unit tests compiling again (though not running yet). 2008-05-09 05:17:44 -04:00
John Wiegley
289cc97d45 Exchanged old test files for the new testing code in was-v3.0. 2008-05-08 02:50:18 -04:00