Skip to content

Commit b1415bf

Browse files
committed
chore(tool): Show CPU info before running test
The host information (kernel version and CPU info) always has to be displayed even when the test is aborted unexpectedly in the middle. Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent 4856168 commit b1415bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/devtool

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ cmd_test() {
592592
# If we got to here, we've got all we need to continue.
593593
say "$(date -u +'%F %H:%M:%S %Z')"
594594
say "Kernel version: $(uname -r)"
595+
say "$(lscpu)"
595596
say "Starting test run ..."
596597

597598
if [[ $ramdisk = true ]]; then
@@ -633,9 +634,6 @@ cmd_test() {
633634
# dir. Let's fix that.
634635
cmd_fix_perms
635636

636-
# Log CPU information
637-
say "$(lscpu)"
638-
639637
# do not leave behind env.list file
640638
rm env.list
641639

0 commit comments

Comments
 (0)