1997-04-26 18:00:26 +04:00
|
|
|
#
|
|
|
|
# Makefile for the tests directory
|
|
|
|
#
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
top_builddir = ..
|
1997-04-29 18:53:37 +04:00
|
|
|
my_dir = tests
|
1997-04-26 18:00:26 +04:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
|
1997-04-29 18:53:37 +04:00
|
|
|
@MCONFIG@
|
|
|
|
|
1997-04-26 18:00:26 +04:00
|
|
|
all:: @DO_TEST_SUITE@
|
|
|
|
|
1997-04-29 18:53:37 +04:00
|
|
|
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
|
1997-04-26 18:00:26 +04:00
|
|
|
@echo "Running e2fsprogs test suite..."
|
|
|
|
@echo " "
|
1997-04-29 18:53:37 +04:00
|
|
|
@./test_script
|
1997-04-26 18:00:26 +04:00
|
|
|
|
|
|
|
clean::
|
1997-04-29 18:53:37 +04:00
|
|
|
$(RM) -f *.log *.new *.failed *.ok test.img test_script
|
1997-04-26 18:00:26 +04:00
|
|
|
|
|
|
|
distclean:: clean
|
|
|
|
$(RM) -f Makefile
|
|
|
|
|