4 This script will test highgui's InitSystem function
5 ATTENTION: This test doesn't do much, yet, but cvInitSystem
6 is called with default parameters on the first highgui function call anyway.
9 # name of this test and it's requirements
10 TESTNAME = "cvInitSystem"
13 # needed for sys.exit(int) and .works file handling
17 # check requirements and delete old flag file, if it exists
18 if not works.check_files(REQUIRED, TESTNAME):
23 # import the necessary things for OpenCV
25 from python import highgui
27 # try to initialize the highgui system
28 # res = highgui.cvInitSystem(globals["0,characs)
32 # create flag file for the following tests
33 works.set_file(TESTNAME)