diff options
author | Brad Richardson <brichardson@structint.com> | 2020-06-02 08:03:11 -0700 |
---|---|---|
committer | Brad Richardson <brichardson@structint.com> | 2020-06-02 08:03:11 -0700 |
commit | 76439d06aee45e45c1a990e3d47634753dec59ef (patch) | |
tree | 776771ecad6174d02b54afa326d392334c6533a7 /test | |
parent | edf79a808ebe5b4a083ea3452a49e662907aaf07 (diff) | |
download | fpm-76439d06aee45e45c1a990e3d47634753dec59ef.tar.gz fpm-76439d06aee45e45c1a990e3d47634753dec59ef.zip |
Add ability to specify which test or program to run and their args
Diffstat (limited to 'test')
-rw-r--r-- | test/Spec.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Spec.hs b/test/Spec.hs index 604d8af..18da62f 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -16,16 +16,16 @@ main = do testHelloWorld :: IO () testHelloWorld = - withCurrentDirectory (example_path </> "hello_world") $ start $ Arguments Run False + withCurrentDirectory (example_path </> "hello_world") $ start $ Arguments (Run "") False "" testHelloComplex :: IO () testHelloComplex = - withCurrentDirectory (example_path </> "hello_complex") $ start $ Arguments Test False + withCurrentDirectory (example_path </> "hello_complex") $ start $ Arguments (Test "") False "" testHelloFpm :: IO () testHelloFpm = - withCurrentDirectory (example_path </> "hello_fpm") $ start $ Arguments Run False + withCurrentDirectory (example_path </> "hello_fpm") $ start $ Arguments (Run "") False "" testCircular :: IO () testCircular = - withCurrentDirectory (example_path </> "circular_example") $ start $ Arguments Test False + withCurrentDirectory (example_path </> "circular_example") $ start $ Arguments (Test "") False "" |