[Ocfs2-test-devel] [PATCH 1/5] Ocfs2-test: Add Makefile for quota tests.
Marcos E. Matsunaga
Marcos.Matsunaga at oracle.com
Thu Jan 8 12:50:58 PST 2009
This looks good.
Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>
Regards,
Marcos Eduardo Matsunaga
Oracle USA
Linux Engineering
“The statements and opinions expressed here are my own and do not
necessarily represent those of Oracle Corporation.”
Tristan Ye wrote:
> Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
> ---
> programs/Makefile | 3 ++-
> programs/quota_tests/Makefile | 23 +++++++++++++++++++++++
> 2 files changed, 25 insertions(+), 1 deletions(-)
> create mode 100755 programs/quota_tests/Makefile
>
> diff --git a/programs/Makefile b/programs/Makefile
> index 9b5a856..e8016b3 100644
> --- a/programs/Makefile
> +++ b/programs/Makefile
> @@ -52,7 +52,8 @@ SUBDIRS = \
> write_append_truncate \
> write_torture \
> xattr_tests \
> - acl_tests
> + acl_tests \
> + quota_tests
>
> ifdef OCFS2_TEST_ENABLE_THIRDPARTY
> SUBDIRS += bonnie dbench iozone postmark
> diff --git a/programs/quota_tests/Makefile b/programs/quota_tests/Makefile
> new file mode 100755
> index 0000000..e320323
> --- /dev/null
> +++ b/programs/quota_tests/Makefile
> @@ -0,0 +1,23 @@
> +TOPDIR = ../..
> +
> +include $(TOPDIR)/Preamble.make
> +
> +TESTS = quota_multi_tests
> +
> +CC = $(MPICC)
> +
> +CFLAGS = -O2 -Wall -g $(O2DLM_CFLAGS) $(OCFS2_CFLAGS)
> +
> +SOURCES = quota_multi_tests.c quota.h
> +OBJECTS = $(patsubst %.c,%.o,$(SOURCES))
> +
> +DIST_FILES = $(SOURCES) open_delete.py
> +
> +BIN_EXTRA = run_quota_multi_tests.py quota_tests.sh
> +
> +BIN_PROGRAMS = quota_multi_tests
> +
> +quota_multi_tests: $(OBJECTS)
> + $(LINK) $(OCFS2_LIBS)
> +
> +include $(TOPDIR)/Postamble.make
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-test-devel/attachments/20090108/88985a8b/attachment.html
More information about the Ocfs2-test-devel
mailing list