summaryrefslogtreecommitdiff
path: root/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl
diff options
context:
space:
mode:
authorErik Schmauss <erik.schmauss@intel.com>2018-02-14 14:40:27 -0800
committerErik Schmauss <erik.schmauss@intel.com>2018-02-14 16:51:09 -0800
commite4af07e9b948bb38f0348e72c55d1f3e5c407f48 (patch)
tree09b7b872844f54931687dd5b49bcc1c5a008de20 /tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl
parent17ec2f46a66dd2591013631986bedc41068650af (diff)
downloadacpica-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/0248/DECL.asl')
-rw-r--r--tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl
index 9cac8f46e..fa9b23acc 100644
--- a/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl
+++ b/tests/aslts/src/runtime/collections/bdemo/ACPICA/0248/DECL.asl
@@ -94,7 +94,7 @@
If ((DerefOf (Local0) != 0xABCD0000))
{
- ERR ("", ZFFF, 0x5A, 0x00, 0x00, DerefOf (Local0), 0xABCD0000)
+ ERR (__METHOD__, ZFFF, __LINE__, 0x00, 0x00, DerefOf (Local0), 0xABCD0000)
}
Debug = "============== sit 0 (Local0):"
@@ -125,7 +125,7 @@
Debug = "============== before checking:"
If ((DerefOf (Local0) != 0xABCD0000))
{
- ERR ("", ZFFF, 0x80, 0x00, 0x00, DerefOf (Local0), 0xABCD0000)
+ ERR (__METHOD__, ZFFF, __LINE__, 0x00, 0x00, DerefOf (Local0), 0xABCD0000)
}
Debug = "============== end of test"