Comments (7)
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.
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.
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.
dub test
is a bit special, I wouldn't be surprised if you got different results with dub build --build=unittest
from unit-threaded.
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.
I think this is a dub issue, so closing. Feel free to disagree and then I'll reopen it.
from unit-threaded.
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)
- Number parsing isn't IEEE compatible HOT 5
- Frequently incomplete output on Windows
- crash at exit with LDC HOT 1
- runTests panics on empty test suite
- @Serial doesn't work if the tests have dots in their names
- Latest release hanging up after "OK!" HOT 3
- Please run CI with more dmd versions HOT 3
- gen-ut-main can't look for folders in parent directory
- README outdated
- shouldNotEqual not necessarily @safe even when shouldEqual is
- Test arrays and nans HOT 1
- How do I mock a std.socket.Socket? HOT 1
- Full precision formatting is desirable for floating point numbers HOT 3
- Not informative output with unitthreaded HOT 1
- Error when running reflection over module with overloaded function on 2.102.2 and -de
- unit_threaded.assertions.convertToString logic is a bit messed up HOT 3
- shouldBeEmpty fails to compile
- shouldFail is expensive because it generates stack traces eagerly
- shouldBeEmpty broken with const arrays
- Better support for multi-line Expected / Got HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unit-threaded.