mirror of
https://github.com/dlang/dmd.git
synced 2025-04-28 06:00:13 +03:00
Get rid of some obsolete optlink workarounds
This commit is contained in:
parent
920678a820
commit
6d69608aae
5 changed files with 2 additions and 49 deletions
|
@ -259,6 +259,7 @@ string[] buildCmdArgs(string runnerPath, string outputPath, const string[] testF
|
|||
"-version=NoMain",
|
||||
"-version=MARS",
|
||||
"-version=DMDLIB",
|
||||
"-g",
|
||||
"-unittest",
|
||||
"-J" ~ buildOutputPath,
|
||||
"-Jsrc/dmd/res",
|
||||
|
@ -277,10 +278,6 @@ string[] buildCmdArgs(string runnerPath, string outputPath, const string[] testF
|
|||
if (environment.get("DMD_TEST_COVERAGE", "0") == "1")
|
||||
flags ~= "-cov";
|
||||
|
||||
// older versions of Optlink causes: "Error 45: Too Much DEBUG Data for Old CodeView format"
|
||||
if (!usesOptlink)
|
||||
flags ~= "-g";
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
||||
|
@ -306,15 +303,6 @@ bool missingTestFiles(Range)(Range givenFiles)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool usesOptlink()
|
||||
{
|
||||
version (DigitalMars)
|
||||
return os == "windows" && model == "32";
|
||||
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
int main(string[] args)
|
||||
{
|
||||
string unitTestFilter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue