Skip to contentSkip to conversation

erofs-utils: contrib: add stress test

PATCH New Gao Xiang via Linux-erofs 1 participant 1 message Feb 5, 2025 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 erofs-utils: contrib: add stress test

Just import it as an in-tree component for tests.

---
 Makefile.am         |   1 +
 configure.ac        |   3 +-
 contrib/Makefile.am |   8 +
 contrib/stress.c    | 773 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 784 insertions(+), 1 deletion(-)
 create mode 100644 contrib/Makefile.am
 create mode 100644 contrib/stress.c
Makefile.am +1 -0
index fc464e8..f8a967f 100644
@@ -6,3 +6,4 @@ SUBDIRS = man lib mkfs dump fsck
 if ENABLE_FUSE
 SUBDIRS += fuse
 endif
+SUBDIRS += contrib
configure.ac +2 -1
index 0a069c5..858b2b8 100644
@@ -647,5 +647,6 @@ AC_CONFIG_FILES([Makefile
 		 mkfs/Makefile
 		 dump/Makefile
 		 fuse/Makefile
-		 fsck/Makefile])
+		 fsck/Makefile
+		 contrib/Makefile])
 AC_OUTPUT
contrib/Makefile.am new file +8 -0
new file mode 100644
index 0000000..613b348
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0+
+# Makefile.am
+
+AUTOMAKE_OPTIONS	= foreign
+noinst_PROGRAMS		= stress
+
+stress_CFLAGS = -Wall -I$(top_srcdir)/include
+stress_SOURCES = stress.c
contrib/stress.c new file +773 -0

773 lines not on this page · raw message

Signature · 1 line
2.30.2