Commit 8efea4ec authored by Julien Malik's avatar Julien Malik

BUG: add test showing bug #823

parent e76f218e
import otbApplication,sys
app = otbApplication.Registry.CreateApplication('Rasterization')
try:
app.GetParameterInt('szx')
except RuntimeError as e:
print "Exception message : " + e.args[0]
if e.args[0].startswith("boost::bad_any_cast"):
sys.exit(1)
sys.exit(0)
......@@ -36,6 +36,11 @@ add_test( NAME pyTvBug804
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/Bug804.py
)
add_test( NAME pyTvBug823
COMMAND ${TEST_DRIVER} Execute
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/Bug823.py
)
add_test( NAME pyTvBug736
COMMAND ${TEST_DRIVER}
--compare-image ${NOTOL}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment