This repository was archived by the owner on Aug 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ get_core_dumps() {
24
24
}
25
25
26
26
core_dumps=$( get_core_dumps | tr ' \n' ' ' )
27
- assertion_failures=$( find " $SYSTESTDIR /" -name named.run -exec grep " assertion failure" {} + | wc -l)
28
- sanitizer_summaries=$( find " $SYSTESTDIR /" -name ' tsan.*' | wc -l)
29
27
if [ -n " $core_dumps " ]; then
30
28
status=1
31
29
echoinfo " I:$systest :Core dump(s) found: $core_dumps "
@@ -54,13 +52,19 @@ if [ -n "$core_dumps" ]; then
54
52
echoinfo " D:$systest :core dump $coredump archived as $coredump .gz"
55
53
gzip -1 " ${coredump} "
56
54
done
57
- elif [ " $assertion_failures " -ne 0 ]; then
55
+ fi
56
+
57
+ assertion_failures=$( find " $SYSTESTDIR /" -name named.run -exec grep " assertion failure" {} + | wc -l)
58
+ if [ " $assertion_failures " -ne 0 ]; then
58
59
status=1
59
60
echoinfo " I:$systest :$assertion_failures assertion failure(s) found"
60
- find " $SYSTESTDIR /" -name ' tsan.*' -exec grep " SUMMARY: " {} + | sort -u | cat_d
61
- elif [ " $sanitizer_summaries " -ne 0 ]; then
61
+ fi
62
+
63
+ tsan_failures=$( find " $SYSTESTDIR /" -name ' tsan.*' | wc -l)
64
+ if [ " $tsan_failures " -ne 0 ]; then
62
65
status=1
63
- echoinfo " I:$systest :$sanitizer_summaries sanitizer report(s) found"
66
+ echoinfo " I:$systest :$tsan_failures TSAN sanitizer report(s) found"
67
+ find " $SYSTESTDIR /" -name ' tsan.*' -exec grep " SUMMARY: " {} + | sort -u | cat_d
64
68
fi
65
69
66
70
exit $status
You can’t perform that action at this time.
0 commit comments