examples/linuxbuild.py: Revert self.srcdir override

With ldoktor's fix 136a78b6 this is unnecessary and we
risk it being confused for people looking at the
examples.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 385e092c
......@@ -23,10 +23,6 @@ class LinuxBuildTest(Test):
if linux_config is not None:
linux_config = self.get_data_path(linux_config)
# make doesn't play well with commands that have ":", and it happens
# that the srcdir for instrumented tests include it, so, let's use
# a simpler srcdir for this specific test
self.srcdir = tempfile.mkdtemp()
self.linux_build = kernel_build.KernelBuild(kernel_version,
linux_config,
self.srcdir)
......@@ -37,9 +33,6 @@ class LinuxBuildTest(Test):
def test(self):
self.linux_build.build()
def tearDown(self):
shutil.rmtree(self.srcdir)
if __name__ == "__main__":
main()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册