mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
merge bitcoin#21226: Fix fuzz binary compilation under windows
This commit is contained in:
parent
231a914a55
commit
3b589cb2e4
@ -13,5 +13,5 @@ export DPKG_ADD_ARCH="i386"
|
|||||||
export RUN_INTEGRATION_TESTS=false
|
export RUN_INTEGRATION_TESTS=false
|
||||||
export RUN_SECURITY_TESTS="false"
|
export RUN_SECURITY_TESTS="false"
|
||||||
export GOAL="deploy"
|
export GOAL="deploy"
|
||||||
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-fuzz-binary --disable-miner"
|
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --disable-miner"
|
||||||
export DIRECT_WINE_EXEC_TESTS=true
|
export DIRECT_WINE_EXEC_TESTS=true
|
||||||
|
@ -72,7 +72,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(PROVIDE_MAIN_FUNCTION)
|
#if defined(PROVIDE_MAIN_FUNCTION)
|
||||||
__attribute__((weak)) int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
initialize();
|
initialize();
|
||||||
static const auto& test_one_input = *Assert(g_test_one_input);
|
static const auto& test_one_input = *Assert(g_test_one_input);
|
||||||
|
Loading…
Reference in New Issue
Block a user