summaryrefslogtreecommitdiff
path: root/tests/gobject
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2013-11-06 16:35:21 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2013-11-11 22:52:00 +0800
commitf038c629a404c49cb8149add55dde286b7ddb079 (patch)
tree0c3c578a70227dfa467ecb45c7fb78bb9b620f57 /tests/gobject
parent0212ab61824c098ec0a213465e85e2bc2702b4ed (diff)
downloadglib-f038c629a404c49cb8149add55dde286b7ddb079.tar.gz
glib/tests/: Avoid GCCisms and fix tests for MSVC
Skip the tests on inf/nan strings for the gvariant and strfuncs tests, and skip the hex strings for the strtod tests in strfuncs as they are C99 features that are not yet supported by Visual C++ (even 2013). Use a definition for NAN and INFINITY (that is also used in PyGObject) as atof("NaN") and atof("Infinity") simply returns 0.0 (which is not a NAN) in Visual C++ to fix the tests running there. Also adapt to the format of g_ascii_formatd() when dealing with 1e99. https://bugzilla.gnome.org/show_bug.cgi?id=711047
Diffstat (limited to 'tests/gobject')
0 files changed, 0 insertions, 0 deletions