def test_tristate_z(self):
    test_env = os.environ.copy()
    test_env['POWERED_VERILOG'] = powered_verilog = os.path.abspath(os.path.join(self.directory, self.config['gds']['directory'], self.config['gds']['lvs_filename']))
    test_env['TOPLEVEL'] = self.config['caravel_test']['module_name']
    test_env['PDK_ROOT'] = self.system_config['lvs']['PDK_ROOT']
    cmd = ['make', 'clean', 'test']
    cwd = 'buffertest'
    logging.info(('attempting to run %s in %s' % (cmd, cwd)))
    try:
        subprocess.run(cmd, cwd=cwd, env=test_env, check=True)
    except subprocess.CalledProcessError as e:
        logging.error(e)
        exit(1)
    logging.info('tristate z test pass')
def test_tristate_z(self):
    test_env = os.environ.copy()
    test_env['POWERED_VERILOG'] = powered_verilog = os.path.abspath(os.path.join(self.directory, self.config['gds']['directory'], self.config['gds']['lvs_filename']))
    test_env['TOPLEVEL'] = self.config['caravel_test']['module_name']
    test_env['PDK_ROOT'] = self.system_config['lvs']['PDK_ROOT']
    cmd = ['make', 'clean', 'test']
    cwd = 'buffertest'
    logging.info(('attempting to run %s in %s' % (cmd, cwd)))
    try:
        subprocess.run(cmd, cwd=cwd, env=test_env, check=True)
    except subprocess.CalledProcessError as e:
        logging.error(e)
        exit(1)
    logging.info('tristate z test pass')