aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test/Spec.hs
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-10-28 12:49:26 -0500
committerBrad Richardson <everythingfunctional@protonmail.com>2020-10-28 12:49:26 -0500
commit5d122c2854dbec1470a660bf80cd0544a8806a78 (patch)
tree22354d18f0200c25222fd1580ffe351414c102c6 /bootstrap/test/Spec.hs
parent7b191a773d3a1f91131943a4ed84b285839bdf35 (diff)
downloadfpm-5d122c2854dbec1470a660bf80cd0544a8806a78.tar.gz
fpm-5d122c2854dbec1470a660bf80cd0544a8806a78.zip
Add command line options to specify compiler flags
Diffstat (limited to 'bootstrap/test/Spec.hs')
-rw-r--r--bootstrap/test/Spec.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstrap/test/Spec.hs b/bootstrap/test/Spec.hs
index ac72b07..dfa73df 100644
--- a/bootstrap/test/Spec.hs
+++ b/bootstrap/test/Spec.hs
@@ -21,6 +21,7 @@ testHelloWorld =
withCurrentDirectory (example_path </> "hello_world") $ start $ Run
{ runRelease = False
, runCompiler = "gfortran"
+ , runFlags = []
, runTarget = Nothing
, runArgs = Nothing
}
@@ -30,6 +31,7 @@ testHelloComplex =
withCurrentDirectory (example_path </> "hello_complex") $ start $ Test
{ testRelease = False
, testCompiler = "gfortran"
+ , testFlags = []
, testTarget = Nothing
, testArgs = Nothing
}
@@ -39,6 +41,7 @@ testHelloFpm =
withCurrentDirectory (example_path </> "hello_fpm") $ start $ Run
{ runRelease = False
, runCompiler = "gfortran"
+ , runFlags = []
, runTarget = Nothing
, runArgs = Nothing
}
@@ -48,6 +51,7 @@ testCircular =
withCurrentDirectory (example_path </> "circular_example") $ start $ Test
{ testRelease = False
, testCompiler = "gfortran"
+ , testFlags = []
, testTarget = Nothing
, testArgs = Nothing
}
@@ -57,6 +61,7 @@ testWithMakefile =
withCurrentDirectory (example_path </> "with_makefile") $ start $ Build
{ buildRelease = False
, buildCompiler = "gfortran"
+ , buildFlags = []
}
testMakefileComplex :: IO ()
@@ -64,6 +69,7 @@ testMakefileComplex =
withCurrentDirectory (example_path </> "makefile_complex") $ start $ Run
{ runRelease = False
, runCompiler = "gfortran"
+ , runFlags = []
, runTarget = Nothing
, runArgs = Nothing
}
@@ -73,4 +79,5 @@ testSubmodule =
withCurrentDirectory (example_path </> "submodules") $ start $ Build
{ buildRelease = False
, buildCompiler = "gfortran"
+ , buildFlags = []
}