Re: [GNC-dev] gnucash maint: Fix gncInvoice test failure.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] gnucash maint: Fix gncInvoice test failure.

Geert Janssens-4
Op maandag 6 augustus 2018 23:49:17 CEST schreef John Ralls:

> Updated via  https://github.com/Gnucash/gnucash/commit/78ab26cc (commit)
> from  https://github.com/Gnucash/gnucash/commit/d87fa3a5 (commit)
>
>
>
> commit 78ab26cc2ba78a8e41ad725ae0fd64bc186c92d4
> Author: John Ralls <[hidden email]>
> Date:   Mon Aug 6 14:49:07 2018 -0700
>
>     Fix gncInvoice test failure.
>
>     test_suite_gncInvoice sets up the test suite. It's not part of the test
>     runtime, so stack variables in it have gone out of scope by the time the
> tests are actually run. Making invoiceData static makes it permanent so it
> exists at runtime.
>

Thanks!

I would have searched for this a long time.

Geert


_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel