Skip to content

Commit

Permalink
Just test mode_select yet again (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Feb 7, 2025
1 parent c72a790 commit f1920a2
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,20 @@ jobs:
- name: Run tests
run: |
set +e
tm rt/mode_select
for dir in $(ls -pd rt/mode_select | grep '/$'); do
diff -c ${dir}t1/mode_select/_err.left ${dir}/t1/mode_select/_err.right > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo ">>>> ${dir}/err.txt"
diff -c ${dir}t1/*/_err.left ${dir}/t1/*/_err.right || echo
echo ">>>> ${dir}/out.txt"
diff -c ${dir}/out.txt ${dir}/t1/*/out.txt || echo
echo ">>>> ${dir}/t1.txt"
cat ${dir}t1/*/t1.log
fi
while true; do
tm rt/mode_select
for dir in $(ls -pd rt/mode_select | grep '/$'); do
diff -c ${dir}t1/mode_select/_err.left ${dir}/t1/mode_select/_err.right > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo ">>>> ${dir}/err.txt"
diff -c ${dir}t1/*/_err.left ${dir}/t1/*/_err.right || echo
echo ">>>> ${dir}/out.txt"
diff -c ${dir}/out.txt ${dir}/t1/*/out.txt || echo
echo ">>>> ${dir}/t1.txt"
cat ${dir}t1/*/t1.log
fi
done
break
done
false
- name: show output of failed Lmod tests
Expand Down

0 comments on commit f1920a2

Please sign in to comment.