Skip to content

Commit

Permalink
Add processing nomach files in runtest.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmakarov committed Feb 1, 2024
1 parent 6606f8a commit 7d885df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions c-tests/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ runtest () {
if test -f $t.mach && ! $GREP -E "`uname -m`" $t.mach >/dev/null; then
$ECHO $t: SKIPPED as used only for "`cat $t.mach`"; return 0;
fi
if test -f $t.nomach && $GREP -E "`uname -m`" $t.nomach >/dev/null; then
$ECHO $t: SKIPPED as disabled for "`cat $t.nomach`"; return 0;
fi
if test -f $t.opt && ! $GREP -E -- "`cat $t.opt`" $execution_program >/dev/null; then
$ECHO $t: SKIPPED as used only for "`cat $t.opt`"; return 0;
fi
Expand Down

0 comments on commit 7d885df

Please sign in to comment.