Fix androidTest - exclude host tests from it

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/31522

Test Plan: Imported from OSS

Reviewed By: dreiss

Differential Revision: D19200861

Pulled By: IvanKobzarev

fbshipit-source-id: a6024f3013398f9e0d237e06c984a20493d42f11
This commit is contained in:
Ivan Kobzarev 2020-01-06 11:27:57 -08:00 committed by Facebook Github Bot
parent c65305e991
commit 492ca46e71

View File

@ -33,6 +33,11 @@ android {
}
jniLibs.srcDirs = ['src/main/jniLibs']
}
androidTest {
java {
exclude 'org/pytorch/PytorchHostTests.java'
}
}
}
externalNativeBuild {
cmake {