aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlaanwj <126646+laanwj@users.noreply.github.com>2022-02-23 15:48:48 +0100
committerlaanwj <126646+laanwj@users.noreply.github.com>2022-02-23 15:48:55 +0100
commit358fe779cbb2681666ae5ab23a19662db21a2c46 (patch)
treed6d427f4334851a2da54536cb65355ae1cc73d86 /src
parent5a8d56680b615a3eaa4496ae636db8f65e719284 (diff)
parentfad7ddf9e3710405d727f61d8200d5efed1e705b (diff)
downloadbitcoin-358fe779cbb2681666ae5ab23a19662db21a2c46.tar.xz
Merge bitcoin/bitcoin#24381: test: Run symlink regression tests on Windows
fad7ddf9e3710405d727f61d8200d5efed1e705b test: Run symlink regression tests on Windows (MarcoFalke) Pull request description: Seems odd to add tests, but not run them on the platform that needs them most. ACKs for top commit: laanwj: Code review ACK fad7ddf9e3710405d727f61d8200d5efed1e705b ryanofsky: Code review ACK fad7ddf9e3710405d727f61d8200d5efed1e705b, just removing new test. Would be nice if the test could be added later, of course. Tree-SHA512: 64b235967a38c2eb90657e8d7a0447bcc8ce81d1b75a275b6c48bd42efd9ea7e7939257e484f297ee84598def3738eaeb289561aeba1dd6a99b258d389995139
Diffstat (limited to 'src')
-rw-r--r--src/test/fs_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fs_tests.cpp b/src/test/fs_tests.cpp
index 313064b294..5875f0218f 100644
--- a/src/test/fs_tests.cpp
+++ b/src/test/fs_tests.cpp
@@ -152,7 +152,7 @@ BOOST_AUTO_TEST_CASE(rename)
fs::remove(path2);
}
-#ifndef WIN32
+#ifndef __MINGW64__ // no symlinks on mingw
BOOST_AUTO_TEST_CASE(create_directories)
{
// Test fs::create_directories workaround.
@@ -174,6 +174,6 @@ BOOST_AUTO_TEST_CASE(create_directories)
fs::remove(symlink);
fs::remove(dir);
}
-#endif // WIN32
+#endif // __MINGW64__
BOOST_AUTO_TEST_SUITE_END()