Source directory restructuring

Alex Aycinena alex.aycinena at gmail.com
Sun Aug 13 20:59:58 EDT 2017


On Sun, Aug 13, 2017 at 3:52 AM, Geert Janssens <geert.gnucash at kobaltwit.be>
wrote:

> On zondag 13 augustus 2017 01:34:34 CEST Alex Aycinena wrote:
> > John,
> >
> > I did a test-by-test comparison and found the following:
> >
> > in cmake but not exactly the same in autotools:
> >
> > Test  #49: scm-test-account
> > Test  #50: scm-test-create-account
> > Test  #51: scm-test-test-extra
> > Test  #52: scm-test-split
> > Test  #65: test-real-data
> > Test  #74: scm-test-load-module
> > Test  #76: test-link-generic-import
> >
> > in autotools but not in cmake:
> >
> > test-import-map
> > test-create-account                     (is this Test  #50:
> > scm-test-create-account?)
> > test-test-extras                           (is this Test  #51:
> > scm-test-test-extra?)
> > test-account                               (is this Test  #49:
> > scm-test-account?)
> > test-split                                     (is this Test  #52:
> > scm-test-split?)
> > test-real-data.sh                          (is this Test  #65:
> > test-real-data?)
> > test-load-module (for app-utils)
> > test-app-utils
> > test-link (for engine)
> > test-link (for import-export)            (is this Test  #76:
> > test-link-generic-import?)
> >
> > I don't see any logs in the test subdirectories after running the tests
> > with cmake like there are under autotools which make it hard to compare
> the
> > two. Also, it would make figuring out a failure hard to do compared with
> > autotools where you do have the logs. Can this be fixed if we switch to
> > cmake or am I missing something?
> >
> > So in summary the missing tests in cmake seem to be: test-import-map
> (which,
> > by-the-way, fails randomly from time-to-time), test-load-module (for
> > app-utils), test-app-utils (which is the one that caught me), and
> test-link
> > (for engine). Not sure about the other ones or which one test #74
> > corresponds to.
>
> According to Testing/Temporary/LastTest.log, test #74 is test-load-module
> in
> app-utils. I guess we could improve the test name to reflect this.
>
> I will add test-app-utils to cmake after I finished the directory
> restructuring.
>
> Geert
>

I did a test by test comparison using Testing/Temporary/LastTest.log also
and I find there are three tests in autotools that are missing in cmake:

 - src/engine/test/test-import-map
 - src/engine/test/test-engine
 - src/app-utils/test/test-app-utils

I couldn't map test # 77,
src/import-export/test/test-import-pending-matches, to any in autotools.

Alex


More information about the gnucash-devel mailing list