blob: 5e04dc8f49cac8962fa0511e54795fe73225fe66 [file] [log] [blame]
#
# 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