public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@stgolabs.net>
To: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] selftests/ipc: Consolidate posix and sysv msg queue tests
Date: Tue, 09 Jun 2015 09:23:23 -0700	[thread overview]
Message-ID: <1433867003.3165.64.camel@stgolabs.net> (raw)
In-Reply-To: <5576E25E.40600@osg.samsung.com>

On Tue, 2015-06-09 at 06:55 -0600, Shuah Khan wrote
> > diff --git a/tools/testing/selftests/ipc/.gitignore b/tools/testing/selftests/ipc/.gitignore
> > new file mode 100644
> > index 0000000..3d8a449
> > --- /dev/null
> > +++ b/tools/testing/selftests/ipc/.gitignore
> > @@ -0,0 +1,3 @@
> > +mqueue/mq_open_tests
> > +mqueue/mq_perf_tests
> > +msg/msgque_test
> > diff --git a/tools/testing/selftests/ipc/Makefile b/tools/testing/selftests/ipc/Makefile
> > index 25d2e70..8686551 100644
> > --- a/tools/testing/selftests/ipc/Makefile
> > +++ b/tools/testing/selftests/ipc/Makefile
> > @@ -1,22 +1,22 @@
> > -uname_M := $(shell uname -m 2>/dev/null || echo not)
> > -ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/)
> > -ifeq ($(ARCH),i386)
> > -        ARCH := x86
> > -	CFLAGS := -DCONFIG_X86_32 -D__i386__
> > -endif
> > -ifeq ($(ARCH),x86_64)
> > -	ARCH := x86
> > -	CFLAGS := -DCONFIG_X86_64 -D__x86_64__
> > -endif
> > -
> > -CFLAGS += -I../../../../usr/include/
> 
> Hmm. This looks like more than a moving code and cleanup change.
> The above is removing special handling for x86 and x86_64.
> 
> I would like to see this as a separate patch and not combined
> with the moving code.

No, this is merely being moved to msg/Makefile, see below:

> diff --git a/tools/testing/selftests/ipc/msg/Makefile b/tools/testing/selftests/ipc/msg/Makefile
> new file mode 100644
> index 0000000..777ca76
> --- /dev/null
> +++ b/tools/testing/selftests/ipc/msg/Makefile
> @@ -0,0 +1,22 @@
> +uname_M := $(shell uname -m 2>/dev/null || echo not)
> +ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/)
> +ifeq ($(ARCH),i386)
> +        ARCH := x86
> +     CFLAGS := -DCONFIG_X86_32 -D__i386__
> +endif
> +ifeq ($(ARCH),x86_64)
> +     ARCH := x86
> +     CFLAGS := -DCONFIG_X86_64 -D__x86_64__
> +endif

Thanks,
Davidlohr


  reply	other threads:[~2015-06-09 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08 23:51 [PATCH -next] selftests/ipc: Consolidate posix and sysv msg queue tests Davidlohr Bueso
2015-06-09 12:55 ` Shuah Khan
2015-06-09 16:23   ` Davidlohr Bueso [this message]
2015-06-17 21:09     ` Shuah Khan

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=1433867003.3165.64.camel@stgolabs.net \
    --to=dave@stgolabs.net \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shuahkh@osg.samsung.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