Skip to content

Commit

Permalink
Merge pull request #24 from redhat-performance/handle_arm
Browse files Browse the repository at this point in the history
Filter out tests that do not run on arm.
  • Loading branch information
dvalinrh authored Jul 29, 2024
2 parents 63ead2d + 0939db2 commit 791eb1f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions passmark/passmark_run
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ produce_report()
located=0
[ -f results.csv ] && rm results.csv
while IFS= read -r line
arch=`uname -m`
do
if [[ $line == *"Results Complete:"* ]]; then
located=1
Expand All @@ -144,6 +145,13 @@ produce_report()
if [[ $line == *"SystemInformation:"* ]]; then
break;
fi

if [[ $arch == "aarch64" ]] && [[ $line == *"CPU_avx"* ]]; then
#
# Filter tests that do not run on ARM.
#
continue
fi
echo $line | sed "s/ //g" >> results.csv
done < "$summary_file"
fi
Expand Down

0 comments on commit 791eb1f

Please sign in to comment.