Add libtest_util library to msvc build configuration #17571

pull sipsorcery wants to merge 1 commits into bitcoin:master from sipsorcery:msvc_libtestutil changing 5 files +36 −1
  1. sipsorcery commented at 12:45 PM on November 23, 2019: member

    libtest_util was introduced in #17542. This PR adds the msvc build configuration.

  2. fanquake added the label Tests on Nov 23, 2019
  3. fanquake added the label Windows on Nov 23, 2019
  4. laanwj commented at 2:04 PM on November 23, 2019: member

    Thanks! ACK if it passes AppVeyor

  5. sipsorcery force-pushed on Nov 23, 2019
  6. fanquake commented at 3:22 PM on November 23, 2019: member
    msbuild /p:TrackFileAccess=false /p:CLToolExe=clcache.exe build_msvc\bitcoin.sln /m /v:q /nologo
    bench_bench.obj : error LNK2001: unresolved external symbol "public: __cdecl TestingSetup::~TestingSetup(void)" (??1TestingSetup@@QEAA@XZ) [C:\projects\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
    bench_bench.obj : error LNK2001: unresolved external symbol "public: __cdecl TestingSetup::TestingSetup(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0TestingSetup@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) [C:\projects\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
    bench_verify_script.obj : error LNK2001: unresolved external symbol "struct CMutableTransaction __cdecl BuildSpendingTransaction(class CScript const &,struct CScriptWitness const &,class CTransaction const &)" (?BuildSpendingTransaction@@YA?AUCMutableTransaction@@AEBVCScript@@AEBUCScriptWitness@@AEBVCTransaction@@@Z) [C:\projects\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
    bench_verify_script.obj : error LNK2001: unresolved external symbol "struct CMutableTransaction __cdecl BuildCreditingTransaction(class CScript const &,int)" (?BuildCreditingTransaction@@YA?AUCMutableTransaction@@AEBVCScript@@H@Z) [C:\projects\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
    libbitcoin_server.lib(validation.obj) : error LNK2001: unresolved external symbol "class std::function<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl(char const *)> const G_TRANSLATION_FUN" (?G_TRANSLATION_FUN@@3V?$function@$$A6A?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@Z@std@@B) [C:\projects\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
    C:\projects\bitcoin\build_msvc\x64\Release\bench_bitcoin.exe : fatal error LNK1120: 5 unresolved externals [C:\projects\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
    
  7. Added libtest_util library to msvc build configuration. b509554433
  8. sipsorcery force-pushed on Nov 23, 2019
  9. sipsorcery renamed this:
    WIP: Add libtest_util library to msvc build configuration
    Add libtest_util library to msvc build configuration
    on Nov 23, 2019
  10. sipsorcery commented at 5:03 PM on November 23, 2019: member

    Appveyor should now pass. Ready for review.

  11. fanquake approved
  12. fanquake commented at 5:28 PM on November 23, 2019: member

    ACK b509554433cb4bd32852239d0dd195ec059657f6 - Appveyor looks good.

  13. fanquake referenced this in commit 2c98e2024d on Nov 23, 2019
  14. fanquake merged this on Nov 23, 2019
  15. fanquake closed this on Nov 23, 2019

  16. MarcoFalke commented at 8:34 PM on November 23, 2019: member

    Are the gui unit tests not built on appveyor?

  17. sidhujag referenced this in commit c7cea2356d on Nov 23, 2019
  18. sipsorcery deleted the branch on Nov 24, 2019
  19. sipsorcery commented at 9:34 AM on November 24, 2019: member

    @MarcoFalke there's no msbuild project for the Qt tests so they have never been built on appveyor. I don't think there's any reason they can't be built. I'll look into it.

  20. MarcoFalke commented at 4:26 PM on November 24, 2019: member

    Interestingly, even though this build succeeded, the build on master did not

  21. sipsorcery commented at 5:07 PM on November 24, 2019: member

    Did the appveyor job fail at the test stage? I do get occasional failures on a python test. I haven't tracked down the culprit yet.

    All my appveyor builds on master since this PR have worked.

    master_builds

  22. MarcoFalke referenced this in commit 8830cb58ab on Dec 30, 2019
  23. sidhujag referenced this in commit 6c70ef5f7b on Jan 2, 2020
  24. sidhujag referenced this in commit 54bf552cae on Nov 10, 2020
  25. sidhujag referenced this in commit 4872d10936 on Nov 10, 2020
  26. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me