[PATCH openEuler-5.10 v2 150/548] selftests: harness: avoid false negatives if test has no ASSERTs