Giter Site home page Giter Site logo

Comments (7)

atilaneves avatar atilaneves commented on May 19, 2024

I've never used/tried the release build. One problem that comes to mind is that the asserts would be turned off. Of course this isn't a problem when using the custom assertions. I don't know why one would want a release build of unit-threaded. Runtime performance of testing code hasn't been a concern so far.

from unit-threaded.

russel avatar russel commented on May 19, 2024

Good point! I clearly wasn't thinking properly. However when I try:

dub build --build=unittest --compiler=ldc2

I get a raft of error. These do not happen when building unit-threaded via a "dub test " of an application so that must use a different dub command line to build unit-threaded.

from unit-threaded.

russel avatar russel commented on May 19, 2024

It seems that the hash at the end of the directory name for the builds in the .dub/builds directory is going to be quite crucial since it is different for different build drivers, i.e. using SCons or manual command line I am getting a different directory name.

from unit-threaded.

atilaneves avatar atilaneves commented on May 19, 2024

dub test is a bit special, I wouldn't be surprised if you got different results with dub build --build=unittest

from unit-threaded.

russel avatar russel commented on May 19, 2024

dub build --build=unittest fails to build, lots of compilation errors. For the SCons stuff I am using dub build and just using the debug build.

from unit-threaded.

atilaneves avatar atilaneves commented on May 19, 2024

I think this is a dub issue, so closing. Feel free to disagree and then I'll reopen it.

from unit-threaded.

russel avatar russel commented on May 19, 2024

I agree this is a Dub thing. I will ask in their "help space" when I get a problem with the SCons builds.

from unit-threaded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.