Commit 343083c8 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fixed issue in run_qmtest when called from CMT.

(introduced with commit c4dff5)

From: Marco Clemencic <marco.clemencic@cern.ch>


git-svn-id: svn+ssh://svn.cern.ch/reps/gaudi/Gaudi/trunk@7517 53ecefc3-a64d-0410-9bdf-b8581fa3287e
parent 7a921110
......@@ -2,6 +2,10 @@ package GaudiPolicy
package manager: Marco Clemencic
Commit Id: $Format:%H$
! 2014-09-11 - Marco Clemencic
- Fixed issue in run_qmtest when called from CMT.
(introduced with commit c4dff5)
! 2014-08-29 - Marco Clemencic
- Modified CTestXML2HTML to ignore tests with label 'test-wrapper', if they are
successful.
......
......@@ -81,9 +81,6 @@ def main(argv = None):
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)))
......@@ -91,6 +88,9 @@ 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"):
......@@ -166,4 +166,4 @@ def main(argv = None):
# Note: the return code of qmtest is not propagated to avoid that
# CMT stops if we have a non-PASS tests (e.g. UNTESTED).
if __name__ == '__main__':
main()
\ No newline at end of file
main()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment