Re: Missing Guile Bindings and False Positive Unit tests

2017-02-24 Thread Derek Atkins
iscussion >>> here for a better solution, if exposing more of the Guile API is a) >>> fixing a bug and/or b) adding a new feature. Since much of GnuCash >>> was written in Guile, I thought I would use that instead of Python. >>> As is, though, there doesn't seem

Re: Missing Guile Bindings and False Positive Unit tests

2017-02-22 Thread Chad Albers
even source a GnuCash >> using its Guile bindings. It can be done using Python. >> >> Chad >> >> -- >> >> On Sun, Feb 19, 2017 at 5:34 PM, Derek Atkins wrote: >>> That srfi didn't exist when the tests were written, which was probably >>

Re: Missing Guile Bindings and False Positive Unit tests

2017-02-22 Thread Derek Atkins
Ted Creedon writes: > FYI there is a swig problem in OpenSuse leap 4.2. > > Its not the latest version. And this is why we package it up such that in general you don't need swig to build GnuCash. :) > Tedc -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Memb

Re: Missing Guile Bindings and False Positive Unit tests

2017-02-21 Thread Ted Creedon
are false positive. I haven't done a full audit. I just >> wanted to give someone a heads up about this problem. >> >> I would submit a patch to fix the unit testing framework, but I >> haven't actually worked out how it works. In the meantime, I'm >> currently export

Re: Missing Guile Bindings and False Positive Unit tests

2017-02-21 Thread Derek Atkins
bindings. It can be done using Python. > > Chad > > -- > > On Sun, Feb 19, 2017 at 5:34 PM, Derek Atkins wrote: >> That srfi didn't exist when the tests were written, which was probably >> around 18 years ago. The fact the tests don't fail just means

Re: Missing Guile Bindings and False Positive Unit tests

2017-02-19 Thread Derek Atkins
Hi, Except for a few functions in app-utils, most of QofSession is not wrapped in the scheme bindings like they are in the python bindings. -derek Sent from my mobile device. Please excuse any typos. - Reply message - From: "Chad Albers" To: Subject: Missing Guile Bindings

Missing Guile Bindings and False Positive Unit tests

2017-02-19 Thread Chad Albers
Hi, I found some problems with some unit tests for the Guile bindings. Here's the background. Rather than use the Python bindings, I wanted to use guile to add/manipulate my GnuCash data. From the Python bindings, I deduced that the entry point into creating transactions is via a construct calle