[Ocfs2-test-devel] [PATCH 1/9] Ocfs2-test: Add Makefile for reflink tests on ocfs2.
Marcos E. Matsunaga
Marcos.Matsunaga at oracle.com
Fri Mar 20 05:18:50 PDT 2009
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/reflink_tests/Makefile | 25 +++++++++++++++++++++++++
> 2 files changed, 27 insertions(+), 1 deletions(-)
> create mode 100755 programs/reflink_tests/Makefile
>
> diff --git a/programs/Makefile b/programs/Makefile
> index 4f588ce..a7ec642 100644
> --- a/programs/Makefile
> +++ b/programs/Makefile
> @@ -55,7 +55,8 @@ SUBDIRS = \
> acl_tests \
> quota_tests \
> inode_alloc_perf_tests \
> - dx_dirs_tests
> + dx_dirs_tests \
> + reflink_tests
>
> ifdef OCFS2_TEST_ENABLE_THIRDPARTY
> SUBDIRS += bonnie dbench iozone postmark
> diff --git a/programs/reflink_tests/Makefile b/programs/reflink_tests/Makefile
> new file mode 100755
> index 0000000..0aa0d1a
> --- /dev/null
> +++ b/programs/reflink_tests/Makefile
> @@ -0,0 +1,25 @@
> +TOPDIR = ../..
> +
> +include $(TOPDIR)/Preamble.make
> +
> +TESTS = reflink_tests
> +
> +CFLAGS = -O2 -Wall -g $(OCFS2_CFLAGS)
> +
> +MPI_LINK = $(MPICC) $(CFLAGS) $(LDFLAGS) -o $@ $^
> +
> +SOURCES = reflink_test.h xattr_test.h reflink_test_utils.c xattr_test_utils.c reflink_test.c multi_reflink_test.c
> +
> +DIST_FILES = $(SOURCES) reflink_test_run.sh multi_reflink_test_run.sh
> +
> +BIN_EXTRA = reflink_test_run.sh multi_reflink_test_run.sh
> +
> +BIN_PROGRAMS = reflink_test multi_reflink_test
> +
> +reflink_test: reflink_test.c reflink_test_utils.c xattr_test_utils.c xattr_test.h reflink_test.h
> + $(LINK) $(OCFS2_LIBS)
> +
> +multi_reflink_test: multi_reflink_test.c reflink_test_utils.c xattr_test_utils.c xattr_test.h reflink_test.h
> + $(MPI_LINK) $(OCFS2_LIBS)
> +
> +include $(TOPDIR)/Postamble.make
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-test-devel/attachments/20090320/25308965/attachment.html
More information about the Ocfs2-test-devel
mailing list