Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
967a8e9b
Unverified
Commit
967a8e9b
authored
1 year ago
by
Phil de Joux
Browse files
Options
Downloads
Patches
Plain Diff
Drop only .test.hs or .multitest.hs
parent
feaa338c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cabal-testsuite/src/Test/Cabal/Monad.hs
+5
-1
5 additions, 1 deletion
cabal-testsuite/src/Test/Cabal/Monad.hs
with
5 additions
and
1 deletion
cabal-testsuite/src/Test/Cabal/Monad.hs
+
5
−
1
View file @
967a8e9b
...
...
@@ -232,7 +232,11 @@ runTestM mode m = withSystemTempDirectory "cabal-testsuite" $ \tmp_dir -> do
args
<-
execParser
(
info
testArgParser
Data
.
Monoid
.
mempty
)
let
dist_dir
=
testArgDistDir
args
(
script_dir0
,
script_filename
)
=
splitFileName
(
testArgScriptPath
args
)
script_base
=
dropExtensions
script_filename
stripped
=
stripExtension
".test.hs"
script_filename
<|>
stripExtension
".multitest.hs"
script_filename
script_base
=
fromMaybe
(
dropExtensions
script_filename
)
stripped
-- Canonicalize this so that it is stable across working directory changes
script_dir
<-
canonicalizePath
script_dir0
senv
<-
mkScriptEnv
verbosity
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment