MCPcopy Create free account
hub / github.com/KLayout/klayout / test_12

Method test_12

testdata/klayout_main/main.rb:194–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 end
193
194 def test_12
195
196 # Application.exit(0) - Python
197 out = `#{self.klayout_bin} -z -r #{File.join(File.dirname(__FILE__), "test12.py")} 2>&1`
198 assert_equal(out, "Before exit()\n")
199
200 # Application.exit(0) - Ruby
201 out = `#{self.klayout_bin} -z -r #{File.join(File.dirname(__FILE__), "test12.rb")} 2>&1`
202 assert_equal(out, "Before exit()\n")
203
204 # sys.exit(0) - Python
205 out = `#{self.klayout_bin} -z -r #{File.join(File.dirname(__FILE__), "test12s.py")} 2>&1`
206 assert_equal(out, "Before exit()\n")
207
208 # quit() - Python (issue #1565)
209 out = `#{self.klayout_bin} -z -r #{File.join(File.dirname(__FILE__), "test12q.py")} 2>&1`
210 assert_equal(out, "Before quit()\n")
211
212 end
213
214end
215

Callers

nothing calls this directly

Calls 2

klayout_binMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected