Skip to content

Commit 5f11927

Browse files
Fix MSVC-only compiler options for the internal test harness (#4905)
1 parent d1f63f3 commit 5f11927

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/std/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# add additional compiler flags if the compiler is cl.exe.
3535
if (not $ENV{PM_COMPILER})
3636
{
37-
$ENV{CL} .= " " . $ENV{PM_CL_MSVC};
37+
$ENV{PM_CL} .= " " . $ENV{PM_CL_MSVC};
3838
}
3939

4040
my $RunPL = "";

tests/tr1/run.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# add additional compiler flags if the compiler is cl.exe.
3535
if (not $ENV{PM_COMPILER})
3636
{
37-
$ENV{CL} .= " " . $ENV{PM_CL_MSVC};
37+
$ENV{PM_CL} .= " " . $ENV{PM_CL_MSVC};
3838
}
3939

4040
my $RunPL = "";

0 commit comments

Comments
 (0)