GNOME Bugzilla – Bug 761285
[review, nm-openvpn] refactor import of ovpn files [th/ovpn-import-bgo761285]
Last modified: 2016-02-09 23:30:55 UTC
Major refactoring. Please review.
refactored tests now too to use g_test_run() and nm-test-utils.h
> build: add --with-more-asserts configure option for nm_assert() macro If you don't set --with-more-asserts you end up with: /* Define if more asserts are enabled */ #define NM_MORE_ASSERTS ... #if NM_MORE_ASSERTS #define nm_assert(cond) G_STMT_START { g_assert (cond); } G_STMT_END which isn't going to work; need to specify a default value of "no" in configure.ac. Plus, nm-macros-internal.h should #include config.h because it uses something from it. ------- I pushed some additional cleanups to switch everything over to g_assert() and remove the now-unused 'detail' stuff. LGTM.
merged: https://git.gnome.org/browse/network-manager-openvpn/commit/?id=ae03f40e32a4d2f63f01eb423a757359618e6173