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
Haskell
Cabal
Commits
7d45c2f4
Commit
7d45c2f4
authored
19 years ago
by
Isaac Potoczny-Jones
Browse files
Options
Downloads
Patches
Plain Diff
tweak test suite
parent
580183e0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/ModuleTest.hs
+3
-1
3 additions, 1 deletion
tests/ModuleTest.hs
with
3 additions
and
1 deletion
tests/ModuleTest.hs
+
3
−
1
View file @
7d45c2f4
...
@@ -153,6 +153,8 @@ tests currDir comp compConf = [
...
@@ -153,6 +153,8 @@ tests currDir comp compConf = [
setCurrentDirectory
$
(
testdir
`
joinFileName
`
"exeWithC"
)
setCurrentDirectory
$
(
testdir
`
joinFileName
`
"exeWithC"
)
testPrelude
testPrelude
assertConfigure
targetDir
assertConfigure
targetDir
assertClean
assertConfigure
targetDir
assertBuild
assertBuild
assertCopy
assertCopy
assertCmd
",tmp/bin/tt"
"exeWithC failed"
assertCmd
",tmp/bin/tt"
"exeWithC failed"
...
@@ -393,7 +395,7 @@ tests currDir comp compConf = [
...
@@ -393,7 +395,7 @@ tests currDir comp compConf = [
compIdent
=
compStr
++
"/"
++
compFlag
compIdent
=
compStr
++
"/"
++
compFlag
testPrelude
=
system
"make clean >> out.build"
>>
system
"make >> out.build"
testPrelude
=
system
"make clean >> out.build"
>>
system
"make >> out.build"
assertConfigure
pref
assertConfigure
pref
=
assertCmd'
compCmd
(
"configure --prefix="
++
pref
++
" "
++
compFlag
)
=
assertCmd'
compCmd
(
"configure
--user
--prefix="
++
pref
++
" "
++
compFlag
)
"configure returned error code"
"configure returned error code"
assertBuild
=
assertCmd'
compCmd
"build"
"build returned error code"
assertBuild
=
assertCmd'
compCmd
"build"
"build returned error code"
assertCopy
=
assertCmd'
compCmd
"copy"
"copy returned error code"
assertCopy
=
assertCmd'
compCmd
"copy"
"copy returned error code"
...
...
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