Skip to content

Commit

Permalink
test: disable env var test under win32+asan (libuv#4342)
Browse files Browse the repository at this point in the history
The test hits an honest-to-$deity compiler runtime bug, see the
investigation in the linked issue.

Fixes: libuv#4338
  • Loading branch information
bnoordhuis committed Mar 7, 2024
1 parent ff95879 commit 2c15345
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test-env-vars.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ TEST_IMPL(env_vars) {
int i, r, envcount, found, found_win_special;
uv_env_item_t* envitems;

#if defined(_WIN32) && defined(__ASAN__)
/* See investigation in https://github.com/libuv/libuv/issues/4338 */
RETURN_SKIP("Test does not currently work on Windows under ASAN");
#endif

/* Reject invalid inputs when setting an environment variable */
r = uv_os_setenv(NULL, "foo");
ASSERT_EQ(r, UV_EINVAL);
Expand Down

0 comments on commit 2c15345

Please sign in to comment.