Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
0bd25a01
Commit
0bd25a01
authored
Jun 16, 2004
by
jouni%heikniemi.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 142744: Testing suite should work on Win32
Patch by byron jones (glob) <bugzilla@glob.com.au> r=jouni, a=justdave
parent
30f58d0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
008filter.t
t/008filter.t
+12
-0
No files found.
t/008filter.t
View file @
0bd25a01
...
...
@@ -45,6 +45,7 @@ my $topdir = cwd;
$/
=
undef
;
foreach
my
$path
(
@
Support::Templates::
include_paths
)
{
$path
=~
s
|\\|
/|g if $^O eq 'MSWin32'; # convert \ to /
in
path
if
on
windows
$path
=~
m
|
template
/([^/
]
+
)
/([^/
]
+
)
|
;
my
$lang
=
$1
;
my
$flavor
=
$2
;
...
...
@@ -65,6 +66,17 @@ foreach my $path (@Support::Templates::include_paths) {
}
else
{
do
"filterexceptions.pl"
;
if
(
$^O
eq
'MSWin32'
)
{
# filterexceptions.pl uses / separated paths, while
# find_actual_files returns \ separated ones on Windows.
# Here, we convert the filter exception hash to use \.
foreach
my
$file
(
keys
%
safe
)
{
my
$orig_file
=
$file
;
$file
=~
s
|/|\\|
g
;
$safe
{
$file
}
=
$safe
{
$orig_file
};
delete
$safe
{
$orig_file
};
}
}
}
# We preprocess the %safe hash of lists into a hash of hashes. This allows
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment