mirror of https://github.com/KLayout/klayout.git
Updating test data
This commit is contained in:
parent
aed3f1862b
commit
ea79698f15
|
|
@ -1192,7 +1192,7 @@ TEST(121)
|
|||
{
|
||||
db::GDS2WriterOptions opt;
|
||||
opt.max_vertex_count = 4;
|
||||
run_test (_this, "t121.oas.gz", "t121_au.gds.gz", true, opt);
|
||||
run_test (_this, "t121.oas.gz", "t121_au_2.gds.gz", true, opt);
|
||||
}
|
||||
|
||||
// Meta info
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
static void run_test (tl::TestBase *_this, const char *dir)
|
||||
static void run_test (tl::TestBase *_this, const char *dir, const char *au_file = "au.oas.gz")
|
||||
{
|
||||
if (! tl::XMLParser::is_available ()) {
|
||||
throw tl::CancelException ();
|
||||
|
|
@ -53,7 +53,7 @@ static void run_test (tl::TestBase *_this, const char *dir)
|
|||
reader.read (layout, options);
|
||||
}
|
||||
|
||||
db::compare_layouts (_this, layout, tl::testdata_private () + "/pcb/" + dir + "/au.oas.gz", db::WriteOAS, 1);
|
||||
db::compare_layouts (_this, layout, tl::testdata_private () + "/pcb/" + dir + "/" + au_file, db::WriteOAS, 1);
|
||||
}
|
||||
|
||||
TEST(0_Metadata)
|
||||
|
|
@ -167,7 +167,7 @@ TEST(1)
|
|||
|
||||
TEST(2)
|
||||
{
|
||||
run_test (_this, "allegro");
|
||||
run_test (_this, "allegro", "au_2.oas.gz");
|
||||
}
|
||||
|
||||
TEST(3)
|
||||
|
|
@ -199,13 +199,13 @@ TEST(7)
|
|||
TEST(8)
|
||||
{
|
||||
test_is_long_runner ();
|
||||
run_test (_this, "microchip-2");
|
||||
run_test (_this, "microchip-2", "au_2.oas.gz");
|
||||
}
|
||||
|
||||
TEST(9)
|
||||
{
|
||||
test_is_long_runner ();
|
||||
run_test (_this, "microchip-3");
|
||||
run_test (_this, "microchip-3", "au_2.oas.gz");
|
||||
}
|
||||
|
||||
TEST(10)
|
||||
|
|
@ -236,7 +236,7 @@ TEST(14)
|
|||
|
||||
TEST(15)
|
||||
{
|
||||
run_test (_this, "gerbv_examples/polarity");
|
||||
run_test (_this, "gerbv_examples/polarity", "au_2.oas.gz");
|
||||
}
|
||||
|
||||
TEST(16)
|
||||
|
|
@ -294,7 +294,7 @@ TEST(25)
|
|||
TEST(26)
|
||||
{
|
||||
test_is_long_runner ();
|
||||
run_test (_this, "pos-neg");
|
||||
run_test (_this, "pos-neg", "au_2.oas.gz");
|
||||
}
|
||||
|
||||
TEST(27)
|
||||
|
|
@ -334,12 +334,12 @@ TEST(X2_2e)
|
|||
|
||||
TEST(X2_2f)
|
||||
{
|
||||
run_test (_this, "x2-2f");
|
||||
run_test (_this, "x2-2f", "au_2.oas.gz");
|
||||
}
|
||||
|
||||
TEST(X2_2g)
|
||||
{
|
||||
run_test (_this, "x2-2g");
|
||||
run_test (_this, "x2-2g", "au_2.oas.gz");
|
||||
}
|
||||
|
||||
TEST(X2_2h)
|
||||
|
|
@ -364,7 +364,7 @@ TEST(X2_2k)
|
|||
|
||||
TEST(X2_3)
|
||||
{
|
||||
run_test (_this, "x2-3");
|
||||
run_test (_this, "x2-3", "au_2.oas.gz");
|
||||
}
|
||||
|
||||
TEST(X2_4)
|
||||
|
|
|
|||
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue