diff --git a/.travis.yml b/.travis.yml index a70551b6f..036ea13b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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))'; diff --git a/test-klayout-db-plugins.py b/test-klayout-db-plugins.py deleted file mode 100644 index ab05fdea0..000000000 --- a/test-klayout-db-plugins.py +++ /dev/null @@ -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')