示例#1
0
文件: cpp.py 项目: cclauss/byexample
    def run(self, example, options):
        # the algorithm to filter the echos from the cling's output
        # (see _get_output()) doesn't work if the terminal is resized
        # so we disable this:
        options['geometry'] = self._terminal_default_geometry

        # cling's output requeries to be emulated by an ANSI Terminal
        # so we force this (see _get_output())
        options['term'] = 'ansi'

        return PexepctMixin._run(self, example, options)
示例#2
0
文件: gdb.py 项目: cclauss/byexample
 def run(self, example, options):
     return PexepctMixin._run(self, example, options)