summaryrefslogtreecommitdiffstats
path: root/c++/test/th5s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/th5s.cpp')
-rw-r--r--c++/test/th5s.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp
index 443b310..821a98f 100644
--- a/c++/test/th5s.cpp
+++ b/c++/test/th5s.cpp
@@ -476,7 +476,8 @@ test_h5s_compound_scalar_read(void)
<< space4_data.f << ", read_data4.f=" << rdata.f << endl;
cout << "scalar data different: space4_data.c1="
<< space4_data.c1 << ", read_data4.c1=" << rdata.c2 << endl;
- num_errs++;
+ TestErrPrintf("scalar data different: space4_data.c1=%c, read_data4.c1=%c\n",
+ space4_data.c1, rdata.c2);
} /* end if */
} // end of try block
catch (Exception error)