Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Charles Burton
Gaudi
Commits
40c0132d
Commit
40c0132d
authored
Aug 29, 2014
by
Marco Clemencic
Browse files
run_qmtest and CTestXML2HTML resilient to configuration mistakes
parent
f751eddf
Changes
3
Hide whitespace changes
Inline
Side-by-side
GaudiPolicy/doc/release.notes
View file @
40c0132d
...
...
@@ -2,6 +2,9 @@ package GaudiPolicy
package
manager
:
Marco
Clemencic
Commit
Id
:
$
Format
:%
H
$
! 2014-08-29 - Marco Clemencic
-
Made
run_qmtest
and
CTestXML2HTML
more
resilient
to
configuration
mistakes
.
! 2014-08-28 - Marco Clemencic
-
Minor
fixes
to
GaudiTest
.
py
and
CTestXML2HTML
.
...
...
GaudiPolicy/scripts/CTestXML2HTML
View file @
40c0132d
...
...
@@ -535,6 +535,11 @@ def main():
for
site
in
sites
:
#print " -> Process the site : "+site.get("BuildStamp")
Testing
=
site
.
find
(
"Testing"
)
tests
=
Testing
.
findall
(
'Test'
)
if
not
tests
:
# no tests in this "site", let's ignore it
continue
#create a directory containing the html file for each site
outputTemp
=
output
#os.path.join(output,os.path.split(fileName)[1][:-8]+str(site.get("BuildStamp")))
if
not
os
.
path
.
isdir
(
outputTemp
)
:
...
...
GaudiPolicy/scripts/run_qmtest.py
View file @
40c0132d
...
...
@@ -77,6 +77,13 @@ def main(argv = None):
print
"==========> Running tests for package %s"
%
opts
.
package
if
not
os
.
path
.
isdir
(
opts
.
qmtest_dir
):
print
"==========> No test directory, exiting"
return
print
"==========> Entering '%s'"
%
opts
.
qmtest_dir
os
.
chdir
(
opts
.
qmtest_dir
)
# create the destination directory if necessary
if
opts
.
output
:
results_dest_dir
=
os
.
path
.
realpath
(
os
.
path
.
join
(
opts
.
qmtest_dir
,
os
.
path
.
dirname
(
opts
.
output
)))
...
...
@@ -84,9 +91,6 @@ def main(argv = None):
print
"==========> Creating '%s'"
%
results_dest_dir
os
.
makedirs
(
results_dest_dir
,
0755
)
print
"==========> Entering '%s'"
%
opts
.
qmtest_dir
os
.
chdir
(
opts
.
qmtest_dir
)
qmtest_cmd
=
[
"qmtest"
]
if
not
os
.
path
.
isdir
(
"QMTest"
):
...
...
Write
Preview
Supports
Markdown
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