X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=tests%2Fpython%2Fhighgui%2FcvLoadImagePPM.py;fp=tests%2Fpython%2Fhighgui%2FcvLoadImagePPM.py;h=0000000000000000000000000000000000000000;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hp=19246289709e260abc08d416af91865afa1e1b02;hpb=454138ff8a20f6edb9b65a910101403d8b520643;p=opencv diff --git a/tests/python/highgui/cvLoadImagePPM.py b/tests/python/highgui/cvLoadImagePPM.py deleted file mode 100755 index 1924628..0000000 --- a/tests/python/highgui/cvLoadImagePPM.py +++ /dev/null @@ -1,22 +0,0 @@ -#! /usr/bin/env python -""" -This script will test highgui's image loading functionality -for .ppm files -""" - -# file extension to check -EXTENSION = "ppm" - -# import check routine -import cvLoadImage -import sys - -# check image file of extension EXTENSION, -# the function also exits and returns -# 0,1 or 77 accordingly. - -if cvLoadImage.image_ok(EXTENSION): - sys.exit(0) -else: - sys.exit(1) -