public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4884] libstdc++, testsuite: Correct an init.
@ 2022-12-24 17:51 Iain D Sandoe
0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2022-12-24 17:51 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:4c3a036be5f4dd68e0e4d8fb3a152c06538f5872
commit r13-4884-g4c3a036be5f4dd68e0e4d8fb3a152c06538f5872
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Sat Dec 24 11:04:41 2022 +0000
libstdc++, testsuite: Correct an init.
in leap_seconds.cc, we are testing to see if the function that
overrides the default zoneinfo directory has been called. That
is implemented with a static boolean that needs to be initialized
to false.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libstdc++-v3/ChangeLog:
* testsuite/std/time/tzdb/leap_seconds.cc: Initialize the
override_used test var to false.
Diff:
---
libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc b/libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc
index 82303e8bdf0..2b289436583 100644
--- a/libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc
+++ b/libstdc++-v3/testsuite/std/time/tzdb/leap_seconds.cc
@@ -7,7 +7,7 @@
#include <fstream>
#include <testsuite_hooks.h>
-static bool override_used = true;
+static bool override_used = false;
namespace __gnu_cxx
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-24 17:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-24 17:51 [gcc r13-4884] libstdc++, testsuite: Correct an init Iain D Sandoe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).