From eb6c7c23a8065af665e71f3408980bacd8ecc529 Mon Sep 17 00:00:00 2001 From: Igor Murashkin Date: Wed, 4 Feb 2015 17:30:43 -0800 Subject: art: Try to fix parsed_options_test on the build server (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 --- runtime/parsed_options_test.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'runtime/parsed_options_test.cc') diff --git a/runtime/parsed_options_test.cc b/runtime/parsed_options_test.cc index f68b6329c4..79dc2fa626 100644 --- a/runtime/parsed_options_test.cc +++ b/runtime/parsed_options_test.cc @@ -22,7 +22,12 @@ 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(0xa); -- cgit v1.2.3