projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb3f429
)
tests/tcg/xtensa: indicate failed tests
author
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 18 Feb 2019 09:42:15 +0000
(
01:42
-0800)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Thu, 28 Feb 2019 12:43:22 +0000
(
04:43
-0800)
When test suite with multiple tests fails it's not obvious which test
failed. Pring "failed" in every invocation of test_fail. Do printing
when DEBUG preprocessor macro is defined.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
tests/tcg/xtensa/macros.inc
patch
|
blob
|
history
diff --git
a/tests/tcg/xtensa/macros.inc
b/tests/tcg/xtensa/macros.inc
index 4ebd30ab86abee273e70739c0aa0195d6e643a12..25c7ee479e6cd667b33d2ff1a725828054146f38 100644
(file)
--- a/
tests/tcg/xtensa/macros.inc
+++ b/
tests/tcg/xtensa/macros.inc
@@
-49,7
+49,9
@@
main:
.endm
.macro test name
- //print test_\name
+#ifdef DEBUG
+ print test_\name
+#endif
test_init
test_\name:
.global test_\name
@@
-74,6
+76,9
@@
test_\name:
l32i a2, a2, 0
movi a3, 1
s8i a3, a2, 0
+#ifdef DEBUG
+ print failed
+#endif
j 99f
.endm