aboutsummaryrefslogtreecommitdiff
path: root/test/Spec.hs
diff options
context:
space:
mode:
authorBrad Richardson <brichardson@structint.com>2020-06-14 16:52:28 -0700
committerBrad Richardson <brichardson@structint.com>2020-06-14 16:52:28 -0700
commit16daa62ac79573fc87127df6e1ba080f197c5e31 (patch)
tree861b7e21e73111f078f6b2d62618ed1dd539a67e /test/Spec.hs
parentf97260ef5b5dfe9e2872394a4539090e71e1ceff (diff)
downloadfpm-16daa62ac79573fc87127df6e1ba080f197c5e31.tar.gz
fpm-16daa62ac79573fc87127df6e1ba080f197c5e31.zip
Add support for Makefiles and generic build scripts
Diffstat (limited to 'test/Spec.hs')
-rw-r--r--test/Spec.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Spec.hs b/test/Spec.hs
index 18da62f..6fb4006 100644
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -13,6 +13,8 @@ main = do
testHelloComplex
testHelloFpm
testCircular
+ testWithMakefile
+ testMakefileComplex
testHelloWorld :: IO ()
testHelloWorld =
@@ -29,3 +31,11 @@ testHelloFpm =
testCircular :: IO ()
testCircular =
withCurrentDirectory (example_path </> "circular_example") $ start $ Arguments (Test "") False ""
+
+testWithMakefile :: IO ()
+testWithMakefile =
+ withCurrentDirectory (example_path </> "with_makefile") $ start $ Arguments (Build) False ""
+
+testMakefileComplex :: IO ()
+testMakefileComplex =
+ withCurrentDirectory (example_path </> "makefile_complex") $ start $ Arguments (Run "") False ""