mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 11:31:08 +02:00
More unit test stability
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
// Testing the converter main implementation (CIF)
|
||||
TEST(1)
|
||||
{
|
||||
#if defined(HAVE_PYTHON)
|
||||
std::string fp (tl::testsrc ());
|
||||
fp += "/testdata/bd/strmrun.py";
|
||||
|
||||
@@ -51,5 +52,6 @@ TEST(1)
|
||||
tl::info << data;
|
||||
|
||||
EXPECT_EQ (data, "Hello, world (0,-42;42,0)!\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-4
@@ -1460,10 +1460,8 @@ class Basic_TestClass < TestBase
|
||||
assert_equal(RBA::A.a20_get == nil, false)
|
||||
|
||||
# after "manage" the object gets volatile again
|
||||
1.times do
|
||||
a = RBA::A.a20_get
|
||||
a._manage
|
||||
end
|
||||
a = RBA::A.a20_get
|
||||
a._manage
|
||||
|
||||
# Looks like Ruby is keeping the last A instance in some kind of cache:
|
||||
# this will release it
|
||||
|
||||
Reference in New Issue
Block a user