Commit 90f9e1d0 authored by Robert Schmidt's avatar Robert Schmidt

Update number of expected files

parent 50615cee
...@@ -143,6 +143,8 @@ function check_on_vm_build { ...@@ -143,6 +143,8 @@ function check_on_vm_build {
else else
LOG_FILES=`ls $ARCHIVES_LOC/*.txt` LOG_FILES=`ls $ARCHIVES_LOC/*.txt`
fi fi
echo "LOG_FILES=$LOG_FILES"
echo "expecting NB_PATTERN_FILES=$NB_PATTERN_FILES"
STATUS=0 STATUS=0
NB_FOUND_FILES=0 NB_FOUND_FILES=0
...@@ -162,9 +164,12 @@ function check_on_vm_build { ...@@ -162,9 +164,12 @@ function check_on_vm_build {
else else
LOCAL_STAT=`egrep -c "Built target $PASS_PATTERN" $FULLFILE` LOCAL_STAT=`egrep -c "Built target $PASS_PATTERN" $FULLFILE`
fi fi
if [ $LOCAL_STAT -eq 0 ]; then STATUS=-1; fi if [ $LOCAL_STAT -eq 0 ]; then
echo "WARNING: file $filename does not contain pass pattern"
else
NB_FOUND_FILES=$((NB_FOUND_FILES + 1)) NB_FOUND_FILES=$((NB_FOUND_FILES + 1))
fi fi
fi
done done
if [ $NB_PATTERN_FILES -ne $NB_FOUND_FILES ] if [ $NB_PATTERN_FILES -ne $NB_FOUND_FILES ]
......
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