Add new shelltestrunner based test-suite

This commit is contained in:
Daniel Gröber
2017-03-01 08:26:17 +01:00
parent 53df9d228f
commit 04baf3e31f
15 changed files with 166 additions and 0 deletions

23
shelltest/ShellTest.hs Normal file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env runhaskell
-- ghc-mod: Making Haskell development *more* fun
-- Copyright (C) 2017 Daniel Gröber <dxld ÄT darkboxed DOT org>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU Affero General Public License for more details.
--
-- You should have received a copy of the GNU Affero General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
module Main where
import System.Exit
import System.Process
main = exitWith =<< rawSystem "shelltest" [ "--execdir", "shelltest/" ]