blob: 83de17aff309e3556ebac6bce9552aa3a1e89128 [file] [log] [blame]
'''Module that contains the test TestLanguage.'''
from __future__ import absolute_import
from harness.test_base import TestBaseNoTargetProcess
class TestLanguage(TestBaseNoTargetProcess):
'''
Tests the "language" command and "language renderscript" subcommand.
'''
def test_lldb_has_language_commands(self):
ci = self._ci
self.assert_true(
ci.HasCommands() and
ci.CommandExists('language')
)
self.try_command('language', ['renderscript'])
self.try_command('language renderscript', ['kernel',
'context',
'module',
'status'])