(It works fine locally because environment variables are defined
differently)
Also some minor cleanup elsewhere pointed out in the previous code
review.
Change-Id: I80650d2be6ce467b838db85eb130a0020d7c1480
#elif ART_DEFAULT_GC_TYPE_IS_GSS
kCollectorTypeGSS
#else
- gc::kCollectorTypeCMS
+ kCollectorTypeCMS
#error "ART default GC type must be set"
#endif
; // NOLINT [whitespace/semicolon] [5]
namespace art {
-class ParsedOptionsTest : public ::testing::Test {};
+class ParsedOptionsTest : public ::testing::Test {
+ public:
+ static void SetUpTestCase() {
+ CommonRuntimeTest::SetUpAndroidRoot();
+ }
+};
TEST_F(ParsedOptionsTest, ParsedOptions) {
void* test_vfprintf = reinterpret_cast<void*>(0xa);
verify_ = runtime_options.GetOrDefault(Opt::Verify);
- if (runtime_options.Exists(Opt::Interpret)) {
+ if (runtime_options.GetOrDefault(Opt::Interpret)) {
GetInstrumentation()->ForceInterpretOnly();
}