diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-02-18 06:24:38 -0800 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-02-28 04:43:23 -0800 |
commit | 66c58ba71b2ed49b5908ae4db146986d053e46be (patch) | |
tree | 6279d8dfce2d3a499c2973c3256eec58342d24f8 /tests/tcg/xtensa/macros.inc | |
parent | 912f161ff7bbb64c7d5b2eb6f81f830c80a6ef9b (diff) |
tests/tcg/xtensa: conditionalize debug option tests
Make debug tests conditional on the presence of the debug option in the
config and tests that depend on the presence/number of instruction or
data breakpoint registers on the corresponding definitions. Use
configured debug interrupt level instead of the hardcoded value to set
up IRQ handler and access debug EPC register.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tests/tcg/xtensa/macros.inc')
-rw-r--r-- | tests/tcg/xtensa/macros.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcg/xtensa/macros.inc b/tests/tcg/xtensa/macros.inc index 93825dc7b5..5265c8606b 100644 --- a/tests/tcg/xtensa/macros.inc +++ b/tests/tcg/xtensa/macros.inc @@ -97,3 +97,6 @@ test_\name: movi a3, \addr s32i a3, a2, 0 .endm + +#define glue(a, b) _glue(a, b) +#define _glue(a, b) a ## b |