Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
2d100cda
Commit
2d100cda
authored
11 years ago
by
Daniel Dunbar
Browse files
Options
Downloads
Patches
Plain Diff
[lit] Remove on_clone member, which is no longer used.
llvm-svn: 188006
parent
cf2ff9ba
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
llvm/test/lit.cfg
+2
-2
2 additions, 2 deletions
llvm/test/lit.cfg
llvm/utils/lit/lit/TestingConfig.py
+7
-12
7 additions, 12 deletions
llvm/utils/lit/lit/TestingConfig.py
with
9 additions
and
14 deletions
llvm/test/lit.cfg
+
2
−
2
View file @
2d100cda
...
@@ -39,8 +39,8 @@ config.test_format = lit.formats.ShTest(execute_external)
...
@@ -39,8 +39,8 @@ config.test_format = lit.formats.ShTest(execute_external)
# To
ignore test output on stderr so it doesn't trigger failures uncomment this:
# To
ignore test output on stderr so it doesn't trigger failures uncomment this:
#config.test_format
= lit.formats.TclTest(ignoreStdErr=True)
#config.test_format
= lit.formats.TclTest(ignoreStdErr=True)
# suffixes:
A list of file extensions to treat as test files
, t
his is
actually
# suffixes:
A list of file extensions to treat as test files
. T
his is
overriden
#
set
by on_clone()
.
#
by
individual lit.local.cfg files in the test subdirectories
.
config.suffixes
= []
config.suffixes
= []
# excludes:
A list of directories to exclude from the testsuite. The 'Inputs'
# excludes:
A list of directories to exclude from the testsuite. The 'Inputs'
...
...
This diff is collapsed.
Click to expand it.
llvm/utils/lit/lit/TestingConfig.py
+
7
−
12
View file @
2d100cda
...
@@ -45,7 +45,6 @@ class TestingConfig:
...
@@ -45,7 +45,6 @@ class TestingConfig:
environment
=
environment
,
environment
=
environment
,
substitutions
=
[],
substitutions
=
[],
unsupported
=
False
,
unsupported
=
False
,
on_clone
=
None
,
test_exec_root
=
None
,
test_exec_root
=
None
,
test_source_root
=
None
,
test_source_root
=
None
,
excludes
=
[],
excludes
=
[],
...
@@ -90,7 +89,7 @@ class TestingConfig:
...
@@ -90,7 +89,7 @@ class TestingConfig:
return
config
return
config
def
__init__
(
self
,
parent
,
name
,
suffixes
,
test_format
,
def
__init__
(
self
,
parent
,
name
,
suffixes
,
test_format
,
environment
,
substitutions
,
unsupported
,
on_clone
,
environment
,
substitutions
,
unsupported
,
test_exec_root
,
test_source_root
,
excludes
,
test_exec_root
,
test_source_root
,
excludes
,
available_features
,
pipefail
):
available_features
,
pipefail
):
self
.
parent
=
parent
self
.
parent
=
parent
...
@@ -100,7 +99,6 @@ class TestingConfig:
...
@@ -100,7 +99,6 @@ class TestingConfig:
self
.
environment
=
dict
(
environment
)
self
.
environment
=
dict
(
environment
)
self
.
substitutions
=
list
(
substitutions
)
self
.
substitutions
=
list
(
substitutions
)
self
.
unsupported
=
unsupported
self
.
unsupported
=
unsupported
self
.
on_clone
=
on_clone
self
.
test_exec_root
=
test_exec_root
self
.
test_exec_root
=
test_exec_root
self
.
test_source_root
=
test_source_root
self
.
test_source_root
=
test_source_root
self
.
excludes
=
set
(
excludes
)
self
.
excludes
=
set
(
excludes
)
...
@@ -111,15 +109,12 @@ class TestingConfig:
...
@@ -111,15 +109,12 @@ class TestingConfig:
# FIXME: Chain implementations?
# FIXME: Chain implementations?
#
#
# FIXME: Allow extra parameters?
# FIXME: Allow extra parameters?
cfg
=
TestingConfig
(
self
,
self
.
name
,
self
.
suffixes
,
self
.
test_format
,
return
TestingConfig
(
self
,
self
.
name
,
self
.
suffixes
,
self
.
test_format
,
self
.
environment
,
self
.
substitutions
,
self
.
environment
,
self
.
substitutions
,
self
.
unsupported
,
self
.
on_clone
,
self
.
unsupported
,
self
.
test_exec_root
,
self
.
test_source_root
,
self
.
test_exec_root
,
self
.
test_source_root
,
self
.
excludes
,
self
.
available_features
,
self
.
excludes
,
self
.
available_features
,
self
.
pipefail
)
self
.
pipefail
)
if
cfg
.
on_clone
:
cfg
.
on_clone
(
self
,
cfg
,
path
)
return
cfg
def
finish
(
self
,
litConfig
):
def
finish
(
self
,
litConfig
):
"""
finish() - Finish this config object, after loading is complete.
"""
"""
finish() - Finish this config object, after loading is complete.
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment