1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5AUTHOR = "dpolukhin, fdeng, yunlian" 6NAME = "logging_AsanCrash" 7PURPOSE = "Verify Address Sanitizer does catch memory errors." 8CRITERIA = "Fails if no message appears in a log after simulating memory bug." 9# Normally all suite:smoke tests running in the VM should also run on hardware 10# in bvt-inline. This test is an exception, as ASAN is VM specific. 11ATTRIBUTES = "suite:smoke" 12TIME = "SHORT" 13TEST_CATEGORY = "Functional" 14TEST_CLASS = "logging" 15TEST_TYPE = "client" 16 17DOC = """ 18This is a positive test for Address Sanitizer. 19Test that memory error causes Chrome to abort with descriptive message in a log. 20""" 21 22job.run_test('logging_AsanCrash') 23