From 1005e8371773fbdce86232862694912c03ace88e Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Fri, 16 Jan 2015 18:21:53 +0000 Subject: [PATCH] [ARM/AArch64][testsuite] Be more verbose, and actually confirm that a test was checked. * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h (CHECK): Add trace. (CHECK_FP): Likewise. (CHECK_CUMULATIVE_SAT): Likewise. From-SVN: r219765 --- gcc/testsuite/ChangeLog | 7 +++++++ .../gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h | 3 +++ 2 files changed, 10 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b7bb10400e1..fa76e0c55e6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-01-16 Christophe Lyon + + * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h (CHECK): + Add trace. + (CHECK_FP): Likewise. + (CHECK_CUMULATIVE_SAT): Likewise. + 2015-01-16 Christophe Lyon * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h index 6464c664c74..2730a66045f 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h @@ -79,6 +79,7 @@ extern size_t strlen(const char *); abort(); \ } \ } \ + fprintf(stderr, "CHECKED %s\n", MSG); \ } /* Floating-point variant. */ @@ -107,6 +108,7 @@ extern size_t strlen(const char *); abort(); \ } \ } \ + fprintf(stderr, "CHECKED %s\n", MSG); \ } /* Clean buffer with a non-zero pattern to help diagnose buffer @@ -323,6 +325,7 @@ extern int VECT_VAR(expected_cumulative_sat, uint, 64, 2); strlen(COMMENT) > 0 ? " " COMMENT : ""); \ abort(); \ } \ + fprintf(stderr, "CHECKED CUMULATIVE SAT %s\n", MSG); \ } #define CHECK_CUMULATIVE_SAT_NAMED(test_name,EXPECTED,comment) \ -- 2.30.2