def do_test():
    self.do_run(open(path_from_root('tests', 'third_party', 'openjpeg', 'codec', 'j2k_to_image.c')).read(), 'Successfully generated', '-i image.j2k -o image.raw'.split(' '), libraries=lib, includes=[path_from_root('tests', 'third_party', 'openjpeg', 'libopenjpeg'), path_from_root('tests', 'third_party', 'openjpeg', 'codec'), path_from_root('tests', 'third_party', 'openjpeg', 'common'), os.path.join(self.get_build_dir(), 'openjpeg')], force_c=True, assert_returncode=0, output_nicerizer=image_compare)
def do_test():
    self.do_run(open(path_from_root('tests', 'third_party', 'openjpeg', 'codec', 'j2k_to_image.c')).read(), 'Successfully generated', '-i image.j2k -o image.raw'.split(' '), libraries=lib, includes=[path_from_root('tests', 'third_party', 'openjpeg', 'libopenjpeg'), path_from_root('tests', 'third_party', 'openjpeg', 'codec'), path_from_root('tests', 'third_party', 'openjpeg', 'common'), os.path.join(self.get_build_dir(), 'openjpeg')], force_c=True, assert_returncode=0, output_nicerizer=image_compare)