Skip to content

Commit

Permalink
Merge pull request #58 from siliconcompiler/assert-sym
Browse files Browse the repository at this point in the history
Assert symbolic links
  • Loading branch information
gadfort authored Jun 21, 2024
2 parents ce21df5 + 3227306 commit 6a6dc81
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 38 deletions.

This file was deleted.

15 changes: 0 additions & 15 deletions lambdapdk/asap7/libs/asap7sc7p5t_shared/apr/openroad/pdngen.tcl

This file was deleted.

18 changes: 0 additions & 18 deletions lambdapdk/asap7/libs/asap7sc7p5t_shared/apr/openroad/tracks.tcl

This file was deleted.

10 changes: 10 additions & 0 deletions tests/test_paths.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pytest
from siliconcompiler import Chip
import os

from lambdapdk import asap7, freepdk45, sky130, gf180
from lambdapdk.asap7.libs import asap7sc7p5t, fakeram7
Expand All @@ -25,3 +26,12 @@ def test_lib_paths(lib):
chip = Chip('<lib>')
chip.use(lib)
assert chip.check_filepaths()


def test_symbolic_links():
lambda_root = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
for root, dirs, files in os.walk(lambda_root):
for d in dirs:
assert not os.path.islink(os.path.join(root, d))
for f in files:
assert not os.path.islink(os.path.join(root, f))

0 comments on commit 6a6dc81

Please sign in to comment.