mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Don't test negative values in ulong conversions
This is failing on 32bit build slaves.
This commit is contained in:
parent
7c517bf350
commit
436dbe7744
@ -220,7 +220,7 @@ test_value_transform (void)
|
||||
g_value_unset (&src); \
|
||||
g_value_unset (&dest);
|
||||
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_CHAR, char, -124)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_CHAR, char, 124)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_CHAR, char, 124)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_UCHAR, uchar, 0)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_UCHAR, uchar, 255)
|
||||
@ -228,9 +228,9 @@ test_value_transform (void)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_INT, int, 12345)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_UINT, uint, 0)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_UINT, uint, 12345)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_LONG, long, -12345678)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_LONG, long, 12345678)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_ULONG, ulong, 12345678)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_INT64, int64, -12345678)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_INT64, int64, 12345678)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_UINT64, uint64, 12345678)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_FLOAT, float, 12345678)
|
||||
CHECK_ULONG_CONVERSION(G_TYPE_DOUBLE, double, 12345678)
|
||||
|
Loading…
Reference in New Issue
Block a user