diff options
| author | Andreas Källberg <anka.213@gmail.com> | 2020-08-05 17:38:46 +0200 |
|---|---|---|
| committer | Andreas Källberg <anka.213@gmail.com> | 2020-08-05 18:48:24 +0200 |
| commit | 05903b271c6938a5e2b25479dc77b986d65c664a (patch) | |
| tree | 104ea4b77a9d22a8cbf55b1f9f0098fd642c0bc8 /testsuite | |
| parent | 3bd1f01959facd80be7ab9087b17247803f0d179 (diff) | |
Fix testsuite compatability with newer Cabal
Diffstat (limited to 'testsuite')
| -rw-r--r-- | testsuite/run.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/run.hs b/testsuite/run.hs index 71af1e403..6bf3c8158 100644 --- a/testsuite/run.hs +++ b/testsuite/run.hs @@ -1,6 +1,7 @@ import Data.List(partition) import System.IO import Distribution.Simple.BuildPaths(exeExtension) +import Distribution.System ( buildPlatform ) import System.Process(readProcess) import System.Directory(doesFileExist,getDirectoryContents) import System.FilePath((</>),(<.>),takeExtension) @@ -71,7 +72,7 @@ main = -- Should consult the Cabal configuration! run_gf = readProcess default_gf ["-run","-gf-lib-path="++gf_lib_path] -default_gf = "dist/build/gf/gf"<.>exeExtension +default_gf = "dist/build/gf/gf"<.>exeExtension buildPlatform gf_lib_path = "dist/build/rgl" -- | List files, excluding "." and ".." |
