Use different sections for wxDateTime DST test
Try to make it more clear where exactly does it fail on buildbot.
This commit is contained in:
@@ -1628,10 +1628,15 @@ TEST_CASE("wxDateTime::SetOnDST", "[datetime][dst]")
|
||||
return;
|
||||
}
|
||||
|
||||
// End DST is the 2nd 1am after DST ends so go back an hour to the first 1am
|
||||
SECTION("An hour before DST end")
|
||||
{
|
||||
DoTestSetFunctionsOnDST(dst - wxTimeSpan::Hour());
|
||||
}
|
||||
|
||||
SECTION("At DST end")
|
||||
{
|
||||
DoTestSetFunctionsOnDST(dst);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // wxUSE_DATETIME
|
||||
|
Reference in New Issue
Block a user