Added missing ASSERT_NE. am: ac7ac525b2

am: d98afb98d9

Change-Id: I07c5ed369a933ad77f2af7f1c96d73aec11be5fe
This commit is contained in:
Herv Guihot
2019-02-14 12:42:56 -08:00
committed by android-build-merger

View File

@@ -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";