Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
fd14814f
Commit
fd14814f
authored
Aug 30, 2001
by
rrt
Browse files
[project @ 2001-08-30 10:15:01 by rrt]
Make it work on Windows
parent
5b431cfd
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/driver/CmdSyntax.hs
View file @
fd14814f
...
...
@@ -13,7 +13,8 @@ module CmdSyntax ( Var, MacroName, TestName, MacroDef(..),
where
import
IO
import
System
import
System
(
getProgName
,
exitWith
,
ExitCode
(
..
)
)
import
KludgedSystem
(
system
)
---------------------------------------------------------------------
-- misc
...
...
@@ -28,8 +29,9 @@ die :: String -> IO a
die
s
=
do
officialMsg
s
;
exitWith
(
ExitFailure
1
)
my_system
s
=
do
exit_code
<-
system
s
--putStrLn (show exit_code)
=
do
-- putStr ("***" ++ s)
exit_code
<-
system
s
-- putStrLn "ok"
return
exit_code
isLeft
(
Left
_
)
=
True
...
...
testsuite/driver/Main.hs
View file @
fd14814f
...
...
@@ -6,7 +6,7 @@ import CmdSemantics ( parseOneTFile, processParsedTFile )
import
GetOpt
import
Directory
import
System
import
System
(
getArgs
)
import
List
import
Maybe
(
isJust
,
fromJust
)
import
Monad
(
when
)
...
...
testsuite/driver/Makefile
View file @
fd14814f
...
...
@@ -2,7 +2,7 @@ TOP = ..
include
$(TOP)/mk/boilerplate.mk
RUNTESTS_SRCS
=
\
TopSort.hs CmdLexer.hs CmdParser.hs CmdSemantics.hs CmdSyntax.hs Main.hs
\
TopSort.hs CmdLexer.hs CmdParser.hs CmdSemantics.hs CmdSyntax.hs
KludgedSystem.hs
Main.hs
\
basicRxLib/AbsTreeDefs.hs basicRxLib/Assertions.hs
\
basicRxLib/AugTreeDefs.hs basicRxLib/AugmentTree.hs
\
basicRxLib/BagRE.hs basicRxLib/CompileREP.hs
\
...
...
Write
Preview
Markdown
is supported
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