<filename>tests/core/test_archive.py
# Copyright 2020 Silicon Compiler Authors. All Rights Reserved.
import siliconcompiler
import os
import pytest
@pytest.mark.skip(reason="broken file path")
def test_archive(oh_dir):
    srcdir = os.path.join(oh_dir, 'stdlib', 'hdl')

    chip = siliconcompiler.Chip()
    chip.set('design', 'oh_add')
    chip.set('source', os.path.join(srcdir,'oh_add.v'))
    chip.set('steplist','import')
    chip.target('asicflow_freepdk45')
    chip.run()
    chip.archive()

#########################
if __name__ == "__main__":
    test_archive()

<filename>tests/core/test_archive.py
# Copyright 2020 Silicon Compiler Authors. All Rights Reserved.
import siliconcompiler
import os
import pytest
@pytest.mark.skip(reason="broken file path")
def test_archive(oh_dir):
    srcdir = os.path.join(oh_dir, 'stdlib', 'hdl')

    chip = siliconcompiler.Chip()
    chip.set('design', 'oh_add')
    chip.set('source', os.path.join(srcdir,'oh_add.v'))
    chip.set('steplist','import')
    chip.target('asicflow_freepdk45')
    chip.run()
    chip.archive()

#########################
if __name__ == "__main__":
    test_archive()

# Copyright 2020 Silicon Compiler Authors. All Rights Reserved. #########################