mirror of https://github.com/KLayout/klayout.git
WIP: gcov enabled, added more test cases.
This commit is contained in:
parent
8420b29025
commit
d7099edcae
|
|
@ -113,7 +113,7 @@ msvc {
|
||||||
|
|
||||||
CONFIG(gcov) {
|
CONFIG(gcov) {
|
||||||
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
|
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage
|
||||||
QMAKE_LFLAGS += -fprofile-arcs -ftest-coverage
|
QMAKE_LFLAGS += --coverage
|
||||||
}
|
}
|
||||||
|
|
||||||
QMAKE_CXXFLAGS_WARN_ON += \
|
QMAKE_CXXFLAGS_WARN_ON += \
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -160,3 +160,27 @@ TEST(BasicNot5)
|
||||||
// Variant building with intermediate hierarchy, NOT
|
// Variant building with intermediate hierarchy, NOT
|
||||||
run_test_bool (_this, "hlp5.oas", TMNot, 101);
|
run_test_bool (_this, "hlp5.oas", TMNot, 101);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST(BasicAnd6)
|
||||||
|
{
|
||||||
|
// Extreme variants (copy, vanishing), AND
|
||||||
|
run_test_bool (_this, "hlp6.oas", TMAnd, 100);
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST(BasicNot6)
|
||||||
|
{
|
||||||
|
// Extreme variants (copy, vanishing), NOT
|
||||||
|
run_test_bool (_this, "hlp6.oas", TMNot, 101);
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST(BasicAnd7)
|
||||||
|
{
|
||||||
|
// Context replication - direct and indirect, AND
|
||||||
|
run_test_bool (_this, "hlp7.oas", TMAnd, 100);
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST(BasicNot7)
|
||||||
|
{
|
||||||
|
// Context replication - direct and indirect, NOT
|
||||||
|
run_test_bool (_this, "hlp7.oas", TMNot, 101);
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue