Although "testcase" tags contain the "timestamp" element, for day-0 testing it can be hard to relate the timestamp to the tested kernel version. Thus this patch will add a "kernel" element to the "testcase" tag, to indicate the kernel version we're running. Paired with CONFIG_LOCALVERSION_AUTO=y config, it will easily show the kernel commit we're testing. Since we're here, also add a "arch" element, as there are more and more aarch64 boards (From RK3399 to Apple M1) able to finish fstests in an acceptable duration, we can no longer assume x86_64 as our only platform. Signed-off-by: Qu Wenruo <wqu@xxxxxxxx> --- common/report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/report b/common/report index 4a747f8d..92586527 100644 --- a/common/report +++ b/common/report @@ -49,7 +49,7 @@ _xunit_make_section_report() date_time=$(date +"%F %T") fi local stats="failures=\"$bad_count\" skipped=\"$notrun_count\" tests=\"$tests_count\" time=\"$sect_time\"" - local hw_info="hostname=\"$HOST\" timestamp=\"${date_time/ /T}\" " + local hw_info="hostname=\"$HOST\" timestamp=\"${date_time/ /T}\" arch=\"$(uname -m)\" kernel=\"$(uname -r)\"" echo "<testsuite name=\"xfstests\" $stats $hw_info >" >> $REPORT_DIR/result.xml # Properties -- 2.38.0