mirror of https://github.com/KLayout/klayout.git
unit-testing pymod with tl, rdb, and db (+plugins) tests
This commit is contained in:
parent
80694aaba2
commit
c78c2a0228
|
|
@ -232,7 +232,7 @@ script:
|
|||
python setup.py build;
|
||||
python setup.py bdist_wheel;
|
||||
python setup.py install;
|
||||
python test-klayout-db-plugins.py;
|
||||
python -m unittest testdata/pymod/import_db.py testdata/pymod/import_rdb.py testdata/pymod/import_tl.py;
|
||||
mkdir -p deploy/dist-pymod;
|
||||
cp -a dist/* deploy/dist-pymod/;
|
||||
python -c 'import klayout.db as db; print(dir(db))';
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
import klayout.db as kdb
|
||||
|
||||
layout = kdb.Layout()
|
||||
|
||||
layer1 = layout.layer(kdb.LayerInfo('1/0'))
|
||||
|
||||
TOP = layout.create_cell("TOP")
|
||||
|
||||
box = kdb.DBox(kdb.DPoint(-4500, -4500), kdb.DPoint(4500, 4500))
|
||||
|
||||
TOP.shapes(layer1).insert(box)
|
||||
|
||||
layout.write('test.gds')
|
||||
Loading…
Reference in New Issue