Skip to content

Commit

Permalink
i#5195 win2019: Fix client.tls test.
Browse files Browse the repository at this point in the history
Fixes the expected output for client.tls on Windows. The previous template
accounts for a mysterious output line, which we're not seeing anymore on
vs2019, so we just remove it from the expected output.

Also removes support for PRE_VS2015, seeing as we're effectively dropping
support for vs2017 by removing the above-mentioned line.

Issue: #5195
  • Loading branch information
abhinav92003 committed Mar 15, 2022
1 parent 8cdabe2 commit 3ab194a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
2 changes: 0 additions & 2 deletions suite/runsuite_wrapper.pl
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@
%ignore_failures_32 = (
# i#5195: These are failing on GA Server19.
'code_api|client.drsyms-test' => 1, # i#5195
'code_api|client.tls' => 1, # i#5195
# i#4131: These are failing on GA Server16 and need investigation.
# Some also failed on Appveyor (i#4058).
'code_api|win32.earlythread' => 1, # i#4131
Expand Down Expand Up @@ -250,7 +249,6 @@
# i#5195: These are failing on GA Server19.
'code_api|client.drsyms-test' => 1, # i#5195
'code_api|client.drsyms-testgcc' => 1, # i#5195
'code_api|client.tls' => 1, # i#5195
# i#4131: These are failing on GA Server16 and need investigation.
# Some also failed on Appveyor (i#4058).
'code_api|client.cleancall' => 1, # i#4618
Expand Down
3 changes: 0 additions & 3 deletions suite/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,6 @@ function(template2expect outexpect template runops key)
elseif ("${CMAKE_SYSTEM_VERSION}" STRLESS "6.3")
set(rundefs "${rundefs} -DRUNREGRESSION_WIN8")
endif ()
if (WIN32 AND CMAKE_C_COMPILER_VERSION VERSION_LESS 19.0)
set(rundefs "${rundefs} -DPRE_VS2015")
endif ()
if (${key}_is_cygwin)
# i#1478 option used to avoid cygwin messes up output issue: though
# whether the output is messed up seems to depend on the cygwin version,
Expand Down
20 changes: 4 additions & 16 deletions suite/tests/client-interface/tls.template
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
#if !defined(WINDOWS) || !defined(PRE_VS2015)
in foo_t::foo_t
# ifdef WINDOWS
// XXX i#4030: It is unclear why there's a 2nd one for the main thread.
in foo_t::foo_t
# endif
in foo_t::foo_t
#endif
sum is 14
static TLS is 0xdeadbeef
#if !defined(WINDOWS) || !defined(PRE_VS2015)
foo.val is 0xdeadbeef
# ifdef WINDOWS
#ifdef WINDOWS
vector holds 0xdeadbeef
# endif
in foo_t::foo_t
#endif
in foo_t::foo_t
sum is 14
static TLS is 0xdeadbeef
#if !defined(WINDOWS) || !defined(PRE_VS2015)
foo.val is 0xdeadbeef
# ifdef WINDOWS
#ifdef WINDOWS
vector holds 0xdeadbeef
# endif
#endif
static TLS is 0xdeadbef0
#if !defined(WINDOWS) || !defined(PRE_VS2015)
foo.val is 0xdeadbeee
# ifdef WINDOWS
#ifdef WINDOWS
vector holds 0xdeadbeee
# endif
#endif

0 comments on commit 3ab194a

Please sign in to comment.