mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-22 05:57:41 +02:00
Compatibility with Ruby 1.8.7 (main app test), tests fixed for CentOS6
This commit is contained in:
Vendored
+1
-1
@@ -60,7 +60,7 @@ class KLayoutMain_TestClass < TestBase
|
||||
def test_4
|
||||
|
||||
# Application class
|
||||
if !RBA.constants.find { |x| x == :QDialog }
|
||||
if !RBA.constants.find { |x| x == :QDialog || x == "QDialog" }
|
||||
|
||||
out = `./klayout -b -r #{File.join(File.dirname(__FILE__), "test_app.rb")}`
|
||||
assert_equal(out, "RBA::Application superclass Object\nMainWindow is not there\n")
|
||||
|
||||
Reference in New Issue
Block a user