Skip to contentSkip to conversation

KUnit update for Linux 5.11-rc3

GIT PULL Merged Shuah Khan 2 participants 2 messages Jan 8, 2021 – Jan 9, 2021

Subsystems (2)
lore
Share & tools
lore

Shuah Khan

author maintainer
#0 lore raw

Hi Linus,

Please pull the following KUnit fixes update for Linux 5.11-rc3.

This kunit update for Linux 5.11-rc3 consists one fix to force the use of the 'tty' console for UML. Given that kunit tool requires the console output, explicitly stating the dependency makes sense than relying on it being the default.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62:

Linux 5.11-rc2 (2021-01-03 15:55:30 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
tags/linux-kselftest-kunit-fixes-5.11-rc3

for you to fetch changes up to 65a4e5299739abe0888cda0938d21f8ea3b5c606:

kunit: tool: Force the use of the 'tty' console for UML (2021-01-04
09:18:38 -0700)

----------------------------------------------------------------
linux-kselftest-kunit-fixes-5.11-rc3

This kunit update for Linux 5.11-rc3 consists one fix to force the use of the 'tty' console for UML. Given that kunit tool requires the console output, explicitly stating the dependency makes sense than relying on it being the default.

----------------------------------------------------------------
David Gow (1):
kunit: tool: Force the use of the 'tty' console for UML

 tools/testing/kunit/kunit_kernel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

----------------------------------------------------------------

tools/testing/kunit/kunit_kernel.py +1 -1
index 57c1724b7e5d..698358c9c0d6 100644
@@ -198,7 +198,7 @@ class LinuxSourceTree(object):
 		return self.validate_config(build_dir)
 
 	def run_kernel(self, args=[], build_dir='', timeout=None):
-		args.extend(['mem=1G'])
+		args.extend(['mem=1G', 'console=tty'])
 		self._ops.linux_bin(args, timeout, build_dir)
 		outfile = get_outfile_path(build_dir)
 		subprocess.call(['stty', 'sane'])
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 8 Jan 2021 11:57:56 -0700:

The pull request you sent on Fri, 8 Jan 2021 11:57:56 -0700:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-kunit-fixes-5.11-rc3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/263da3330f6c0e4af603ec62f291e43eb3001f7b

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html