Revert^4 "Add patchoat test"
This reverts commit 1fb8d5ee6c7f03269cf08b18a0af5b4e25924a27.
Skip the patchoat test on the build server where the build is not
using read barriers. Read barriers (or CMS/MS garbage collector) are
required for the --force-determinism feature used by the test.
Test: ./art/test/testrunner/run_build_test_target.py art-gtest-debug-gc
Test: make test-art-host-gtest-patchoat_test
Test: make test-art-target-gtest-patchoat_test
Bug: 66697305
Change-Id: I99da0111ca0e34d32473dfe721b7a2f49289e850
diff --git a/patchoat/Android.bp b/patchoat/Android.bp
index d3bc2a7..0902823 100644
--- a/patchoat/Android.bp
+++ b/patchoat/Android.bp
@@ -47,3 +47,16 @@
"libartd",
],
}
+
+art_cc_test {
+ name: "art_patchoat_tests",
+ defaults: [
+ "art_gtest_defaults",
+ ],
+ srcs: [
+ "patchoat_test.cc",
+ ],
+ shared_libs: [
+ "libartd",
+ ],
+}