[Consider merging] Fixed file content of test data - .oas is OASIS, .gds is GDSII

This commit is contained in:
Matthias Koefferlein 2022-08-10 21:47:42 +02:00
parent 0b0e440781
commit 1d88e65689
15 changed files with 5 additions and 5 deletions

View File

@ -1117,18 +1117,18 @@ TEST(24_enclosing)
db::compare_layouts (_this, layout, au, db::NoNormalization);
}
static void run_test (tl::TestBase *_this, const std::string &number, bool deep)
static void run_test (tl::TestBase *_this, const std::string &number, bool deep, bool oasis = false)
{
std::string rs = tl::testdata ();
rs += "/drc/drcSimpleTests_" + number + ".drc";
std::string input = tl::testdata ();
input += "/drc/drcSimpleTests_" + number + ".gds";
input += "/drc/drcSimpleTests_" + number + "." + (oasis ? "oas" : "gds");
std::string au = tl::testdata ();
au += "/drc/drcSimpleTests_au" + number + std::string (deep ? "d" : "") + ".gds";
au += "/drc/drcSimpleTests_au" + number + std::string (deep ? "d" : "") + "." + (oasis ? "oas" : "gds");
std::string output = _this->tmp_file ("tmp.gds");
std::string output = _this->tmp_file (oasis ? "tmp.oas" : "tmp.gds");
{
// Set some variables
@ -1295,7 +1295,7 @@ TEST(49d_epAngle)
TEST(50_issue826)
{
run_test (_this, "50", false);
run_test (_this, "50", false, true /*OASIS*/);
}
TEST(51_epInternalAngle)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
testdata/drc/drcSimpleTests_50.oas vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
testdata/drc/drcSimpleTests_au50.oas vendored Normal file

Binary file not shown.