utils: evl: alpha-sort test list for all ops

Having a predictable sequence for testing and listing is handy. In
addition, ensure that shim tests are listed last.

Signed-off-by: Philippe Gerum <rpm@xenomai.org>
This commit is contained in:
Philippe Gerum 2020-12-13 16:16:59 +01:00
parent 354e0eb91e
commit d254a1182b
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ for t in "$@"; do
done
if test -z "$test_list"; then
test_list=$(find $EVL_TESTDIR -type f)
test_list="$(find $EVL_TESTDIR -type f -maxdepth 1 | sort)"
test_list="$test_list $(find $EVL_TESTDIR/eshi -type f | sort)"
if test -z "$test_list"; then
echo >&2 "$EVL_TESTDIR is empty - broken installation?"
exit 2