public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dimitar Dimitrov <dimitar@dinux.eu>
To: gcc-patches@gcc.gnu.org
Cc: Dimitar Dimitrov <dimitar@dinux.eu>
Subject: [PATCH v4 06/10] testsuite: Remove PRU from test cases requiring hosted environment
Date: Thu, 06 Sep 2018 11:13:00 -0000	[thread overview]
Message-ID: <20180906111217.24365-7-dimitar@dinux.eu> (raw)
In-Reply-To: <20180906111217.24365-1-dimitar@dinux.eu>

gcc/testsuite/ChangeLog:

2018-08-29  Dimitar Dimitrov  <dimitar@dinux.eu>

	* gcc.c-torture/execute/20101011-1.c: Define DO_TEST to 0 for PRU.
	* gcc.dg/20020312-2.c: No PIC register for PRU.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
 gcc/testsuite/gcc.c-torture/execute/20101011-1.c | 3 +++
 gcc/testsuite/gcc.dg/20020312-2.c                | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
index f95d900deaf..aa72b35fa16 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
@@ -97,6 +97,9 @@ __aeabi_idiv0 (int return_value)
   /* This presently doesn't raise SIGFPE even on csky-linux-gnu, much
      less bare metal.  See the implementation of __divsi3 in libgcc.  */
 # define DO_TEST 0
+#elif defined (__pru__)
+/* There isn't even a signal function.  */
+# define DO_TEST 0
 #else
 # define DO_TEST 1
 #endif
diff --git a/gcc/testsuite/gcc.dg/20020312-2.c b/gcc/testsuite/gcc.dg/20020312-2.c
index f8be3ce2964..365ae6e847c 100644
--- a/gcc/testsuite/gcc.dg/20020312-2.c
+++ b/gcc/testsuite/gcc.dg/20020312-2.c
@@ -116,6 +116,8 @@ extern void abort (void);
 # if defined (__CK807__) || defined (__CK810__)
 #   define PIC_REG  "r28"
 # endif
+#elif defined(__PRU__)
+/* No pic register.  */
 #else
 # error "Modify the test for your target."
 #endif
-- 
2.11.0

  parent reply	other threads:[~2018-09-06 11:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-06 11:12 [PATCH v4 00/10] New backend for the TI PRU processor Dimitar Dimitrov
2018-09-06 11:12 ` [PATCH v4 04/10] testsuite: Add check for overflowed IMEM region to testsuite Dimitar Dimitrov
2018-09-06 11:13 ` [PATCH v4 01/10] Initial TI PRU GCC port Dimitar Dimitrov
2018-09-13 13:13   ` Richard Sandiford
2018-09-22 10:23     ` Dimitar Dimitrov
2018-09-24 10:49       ` Richard Sandiford
2018-09-24 17:49         ` Jeff Law
2018-09-25  5:16         ` Dimitar Dimitrov
2018-09-06 11:13 ` [PATCH v4 02/10] Initial TI PRU libgcc port Dimitar Dimitrov
2018-09-06 11:13 ` [PATCH v4 07/10] testsuite: Define PRU stack usage Dimitar Dimitrov
2018-09-06 11:13 ` [PATCH v4 10/10] testsuite: Mark testsuite that PRU has different calling convention Dimitar Dimitrov
2018-09-06 11:13 ` [PATCH v4 08/10] testsuite: Mark that PRU has one-cycle jumps Dimitar Dimitrov
2018-09-06 11:13 ` [PATCH v4 05/10] testsuite: Add check for unsupported TI ABI PRU features to testsuite Dimitar Dimitrov
2018-09-06 11:13 ` Dimitar Dimitrov [this message]
2018-09-06 11:13 ` [PATCH v4 09/10] testsuite: Mark that PRU uses all function pointer bits Dimitar Dimitrov
2018-09-06 11:13 ` [PATCH v4 03/10] testsuite: Add PRU tests Dimitar Dimitrov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180906111217.24365-7-dimitar@dinux.eu \
    --to=dimitar@dinux.eu \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).