Skip to content
Snippets Groups Projects
Commit ab5dc808 authored by Giovanna Lazzari Miotto's avatar Giovanna Lazzari Miotto :mushroom:
Browse files

test: Look for results in "in_progress" dir

parent 54bca0e7
No related branches found
No related tags found
No related merge requests found
Pipeline #8204708 passed
...@@ -100,6 +100,9 @@ function run_filedma_test() { ...@@ -100,6 +100,9 @@ function run_filedma_test() {
local pattern=".*${output_prefix}.*${output_suffix}[_0-9]*" local pattern=".*${output_prefix}.*${output_suffix}[_0-9]*"
echo "${FUNCNAME}: searching for filename matching pattern: '${pattern}'" echo "${FUNCNAME}: searching for filename matching pattern: '${pattern}'"
local output_files=$(find ${output_dir} -type f -iregex "${pattern}" ! -iname "*testfile.dat" | sort -rV) local output_files=$(find ${output_dir} -type f -iregex "${pattern}" ! -iname "*testfile.dat" | sort -rV)
if [ -z "${output_files}" ]; then
output_files=$(find "${output_dir}/in_progress" -type f -iregex "${pattern}" ! -iname "*testfile.dat" | sort -rV)
fi
if [ -z "${output_files}" ]; then if [ -z "${output_files}" ]; then
echo "${FUNCNAME}: SCDAQ test for ${test_id} FAILED: output file not found!" echo "${FUNCNAME}: SCDAQ test for ${test_id} FAILED: output file not found!"
test_failed=1 test_failed=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment