diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gass_append.c | 10 | ||||
-rw-r--r-- | test/gass_read.c | 3 | ||||
-rw-r--r-- | test/gass_write.c | 12 |
3 files changed, 23 insertions, 2 deletions
diff --git a/test/gass_append.c b/test/gass_append.c index 5cac7f9..96ac047 100644 --- a/test/gass_append.c +++ b/test/gass_append.c @@ -25,6 +25,8 @@ int main(void) } #else +#ifdef hide + #define URL "ftp://gass:gass12@which/tmp/gass/junk.w" #define DATASETNAME "Int1Array" #define NX 5 /* dataset dimensions */ @@ -145,4 +147,12 @@ int main (void) return 0; } + +#else +int main(void) +{ + printf("Test skipped because GASS driver does not support append yet\n"); + return 0; +} +#endif #endif diff --git a/test/gass_read.c b/test/gass_read.c index 13cf951..fb9ee4b 100644 --- a/test/gass_read.c +++ b/test/gass_read.c @@ -26,7 +26,8 @@ int main(void) } #else -#define URL "ftp://gass:gass12@which/tmp/gass/junk.w" +/*#define URL "ftp://gass:gass12@which/tmp/gass/junk.w"*/ +#define URL "http://hdf/GLOBUS/a.h5" /* #define DATASETNAME "Int1Array" */ #define NX_SUB 3 /* hyperslab dimensions */ diff --git a/test/gass_write.c b/test/gass_write.c index dbc7287..52d49f2 100644 --- a/test/gass_write.c +++ b/test/gass_write.c @@ -25,6 +25,8 @@ int main(void) } #else +#ifdef hide + #define URL "ftp://gass:gass12@which/tmp/gass/junk.w" #define DATASETNAME "IntArray" @@ -153,5 +155,13 @@ int main (void) H5Pclose(fapl); return 0; -} +} + +#else +int main(void) +{ + printf("Test skipped because GASS driver does not support writing yet\n"); + return 0; +} +#endif #endif |