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

Geert Janssens geert.gnucash at kobaltwit.be
Tue Aug 7 02:25:03 EDT 2018


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 <jralls at ceridwen.us>
> 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




More information about the gnucash-devel mailing list