public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Wang Sheng-Hui <shhuiw@gmail.com>
Cc: xfstests <xfs@oss.sgi.com>, Rich Johnston <rjohnston@sgi.com>,
	Dave Chinner <dchinner@redhat.com>
Subject: Re: [PATCH v2] xfstests: make install support common/ and tests/ dirs
Date: Fri, 12 Apr 2013 17:40:34 +1000	[thread overview]
Message-ID: <20130412074034.GC30622@dastard> (raw)
In-Reply-To: <51678D0D.1070002@gmail.com>

On Fri, Apr 12, 2013 at 12:26:53PM +0800, Wang Sheng-Hui wrote:
> +#
> +
> +TOPDIR = ..
> +include $(TOPDIR)/include/builddefs
> +
> +TESTS_SUBDIRS = $(shell find . -maxdepth 1 -type d | sed -n -e 's/\.\///gp')

This is much neater:

TESTS_SUBDIRS = $(sort $(dir $(wildcard  $(PWD)/*/)))

-Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2013-04-12  7:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-12  4:26 [PATCH v2] xfstests: make install support common/ and tests/ dirs Wang Sheng-Hui
2013-04-12  7:40 ` Dave Chinner [this message]
2013-04-12 16:42   ` Wang Sheng-Hui
2013-04-12 18:41     ` Rich Johnston
2013-04-13  0:38       ` Dave Chinner
2013-04-15 12:42         ` Rich Johnston
2013-04-15 12:45         ` Rich Johnston
2013-04-13  0:32     ` Dave Chinner
2013-04-13 10:18       ` Wang Sheng-Hui
2013-04-13 10:37         ` Wang Sheng-Hui

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=20130412074034.GC30622@dastard \
    --to=david@fromorbit.com \
    --cc=dchinner@redhat.com \
    --cc=rjohnston@sgi.com \
    --cc=shhuiw@gmail.com \
    --cc=xfs@oss.sgi.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