mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
gputests: missing device is a test failure
This commit is contained in:
parent
e28196f8af
commit
60079dc065
@ -198,6 +198,6 @@ BOOST_AUTO_TEST_CASE(TestCusparseSolver)
|
||||
// Test with 3x3 block solvers.
|
||||
test3(prm);
|
||||
} catch(const DeviceInitException& ) {
|
||||
BOOST_WARN_MESSAGE(true, "Problem with initializing a device. skipping test");
|
||||
BOOST_ERROR("Problem with initializing a device.");
|
||||
}
|
||||
}
|
||||
|
@ -195,6 +195,6 @@ BOOST_AUTO_TEST_CASE(TestOpenclSolver)
|
||||
// Test with 3x3 block solvers.
|
||||
test3(prm);
|
||||
} catch(const PlatformInitException& ) {
|
||||
BOOST_WARN_MESSAGE(true, "Problem with initializing Platform. skipping test");
|
||||
BOOST_ERROR("Problem with initializing Platform.");
|
||||
}
|
||||
}
|
||||
|
@ -156,6 +156,6 @@ BOOST_AUTO_TEST_CASE(TestRocalutionSolver)
|
||||
// test rocalution with 3x3 blocks
|
||||
test3(prm);
|
||||
} else {
|
||||
BOOST_WARN_MESSAGE(true, "Problem with initializing a device. skipping test");
|
||||
BOOST_ERROR("Problem with initializing a device.");
|
||||
}
|
||||
}
|
||||
|
@ -212,6 +212,6 @@ BOOST_AUTO_TEST_CASE(TestRocsparseSolver)
|
||||
// Test with 3x3 block solvers.
|
||||
test3(prm);
|
||||
} catch(const HIPInitException& ) {
|
||||
BOOST_WARN_MESSAGE(true, "Problem with initializing HIP, skipping test");
|
||||
BOOST_ERROR("Problem with initializing HIP.");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user