From c78c2a02286ac60c2114e1cba00f736d00708ef7 Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Tue, 9 Oct 2018 18:00:38 -0400 Subject: [PATCH] unit-testing pymod with tl, rdb, and db (+plugins) tests --- .travis.yml | 2 +- test-klayout-db-plugins.py | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 test-klayout-db-plugins.py 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')