mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
d_do_test: allow separately compiling c sources
This commit is contained in:
parent
7fe0aee2a4
commit
ef060a7da9
1 changed files with 1 additions and 1 deletions
|
@ -1712,7 +1712,7 @@ int tryMain(string[] args)
|
|||
{
|
||||
foreach (filename; testArgs.sources ~ (autoCompileImports ? null : testArgs.compiledImports))
|
||||
{
|
||||
string newo = output_dir ~ envData.sep ~ replace(filename.baseName(), ".d", envData.obj);
|
||||
string newo = output_dir ~ envData.sep ~ filename.baseName().setExtension(envData.obj);
|
||||
toCleanup ~= newo;
|
||||
|
||||
command = format("%s -conf= -m%s -I%s %s %s -od%s -c %s %s", envData.dmd, envData.model, input_dir,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue