Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
slapos
Commits
74375035
Commit
74375035
authored
Apr 06, 2018
by
Eteri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test path
parent
e4aae2df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
software/fluentTest/runTestSuite.in
software/fluentTest/runTestSuite.in
+10
-1
No files found.
software/fluentTest/runTestSuite.in
View file @
74375035
...
@@ -10,6 +10,7 @@ from erp5.util import taskdistribution
...
@@ -10,6 +10,7 @@ from erp5.util import taskdistribution
from erp5.util.testsuite import TestSuite as BaseTestSuite
from erp5.util.testsuite import TestSuite as BaseTestSuite
from erp5.util.testsuite import SubprocessError
from erp5.util.testsuite import SubprocessError
import shlex
import shlex
import glob
...
@@ -76,6 +77,14 @@ class TestSuite(BaseTestSuite):
...
@@ -76,6 +77,14 @@ class TestSuite(BaseTestSuite):
+
int
(
groupdict
['
expected_failures
']
or
0
))
+
int
(
groupdict
['
expected_failures
']
or
0
))
return
status_dict
return
status_dict
def
getTestList
(
self
)
:
test_list =
[]
for
test_path
in
glob
.
glob
('
test*
.
py
')
:
test_case =
test_path.split(os.sep)[-1][:-3]
#
remove
.
py
print
test_case
#
testOooMonitorRequest
is
making
testsuite
stall
.
return
test_list
def
main
()
:
def
main
()
:
parser =
argparse.ArgumentParser(description='Run
a
test
suite
.')
parser =
argparse.ArgumentParser(description='Run
a
test
suite
.')
...
@@ -104,7 +113,7 @@ def main():
...
@@ -104,7 +113,7 @@ def main():
node_quantity=
args.node_quantity,
node_quantity=
args.node_quantity,
revision=
revision)
revision=
revision)
test_result =
master.createTestResult(revision,
testList
,
test_result =
master.createTestResult(revision,
suite
.
getTestList
()
,
args
.
test_node_title
,
suite
.
allow_restart
,
test_suite_title
,
args
.
test_node_title
,
suite
.
allow_restart
,
test_suite_title
,
args
.
project_title
)
args
.
project_title
)
...
...
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