mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Added missing ASSERT_NE.
Test was failing with segmentation fault (and crashing whole VTS) when device was not available. Change-Id: Id0f28d061dc5858fa00ef1bac5f7aa467d860864
This commit is contained in:
@@ -86,6 +86,7 @@ class CompilationCachingTest : public NeuralnetworksHidlTest {
|
||||
protected:
|
||||
void SetUp() override {
|
||||
NeuralnetworksHidlTest::SetUp();
|
||||
ASSERT_NE(device.get(), nullptr);
|
||||
|
||||
// Create cache directory.
|
||||
char cacheDirTemp[] = "/data/local/tmp/TestCompilationCachingXXXXXX";
|
||||
|
||||
Reference in New Issue
Block a user