summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-09-08 22:58:59 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-09-08 22:58:59 (GMT)
commited2e87dc71a24fc9fc93eb39a42ebf6f1eddffcf (patch)
treef1f321e916966b5a0399cc380d9f835e5ed20363 /test
parente9164bb70c3ca6ccaa8be84d4a3229aafa4edff6 (diff)
downloadhdf5-ed2e87dc71a24fc9fc93eb39a42ebf6f1eddffcf.zip
hdf5-ed2e87dc71a24fc9fc93eb39a42ebf6f1eddffcf.tar.gz
hdf5-ed2e87dc71a24fc9fc93eb39a42ebf6f1eddffcf.tar.bz2
[svn-r2528] Linking errors occured with these files. They link with libh5test, but
libh5test wants FILENAME to be defined. I have no clue why this was working before...
Diffstat (limited to 'test')
-rw-r--r--test/bittests.c4
-rw-r--r--test/dpss_read.c4
-rw-r--r--test/dpss_write.c4
-rw-r--r--test/gass_append.c4
-rw-r--r--test/gass_read.c4
-rw-r--r--test/gass_write.c4
-rw-r--r--test/hyperslab.c4
-rw-r--r--test/srb_append.c4
-rw-r--r--test/srb_read.c4
-rw-r--r--test/srb_write.c4
-rw-r--r--test/testhdf5.c4
-rw-r--r--test/ttsafe.c5
12 files changed, 48 insertions, 1 deletions
diff --git a/test/bittests.c b/test/bittests.c
index 2c8daef..492691d 100644
--- a/test/bittests.c
+++ b/test/bittests.c
@@ -9,6 +9,10 @@
*/
#include <h5test.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#define H5T_PACKAGE
#include <H5Tpkg.h>
diff --git a/test/dpss_read.c b/test/dpss_read.c
index e2cd1c0..c7f4807 100644
--- a/test/dpss_read.c
+++ b/test/dpss_read.c
@@ -18,6 +18,10 @@
#include <h5test.h>
#include <strings.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_GRIDSTORAGE
int main(void)
{
diff --git a/test/dpss_write.c b/test/dpss_write.c
index 0fdb7e0..9386195 100644
--- a/test/dpss_write.c
+++ b/test/dpss_write.c
@@ -17,6 +17,10 @@
*/
#include <h5test.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_GRIDSTORAGE
int main(void)
{
diff --git a/test/gass_append.c b/test/gass_append.c
index 30ad6b0..8b20394 100644
--- a/test/gass_append.c
+++ b/test/gass_append.c
@@ -17,6 +17,10 @@
*/
#include <h5test.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_GASS
int main(void)
{
diff --git a/test/gass_read.c b/test/gass_read.c
index 74a39cd..afefae4 100644
--- a/test/gass_read.c
+++ b/test/gass_read.c
@@ -18,6 +18,10 @@
#include <h5test.h>
#include <strings.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_GASS
int main(void)
{
diff --git a/test/gass_write.c b/test/gass_write.c
index a4cb44f..ec51411 100644
--- a/test/gass_write.c
+++ b/test/gass_write.c
@@ -17,6 +17,10 @@
*/
#include <h5test.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_GASS
int main(void)
{
diff --git a/test/hyperslab.c b/test/hyperslab.c
index 114336a..b87ce7d 100644
--- a/test/hyperslab.c
+++ b/test/hyperslab.c
@@ -15,6 +15,10 @@
#include <H5MMprivate.h>
#include <H5Vprivate.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef HAVE_FUNCTION
#undef __FUNCTION__
#define __FUNCTION__ ""
diff --git a/test/srb_append.c b/test/srb_append.c
index 497f51b..9cd6130 100644
--- a/test/srb_append.c
+++ b/test/srb_append.c
@@ -51,6 +51,10 @@
*/
#include <h5test.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_SRB
int main(void)
{
diff --git a/test/srb_read.c b/test/srb_read.c
index 1b4794b..e20085c 100644
--- a/test/srb_read.c
+++ b/test/srb_read.c
@@ -50,6 +50,10 @@
*/
#include <h5test.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_SRB
int main(void)
{
diff --git a/test/srb_write.c b/test/srb_write.c
index ebc50c6..1de3595 100644
--- a/test/srb_write.c
+++ b/test/srb_write.c
@@ -51,6 +51,10 @@
#include <h5test.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_SRB
int main(void)
{
diff --git a/test/testhdf5.c b/test/testhdf5.c
index ea88a7c..16349d1 100644
--- a/test/testhdf5.c
+++ b/test/testhdf5.c
@@ -58,6 +58,10 @@ int Verbosity;
/* ANY new test needs to have a prototype in tproto.h */
#include <testhdf5.h>
+const char *FILENAME[] = {
+ NULL
+};
+
struct TestStruct {
int NumErrors;
char Description[64];
diff --git a/test/ttsafe.c b/test/ttsafe.c
index a228076..ae21c5a 100644
--- a/test/ttsafe.c
+++ b/test/ttsafe.c
@@ -43,9 +43,12 @@ static char RcsId[] = "@(#)$Revision$";
#endif
#include <stdarg.h>
-
#include <ttsafe.h>
+const char *FILENAME[] = {
+ NULL
+};
+
#ifndef H5_HAVE_THREADSAFE
int main(void)
{