Commit 59687531 authored by Rafal Bielski's avatar Rafal Bielski
Browse files

Move from perl RegTest to python version

parent 665d5950
......@@ -110,7 +110,7 @@ fi
if [ -f ${REGTESTREF} ]; then
echo $(date "+%FT%H:%M %Z")" Running regtest using reference file ${REGTESTREF}"
timeout 5m regtest.pl --inputfile ${REGTESTREF_BASENAME} --reffile ${REGTESTREF} --linematch ".*" 2>&1 | tee regtest.log
timeout 5m regtest.py --inputfile ${REGTESTREF_BASENAME} --reffile ${REGTESTREF} --linematch ".*" 2>&1 | tee regtest.log
echo "art-result: ${PIPESTATUS[0]} RegTest"
else
echo $(date "+%FT%H:%M %Z")" The reference file does not exist: ${REGTESTREF}"
......
......@@ -251,7 +251,7 @@ class RegTestStep(RefComparisonStep):
def __init__(self, name='RegTest'):
super(RegTestStep, self).__init__(name)
self.regex = 'REGTEST'
self.executable = 'regtest.pl'
self.executable = 'regtest.py'
self.input_base_name = 'athena'
self.args += ' --linematch ".*"'
self.auto_report_result = True
......
......@@ -71,7 +71,7 @@ grep REGTEST athena.log > athena.regtest
if [ -f ${REF_FOLDER}/athena.regtest ]; then
echo $(date "+%FT%H:%M %Z")" Running regtest"
timeout 5m regtest.pl --inputfile athena.regtest --reffile ${REF_FOLDER}/athena.regtest 2>&1 | tee regtest.log
timeout 5m regtest.py --inputfile athena.regtest --reffile ${REF_FOLDER}/athena.regtest 2>&1 | tee regtest.log
echo "art-result: ${PIPESTATUS[0]} RegTest"
else
echo $(date "+%FT%H:%M %Z")" No reference athena.regtest found in ${REF_FOLDER}"
......
Markdown is supported
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