summaryrefslogtreecommitdiffstats
path: root/test/h5test.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-09-30 16:14:14 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-09-30 16:14:14 (GMT)
commitbdf0dbf7ed9a671cf915de65006ae5a5379c6941 (patch)
tree2117c72f7f589bd030d32dbc398c836e8a4524c8 /test/h5test.h
parent03d438979b7bc6a08d25d121676bbd2083254c80 (diff)
downloadhdf5-bdf0dbf7ed9a671cf915de65006ae5a5379c6941.zip
hdf5-bdf0dbf7ed9a671cf915de65006ae5a5379c6941.tar.gz
hdf5-bdf0dbf7ed9a671cf915de65006ae5a5379c6941.tar.bz2
[svn-r1697] Changes since 19990915
---------------------- ./src/H5public.h We undefine a bunch of things that could get redefined in the config file because some customers have applications that include headers from multiple packages, all of which might be using autoconf. Include <stdint.h> for the C9x types. ./test/h5test.h More flushing of stdout for when testing is redirected down a pipe. ./tools/h5ls.c Added a `-S' or `--simple' switch which causes the output to be simplified somewhat for easier parsing by other scripts. For instance, characters are escaped using a very simple mechanism instead of C's more complicated backslash notation, data doesn't have `{}' or `[]' characters interspersed for compound and array types, and data is printed with exactly one element per line. This switch is now used by an HDF5-to-HTML CGI script being developed for the DMF people. ./tools/h5tools.c ./tools/h5tools.h The repeat threshold which controls how strings are printed when a character repeats a bunch of times is now settable at runtime instead of compile time. The default is to show all characters, like "abceeeeeeeeeeeeeeeeeeeeeeeeeeeeeefgh" But if you set it to something like 5 then any sequence of 5 or more characters is replaced by something shorter, like: "abc" 'e'x30 "fgh" or Added an `str_locale' property which describes how to escape special characters in strings. The default is C-like escapes but an alternative is ESCAPE_HTML which replaces all non-alphanumeric characters with a 3-character HTML escape of the form `%XX' Fixed a bug where empty strings didn't even have the quote characters printed. Now empty strings show up as `""' instead of absolutely nothing. Added a `per_line' property which controls the maximum number of elements which will appear per line of output. The default is infinity but in practice the right margin causes line breaks. By setting the `per_line' value to one and the right margin to a very large value one can achieve output with exactly one element per line.
Diffstat (limited to 'test/h5test.h')
-rw-r--r--test/h5test.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/h5test.h b/test/h5test.h
index 98f6060..fd8a21d 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -39,9 +39,9 @@ extern const char *FILENAME[];
* the FAILED() macro is invoked automatically when an API function fails.
*/
#define TESTING(WHAT) {printf("%-70s", "Testing " WHAT); fflush(stdout);}
-#define PASSED() puts(" PASSED")
-#define FAILED() puts("*FAILED*")
-#define SKIPPED() puts(" -SKIP-")
+#define PASSED() {puts(" PASSED");fflush(stdout);}
+#define FAILED() {puts("*FAILED*");fflush(stdout);}
+#define SKIPPED() {puts(" -SKIP-");fflush(stdout);}
/*
* Print the current location on the standard output stream.