public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [google] Add testcase for relative paths for FDO (issue4354042)
@ 2011-04-01 17:37 Martin Thuresson
  2011-04-02  6:37 ` Diego Novillo
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Thuresson @ 2011-04-01 17:37 UTC (permalink / raw)
  To: reply, gcc-patches

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [google] Add testcase for relative paths for FDO (issue4354042)
  2011-04-01 17:37 [google] Add testcase for relative paths for FDO (issue4354042) Martin Thuresson
@ 2011-04-02  6:37 ` Diego Novillo
  2011-04-04 12:18   ` Diego Novillo
  0 siblings, 1 reply; 3+ messages in thread
From: Diego Novillo @ 2011-04-02  6:37 UTC (permalink / raw)
  To: Martin Thuresson; +Cc: reply, gcc-patches

On Fri, Apr 1, 2011 at 19:37, Martin Thuresson <martint@google.com> wrote:

> 2011-04-01  Martin Thuresson  <martint@google.com>
>
>        PR gcov-profile/47793
>        * gcc/testsuite/gcc.dg/pr47793.c: New test

OK.


Diego.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [google] Add testcase for relative paths for FDO (issue4354042)
  2011-04-02  6:37 ` Diego Novillo
@ 2011-04-04 12:18   ` Diego Novillo
  0 siblings, 0 replies; 3+ messages in thread
From: Diego Novillo @ 2011-04-04 12:18 UTC (permalink / raw)
  To: Martin Thuresson; +Cc: reply, gcc-patches

On Sat, Apr 2, 2011 at 08:37, Diego Novillo <dnovillo@google.com> wrote:
> On Fri, Apr 1, 2011 at 19:37, Martin Thuresson <martint@google.com> wrote:
>
>> 2011-04-01  Martin Thuresson  <martint@google.com>
>>
>>        PR gcov-profile/47793
>>        * gcc/testsuite/gcc.dg/pr47793.c: New test
>
> OK.

Committed in rev r171935.

Given that you'll keep sending patches, could you please fill-in the
form for write access?   See
http://sourceware.org/cgi-bin/pdw/ps_form.cgi.

Thanks.  Diego.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-04 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-01 17:37 [google] Add testcase for relative paths for FDO (issue4354042) Martin Thuresson
2011-04-02  6:37 ` Diego Novillo
2011-04-04 12:18   ` Diego Novillo

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).