summaryrefslogtreecommitdiffstats
path: root/haskell/Makefile.am
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-30 14:10:40 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-30 14:10:40 +0000
commit2860b21ee1b86d6c944308a8be181c91bc07fd03 (patch)
treeca070e6f6343b993b4b67d4c48ff458deeafa752 /haskell/Makefile.am
parentaba7cad7dfbb12fe4e21f9388cf4e50b47117cfb (diff)
downloadlibguestfs-2860b21ee1b86d6c944308a8be181c91bc07fd03.tar.gz
libguestfs-2860b21ee1b86d6c944308a8be181c91bc07fd03.tar.xz
libguestfs-2860b21ee1b86d6c944308a8be181c91bc07fd03.zip
haskell: Combine tests to reduce number of launches.
Diffstat (limited to 'haskell/Makefile.am')
-rw-r--r--haskell/Makefile.am11
1 files changed, 4 insertions, 7 deletions
diff --git a/haskell/Makefile.am b/haskell/Makefile.am
index 2524617a..4406712f 100644
--- a/haskell/Makefile.am
+++ b/haskell/Makefile.am
@@ -32,13 +32,13 @@ TESTS_ENVIRONMENT = \
LIBGUESTFS_PATH=$(top_builddir)/appliance \
$(VG)
-TESTS = run-bindtests Guestfs005Load Guestfs010Launch Guestfs050LVCreate
+TESTS = run-bindtests Guestfs005Load Guestfs010Basic
check_DATA = Bindtests
GHCFLAGS = -I$(top_builddir)/src -L$(top_builddir)/src/.libs
-all_targets = Bindtests Guestfs005Load Guestfs010Launch Guestfs050LVCreate
+all_targets = Bindtests Guestfs005Load Guestfs010Basic
$(all_targets): $(top_builddir)/src/libguestfs.la
all: $(all_targets)
@@ -52,12 +52,9 @@ Bindtests: Bindtests.hs Guestfs.o
Guestfs005Load: Guestfs005Load.hs Guestfs.o
$(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
-Guestfs010Launch: Guestfs010Launch.hs Guestfs.o
+Guestfs010Basic: Guestfs010Basic.hs Guestfs.o
$(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
-Guestfs050LVCreate: Guestfs050LVCreate.hs Guestfs.o
- $(GHC) $(GHCFLAGS) -main-is $(shell basename $@) --make -o $@ $< -lguestfs
-
-CLEANFILES = $(all_targets) *~ Guestfs.o
+CLEANFILES = $(all_targets) *~ *.hi *.o
endif