Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
60f5c213
Commit
60f5c213
authored
Jun 15, 2004
by
ijones
Browse files
fixed tests for new A location
parent
4be52366
Changes
3
Hide whitespace changes
Inline
Side-by-side
Distribution/ModuleTest.hs
View file @
60f5c213
...
...
@@ -99,7 +99,7 @@ checkTargetDir targetDir suffixes
tests
::
[
Test
]
tests
=
[
TestLabel
"configure GHC, sdist"
$
TestCase
$
do
system
"ghc-pkg -r test-1.0 --config-file=$HOME/.ghc-packages"
setCurrentDirectory
"test"
setCurrentDirectory
"test
/A
"
dirE1
<-
doesDirectoryExist
",tmp"
when
dirE1
(
system
"rm -r ,tmp"
>>
return
()
)
dirE2
<-
doesDirectoryExist
"dist"
...
...
Makefile
View file @
60f5c213
all
:
tests
all
:
main
tests
:
main
:
ghc
-Wall
--make
-i
../:/usr/local/src/HUnit-1.0 Distribution/ModuleTest
-o
moduleTest
cd test
&&
make
tests
:
cd test
/A
&&
make
clean
:
-
rm
-f
Distribution/
*
.
{
o,hi
}
Distribution/Simple/
*
.
{
o,hi
}
...
...
test/A/Makefile
View file @
60f5c213
all
:
ghc
-Wall
--make
-i
../:/usr/local/src/HUnit-1.0 Setup.hs
-o
setup
ghc
-Wall
--make
-i
../
../
:/usr/local/src/HUnit-1.0 Setup.hs
-o
setup
clean
:
rm
-f
setup a.out
rm
-rf
,tmp dist
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment