mirror of https://github.com/KLayout/klayout.git
More unit test stability
This commit is contained in:
parent
5a31d243ff
commit
8d6a43b6d2
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1398,10 +1398,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
|
||||
|
|
|
|||
Loading…
Reference in New Issue