From 5c67cdb6481561d1d59dee820a82a02f0bba8a42 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Thu, 22 Aug 2024 15:37:01 -0700 Subject: [PATCH] Fix MSVC-only compiler options for the internal test harness --- tests/std/run.pl | 2 +- tests/tr1/run.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/std/run.pl b/tests/std/run.pl index 004ae4ce689..6258d2ebcb0 100644 --- a/tests/std/run.pl +++ b/tests/std/run.pl @@ -34,7 +34,7 @@ # add additional compiler flags if the compiler is cl.exe. if (not $ENV{PM_COMPILER}) { - $ENV{CL} .= " " . $ENV{PM_CL_MSVC}; + $ENV{PM_CL} .= " " . $ENV{PM_CL_MSVC}; } my $RunPL = ""; diff --git a/tests/tr1/run.pl b/tests/tr1/run.pl index 004ae4ce689..6258d2ebcb0 100644 --- a/tests/tr1/run.pl +++ b/tests/tr1/run.pl @@ -34,7 +34,7 @@ # add additional compiler flags if the compiler is cl.exe. if (not $ENV{PM_COMPILER}) { - $ENV{CL} .= " " . $ENV{PM_CL_MSVC}; + $ENV{PM_CL} .= " " . $ENV{PM_CL_MSVC}; } my $RunPL = "";