e2fsprogs/tests/Makefile.in

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