Skip to content

Commit 090fd37

Browse files
turn off part of test if jpeg not available
1 parent 4256934 commit 090fd37

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_grb2_inq.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ main()
333333
return 25;
334334
}
335335
}
336+
// GRIB file has JPEG packing type.
337+
#if G2_JPEG2000_ENABLED == 1
336338
printf("Testing grb2_inqVA()...\n");
337339
{
338340
long long int ret;
@@ -414,6 +416,7 @@ main()
414416
return 36;
415417
}
416418
}
419+
#endif
417420
printf("SUCCESS!\n");
418421
return 0;
419422
}

0 commit comments

Comments
 (0)