mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-03 06:54:00 +08:00
1e3472c5f3
Checked in e2fsprogs 1.05
34 lines
596 B
Makefile
34 lines
596 B
Makefile
#
|
|
# Makefile for the tests directory
|
|
#
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
top_builddir = ..
|
|
my_dir = tests
|
|
INSTALL = @INSTALL@
|
|
|
|
@MCONFIG@
|
|
|
|
all:: @DO_TEST_SUITE@
|
|
|
|
test_script: test_script.in Makefile
|
|
@echo "Creating test_script..."
|
|
@echo "#!/bin/sh" > test_script
|
|
@echo "SRCDIR=@srcdir@" >> test_script
|
|
@cat $(srcdir)/test_script.in >> test_script
|
|
@chmod +x test_script
|
|
|
|
check:: test_script
|
|
@echo "Running e2fsprogs test suite..."
|
|
@echo " "
|
|
@./test_script
|
|
|
|
clean::
|
|
$(RM) -f *.log *.new *.failed *.ok test.img test_script
|
|
|
|
distclean:: clean
|
|
$(RM) -f Makefile
|
|
|