diff options
author | Erik Schmauss <erik.schmauss@intel.com> | 2018-02-14 14:40:27 -0800 |
---|---|---|
committer | Erik Schmauss <erik.schmauss@intel.com> | 2018-02-14 16:51:09 -0800 |
commit | e4af07e9b948bb38f0348e72c55d1f3e5c407f48 (patch) | |
tree | 09b7b872844f54931687dd5b49bcc1c5a008de20 /tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl | |
parent | 17ec2f46a66dd2591013631986bedc41068650af (diff) | |
download | acpica-e4af07e9b948bb38f0348e72c55d1f3e5c407f48.tar.gz |
ASLTS: adding macros to ERR functions
This change replaces the first parameter of ERR with __METHOD__ in
bdemo testcases and replaces the third parameter of ERR with
__LINE__. The __METHOD macro evaluates to the current method and
__LINE__ evaluates to the current line number during compilation. By
doing these macros help clarify error messages in ASLTS.
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Diffstat (limited to 'tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl')
-rw-r--r-- | tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl index d18ea1771..e0d55b931 100644 --- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl +++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0305/DECL.asl @@ -53,7 +53,7 @@ Debug = "==================== 1" If ((Local0 != 0xABCD0003)) { - ERR ("", ZFFF, 0x35, 0x00, 0x00, Local0, 0xABCD0003) + ERR (__METHOD__, ZFFF, __LINE__, 0x00, 0x00, Local0, 0xABCD0003) } } |