OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa9fa2
)
jni: test CriticalNative with generic jni
author
Igor Murashkin
<iam@google.com>
Wed, 28 Sep 2016 20:23:19 +0000
(13:23 -0700)
committer
Igor Murashkin
<iam@google.com>
Wed, 28 Sep 2016 20:26:55 +0000
(20:26 +0000)
Previously this combination was uncovered due to a missing
line in the macro definition.
Bug:
31400248
Test: make test-art-host
Change-Id: I5407f46f2394edc028c9b74dc783899a3a2f6588
compiler/jni/jni_compiler_test.cc
patch
|
blob
|
history
diff --git
a/compiler/jni/jni_compiler_test.cc
b/compiler/jni/jni_compiler_test.cc
index
b692c6d
..
1430188
100644
(file)
--- a/
compiler/jni/jni_compiler_test.cc
+++ b/
compiler/jni/jni_compiler_test.cc
@@
-431,6
+431,7
@@
jobject JniCompilerTest::class_loader_;
TEST_F(JniCompilerTest, TestName ## CriticalGeneric) { \
SCOPED_TRACE("@CriticalNative JNI with generic"); \
gCurrentJni = static_cast<uint32_t>(JniKind::kCritical); \
+ SetCheckGenericJni(true); \
TestName ## Impl(); \
}