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 5 AUTHOR = "dpolukhin, fdeng, yunlian" 6 NAME = "logging_AsanCrash" 7 PURPOSE = "Verify Address Sanitizer does catch memory errors." 8 CRITERIA = "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. 11 ATTRIBUTES = "suite:smoke" 12 TIME = "SHORT" 13 TEST_CATEGORY = "Functional" 14 TEST_CLASS = "logging" 15 TEST_TYPE = "client" 16 17 DOC = """ 18 This is a positive test for Address Sanitizer. 19 Test that memory error causes Chrome to abort with descriptive message in a log. 20 """ 21 22 job.run_test('logging_AsanCrash') 23