Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34557f5

Browse files
committed
Cause TestLib.pm to define $windows_os in all branches.
Back-port of a part of commit690ed2b thatI'd depended on without realizing that it was only added recently. Sinceit seems entirely likely that other such tests will need to be back-patchedin future, providing the flag seems like a better answer than just puttinga test in-line.Per buildfarm.
1 parenta151a5c commit34557f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/test/perl/TestLib.pm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ our @EXPORT = qw(
2626
2727
$tmp_check
2828
$log_path
29+
$windows_os
2930
);
3031

3132
use Cwd;
@@ -38,6 +39,8 @@ use SimpleTee;
3839

3940
use Test::More;
4041

42+
our$windows_os =$Config{osname}eq'MSWin32' ||$Config{osname}eq'msys';
43+
4144
# Open log file. For each test, the log file name uses the name of the
4245
# file launching this module, without the .pl suffix.
4346
our ($tmp_check,$log_path);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp