commit feb3bac678eeda37844d32c74a8b409579113da5 parent 15f4f803c9c5e2be92b1a395d45350f8f0a2318d Author: Kyle Milz <kyle@windows.krwm.net> Date: Sun, 15 Jan 2017 14:31:13 -0800 t/path: use os specific compiler Diffstat:
M | t/inst_path.t | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/t/inst_path.t b/t/inst_path.t @@ -10,7 +10,10 @@ use t::utils; plan tests => 4; -my $cc = Test::Cmd->new( prog => 'compilers/cc', workdir => '' ); +my $compiler = 'compilers/cc'; +$compiler = 'compilers\cl' if ($^O eq 'MSWin32'); + +my $cc = Test::Cmd->new( prog => $compiler, workdir => '' ); my $error_good = "Error: '.*compilers' not in PATH.";