Commit 3b2b81b
CI: fix debug_dump_set Windows skip — keep AUTORUN_TESTS compiled
My earlier Windows skip put AUTORUN_TESTS() inside the #else, so on Windows it
was not compiled — but LT_END_AUTO_TEST_ENV() expands to
'return (__lt_result__);' and __lt_result__ is declared by AUTORUN_TESTS(),
so the Windows build failed with 'littletest.hpp:46: __lt_result__ was not
declared'. Move AUTORUN_TESTS() outside the #if/#else: on Windows it is
compiled (declaring __lt_result__) but unreachable after the return 77 skip;
the ::setenv opt-in stays in the #else so the undeclared-on-mingw setenv is
never compiled there. Matches the working threadsafety_stress skip shape.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NpysYDDJac63yz2mZKKiDf1 parent 3142868 commit 3b2b81b
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
213 | 216 | | |
0 commit comments