Skip to content

Commit

Permalink
test script upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyniu committed Mar 23, 2024
1 parent 8f7d1dd commit 30b927a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/unitest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,10 @@ tests_run()
fi )
if [ $? -ne 0 ] || [ $ret -ne 0 ] ; then ret=1 ; fi

( if { : ; arch=aarch64 ; test_arch_canrun ; } ||
{ arch=x86_64 ; test_arch_canrun ; }
( if { : ; arch=aarch64 ; [ X"$sysarch" = X"$arch" ] &&
test_arch_canrun ; } ||
{ arch=x86_64 ; test_arch_canrun ; } ||
{ arch=aarch64 ; test_arch_canrun ; }
then test_run_1arch
fi )
if [ $? -ne 0 ] || [ $ret -ne 0 ] ; then ret=1 ; fi
Expand Down

0 comments on commit 30b927a

Please sign in to comment.