Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
erp5
Commits
b8d8de4d
Commit
b8d8de4d
authored
Jun 05, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update
parent
13e6aac9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+3
-0
erp5/util/testnode/UnitTestRunner.py
erp5/util/testnode/UnitTestRunner.py
+6
-2
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+1
-1
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
b8d8de4d
...
@@ -95,3 +95,6 @@ class ScalabilityTestRunner():
...
@@ -95,3 +95,6 @@ class ScalabilityTestRunner():
# TODO : write code
# TODO : write code
pass
pass
def
getRelativePathUsage
(
self
):
return
True
erp5/util/testnode/UnitTestRunner.py
View file @
b8d8de4d
...
@@ -98,6 +98,9 @@ class UnitTestRunner():
...
@@ -98,6 +98,9 @@ class UnitTestRunner():
software_path_list
=
self
.
testnode
.
config
.
get
(
"software_list"
))
software_path_list
=
self
.
testnode
.
config
.
get
(
"software_list"
))
def
prepareSlapOSForTestSuite
(
self
,
node_test_suite
):
def
prepareSlapOSForTestSuite
(
self
,
node_test_suite
):
"""
Build softwares needed by testsuites
"""
log
=
self
.
testnode
.
log
log
=
self
.
testnode
.
log
if
log
is
None
:
if
log
is
None
:
log
=
self
.
testnode
.
log
log
=
self
.
testnode
.
log
...
@@ -148,8 +151,9 @@ class UnitTestRunner():
...
@@ -148,8 +151,9 @@ class UnitTestRunner():
cwd
=
node_test_suite
.
test_suite_directory
,
cwd
=
node_test_suite
.
test_suite_directory
,
log_prefix
=
'runTestSuite'
,
get_output
=
False
)
log_prefix
=
'runTestSuite'
,
get_output
=
False
)
def
getRelativePathUsage
(
self
):
return
False
...
...
erp5/util/testnode/testnode.py
View file @
b8d8de4d
...
@@ -361,7 +361,7 @@ branch = %(branch)s
...
@@ -361,7 +361,7 @@ branch = %(branch)s
node_test_suite
.
edit
(
**
test_suite
)
node_test_suite
.
edit
(
**
test_suite
)
run_software
=
True
run_software
=
True
# Write our own software.cfg to use the local repository
# Write our own software.cfg to use the local repository
self
.
constructProfile
(
node_test_suite
)
self
.
constructProfile
(
node_test_suite
,
runner
.
getRelativePathUsage
()
)
# kill processes from previous loop if any
# kill processes from previous loop if any
self
.
process_manager
.
killPreviousRun
()
self
.
process_manager
.
killPreviousRun
()
self
.
getAndUpdateFullRevisionList
(
node_test_suite
)
self
.
getAndUpdateFullRevisionList
(
node_test_suite
)
...
...
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