[Ocfs2-test-devel] [PATCH 07/11] ocfs2-test: Removed 3rd party tests from the build.

Marcos Matsunaga Marcos.Matsunaga at oracle.com
Fri Nov 7 14:49:35 PST 2008


This is to remove some of the tests that we have in ocfs2-tests and we don't
want in the ocfs2-test RPM.

	bonnie
	dbench
	iozone
	postmark

This will be done by using the feature --enable-third-party which is set to no
by default.

Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>

Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
 programs/Makefile |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/programs/Makefile b/programs/Makefile
index ec399e9..9c99ecd 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -2,13 +2,13 @@ TOPDIR = ..
 
 include $(TOPDIR)/Preamble.make
 
+
 SUBDIRS =			\
 	aio-stress		\
 	aio_direct		\
 	atime_quantum		\
 	backup_super		\
 	basic-dual-data		\
-	bonnie			\
 	buildkernel		\
 	check_file_size_limits	\
 	create_and_open		\
@@ -16,7 +16,6 @@ SUBDIRS =			\
 	create_racer		\
 	cross_delete		\
 	db_resize		\
-	dbench			\
 	dirop_fileop_racer	\
 	dlmstress1		\
 	exorcist		\
@@ -29,7 +28,6 @@ SUBDIRS =			\
 	forkwriter		\
 	fsx			\
 	inline-data		\
-	iozone			\
 	kernel_build_parallel_find	\
 	lock_grab		\
 	logwriter		\
@@ -40,7 +38,6 @@ SUBDIRS =			\
 	multi_node_mmap		\
 	open_delete		\
 	parallel_timing		\
-	postmark		\
 	python_common		\
 	quick_appending_writes	\
 	recovery_load		\
@@ -56,4 +53,8 @@ SUBDIRS =			\
 	write_torture		\
 	xattr_tests
 
+ifdef OCFS2_TEST_ENABLE_THIRDPARTY
+SUBDIRS += bonnie dbench iozone postmark
+endif
+
 include $(TOPDIR)/Postamble.make
-- 
1.5.6.3




More information about the Ocfs2-test-devel mailing list