summaryrefslogtreecommitdiff
path: root/test/correctness/testxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/correctness/testxy.cc')
-rw-r--r--test/correctness/testxy.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/correctness/testxy.cc b/test/correctness/testxy.cc
index b2d6c147..5c86182c 100644
--- a/test/correctness/testxy.cc
+++ b/test/correctness/testxy.cc
@@ -44,6 +44,7 @@ TestXY<T>::TestXY(int argc, char *argv[], const bool silent,
// Tests the routine for a wide variety of parameters
template <typename T>
void TestXY<T>::TestRegular(Arguments<T> &args, const std::string &name) {
+ if (!PrecisionSupported()) { return; }
TestStart("regular behaviour", name);
// Iterates over the vector dimension
@@ -122,6 +123,7 @@ void TestXY<T>::TestRegular(Arguments<T> &args, const std::string &name) {
// does not test for results (if any).
template <typename T>
void TestXY<T>::TestInvalidBufferSizes(Arguments<T> &args, const std::string &name) {
+ if (!PrecisionSupported()) { return; }
TestStart("invalid buffer sizes", name);
// Sets example test parameters