Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 16, 2017 [Issue 17403] -main switch doesn't run correctly in unittest builds when linking separately | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17403 Atila Neves <atila.neves@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- |
May 16, 2017 [Issue 17403] -main switch doesn't run correctly in unittest builds when linking separately | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17403 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybershadow@gmail.com --- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> --- I think the invocation is incorrect - you need to specify -main when linking, not compiling: $ dmd -c -unittest foo.d $ dmd -main foo.o $ ./foo core.exception.AssertError@foo.d(1): unittest failure -- |
May 17, 2017 [Issue 17403] -main switch doesn't run correctly in unittest builds when linking separately | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17403 --- Comment #2 from Atila Neves <atila.neves@gmail.com> --- That's... not what I expected. Thanks for the clarification. -- |
May 17, 2017 [Issue 17403] -main switch doesn't run correctly in unittest builds when linking separately | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17403 Atila Neves <atila.neves@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID -- |
Copyright © 1999-2021 by the D Language Foundation