summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/CMakeTests.cmake2
-rw-r--r--test/links.c4
-rw-r--r--test/links_env.c2
-rw-r--r--test/vds.c2
-rw-r--r--test/vds_env.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index f763897..587af80 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -796,7 +796,7 @@ else ()
endif ()
#-- Adding test for error_test
-if (HDF5_USE_16_API_DEFAULT OR MINGW)
+if (DEFAULT_API_VERSION MATCHES "v16" OR MINGW)
add_test (NAME H5TEST-error_test COMMAND "${CMAKE_COMMAND}"
-D "TEST_EMULATOR=${CMAKE_CROSSCOMPILING_EMULATOR}"
-D "TEST_PROGRAM=$<TARGET_FILE:error_test>"
diff --git a/test/links.c b/test/links.c
index 26b49d6..4ade33a 100644
--- a/test/links.c
+++ b/test/links.c
@@ -39,8 +39,8 @@
/* File for external link test. Created with gen_udlinks.c */
#define LINKED_FILE "be_extlink2.h5"
-#define TMPDIR "tmp/"
-#define TMPDIR2 "tmp2/"
+#define TMPDIR "tmp_links/"
+#define TMPDIR2 "tmp2_links/"
/* Symlinks for external link symlink test */
#define SYMLINK1 TMPDIR "sym1.h5"
diff --git a/test/links_env.c b/test/links_env.c
index 0cd690a..cc31d92 100644
--- a/test/links_env.c
+++ b/test/links_env.c
@@ -23,7 +23,7 @@
#include "H5Iprivate.h" /* IDs */
#include "H5Lprivate.h" /* Links */
-#define TMPDIR "tmp/"
+#define TMPDIR "tmp_links_env/"
#define NAME_BUF_SIZE 1024
const char *FILENAME[] = {
diff --git a/test/vds.c b/test/vds.c
index 25d7a0e..c98bc12 100644
--- a/test/vds.c
+++ b/test/vds.c
@@ -55,7 +55,7 @@ const char *FILENAME[] = {
#define FILENAME_BUF_SIZE 1024
-#define TMPDIR "tmp/"
+#define TMPDIR "tmp_vds/"
/*-------------------------------------------------------------------------
diff --git a/test/vds_env.c b/test/vds_env.c
index b2ca9d0..19b2d96 100644
--- a/test/vds_env.c
+++ b/test/vds_env.c
@@ -34,7 +34,7 @@ const char *FILENAME[] = {
#define FILENAME_BUF_SIZE 1024
-#define TMPDIR "tmp/"
+#define TMPDIR "tmp_vds_env/"
/*-------------------------------------------------------------------------
* Function: test_vds_prefix_second