From: martint@google.com (Martin Thuresson)
To: reply@codereview.appspotmail.com, gcc-patches@gcc.gnu.org
Subject: [google] Add testcase for relative paths for FDO (issue4354042)
Date: Fri, 01 Apr 2011 17:37:00 -0000 [thread overview]
Message-ID: <20110401173716.373851EEBD5@martint2.mtv.corp.google.com> (raw)
This patch should go into google/main.
Add testcase to verify that relative profile paths workes.
Bootstraped without regression on x86_64.
2011-04-01 Martin Thuresson <martint@google.com>
PR gcov-profile/47793
* gcc/testsuite/gcc.dg/pr47793.c: New test
Index: gcc/testsuite/gcc.dg/pr47793.c
===================================================================
--- gcc/testsuite/gcc.dg/pr47793.c (revision 0)
+++ gcc/testsuite/gcc.dg/pr47793.c (revision 0)
@@ -0,0 +1,12 @@
+/* Bug pr47793: Allow relative paths in profile-generate. */
+/* { dg-do run } */
+/* { dg-options "-O -fprofile-generate=./" } */
+/* { dg-final { scan-file pr47793.gcda "."} } */
+
+int
+main(void)
+{
+ return 0;
+}
+
+/* { dg-final { cleanup-coverage-files } } */
--
This patch is available for review at http://codereview.appspot.com/4354042
next reply other threads:[~2011-04-01 17:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 17:37 Martin Thuresson [this message]
2011-04-02 6:37 ` Diego Novillo
2011-04-04 12:18 ` Diego Novillo
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=20110401173716.373851EEBD5@martint2.mtv.corp.google.com \
--to=martint@google.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=reply@codereview.appspotmail.com \
/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).