diff options
author | mattjala <124107509+mattjala@users.noreply.github.com> | 2023-06-15 20:53:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-15 20:53:19 (GMT) |
commit | c2e3e9f63a1872a8f27aac18f0ff72405746b8ce (patch) | |
tree | f19b3b1b36a7531f3ec54c112ff775dd7fbda465 /test | |
parent | d987620daeb226f3e2c89a48383f52cef83a94c6 (diff) | |
download | hdf5-c2e3e9f63a1872a8f27aac18f0ff72405746b8ce.zip hdf5-c2e3e9f63a1872a8f27aac18f0ff72405746b8ce.tar.gz hdf5-c2e3e9f63a1872a8f27aac18f0ff72405746b8ce.tar.bz2 |
Add java options to build scripts (#3136)
Previously, cmakehdf5 turned on compiling of the java interface
by default due to a value set in cacheinit.cmake.
Now, consistent with how Fortran and CPP interfaces are handled,
the script overwrites this default value to disable the libraries,
fixing #2958.
I also implemented the --enable-java/--disable java options for
cmakehdf5, and -java for buildhdf5.
Allen said these scripts should mention that
compilers are to be specified in environment variables, but missing
compilers causes errors at the CMake level, and
CMake's error messages are already pretty informative (See the one
in #2958 about JAVA_COMPILER).
Diffstat (limited to 'test')
-rw-r--r-- | test/dt_arith.c | 2 | ||||
-rw-r--r-- | test/onion.c | 2 | ||||
-rw-r--r-- | test/test_error.sh.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c index c006c49..a26945f 100644 --- a/test/dt_arith.c +++ b/test/dt_arith.c @@ -2817,7 +2817,7 @@ test_conv_flt_1(const char *name, int run_test, hid_t src, hid_t dst) int status; /*child exit status */ /* - * Some systems generage SIGFPE during floating point overflow and we + * Some systems generate SIGFPE during floating point overflow and we * cannot assume that we can continue from such a signal. Therefore, we * fork here and let the child run the test and return the number of * failures with the exit status. diff --git a/test/onion.c b/test/onion.c index d0eaa87..03730a7 100644 --- a/test/onion.c +++ b/test/onion.c @@ -1035,7 +1035,7 @@ test_history_encode_decode_empty(void) TESTING("encode/decode history (empty and failures)"); - /* Generage checksum but don't store it yet */ + /* Generate checksum but don't store it yet */ checksum = H5_checksum_fletcher32(exp, H5FD_ONION_ENCODED_SIZE_HISTORY - 4); ptr = exp + H5FD_ONION_ENCODED_SIZE_HISTORY - 4; UINT32ENCODE(ptr, checksum); diff --git a/test/test_error.sh.in b/test/test_error.sh.in index 72bb943..1e6a560 100644 --- a/test/test_error.sh.in +++ b/test/test_error.sh.in @@ -14,7 +14,7 @@ srcdir=@srcdir@ -# Determine backward compatibility options eneabled +# Check if backward compatibility options are enabled DEPRECATED_SYMBOLS="@DEPRECATED_SYMBOLS@" CMP='cmp -s' |