mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 10:40:06 +01:00
fixed output redirection
This commit is contained in:
@@ -158,9 +158,9 @@ class TestCLI(unittest.TestCase):
|
||||
archs = osaca.SUPPORTED_ARCHS
|
||||
for arch in archs:
|
||||
with self.subTest(micro_arch=arch):
|
||||
out = io.StringIO()
|
||||
sanity = sanity_check(arch, verbose=2, output=out)
|
||||
self.assertTrue(sanity, msg=output)
|
||||
out = StringIO()
|
||||
sanity = sanity_check(arch, verbose=2, output_file=out)
|
||||
self.assertTrue(sanity, msg=out)
|
||||
|
||||
def test_without_arch(self):
|
||||
# Run test kernels without --arch flag
|
||||
|
||||
Reference in New Issue
Block a user