Whamcloud - gitweb
ChangeLog, Makefile.in, e2fsck.h, journal.c, unix.c:
[tools/e2fsprogs.git] / tests / Makefile.in
1 #
2 # Makefile for the tests directory
3 #
4
5 srcdir = @srcdir@
6 top_srcdir = @top_srcdir@
7 VPATH = @srcdir@
8 top_builddir = ..
9 my_dir = tests
10 INSTALL = @INSTALL@
11
12 @MCONFIG@
13
14 all:: @DO_TEST_SUITE@
15
16 test_script: test_script.in Makefile
17         @echo "Creating test_script..."
18         @echo "#!/bin/sh" > test_script
19         @echo "SRCDIR=@srcdir@" >> test_script
20         @cat $(srcdir)/test_script.in >> test_script
21         @chmod +x test_script
22
23 check:: test_script
24         @echo "Running e2fsprogs test suite..."
25         @echo " "
26         @./test_script
27
28 clean::
29         $(RM) -f *.log *.new *.failed *.ok test.img test_script
30
31 distclean:: clean
32         $(RM) -f Makefile
33