Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
52aa5af5
Commit
52aa5af5
authored
May 07, 2007
by
Simon Marlow
Browse files
add basic concurrency/IO test: tests that stdin is non-blocking
parent
30aa5b6f
Changes
4
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/lib/IO/Makefile
View file @
52aa5af5
TOP
=
../../../..
include
$(TOP)/mk/boilerplate.mk
include
$(TOP)/mk/test.mk
test.concio001
:
@
$(TEST_HC)
--make
-fforce-recomp
-v0
concio001
-o
concio001
@
(
sleep
0.2
;
echo
x
)
| ./concio001
test.concio001.thr
:
@
$(TEST_HC)
--make
-fforce-recomp
-v0
-threaded
concio001
-o
concio001
@
(
sleep
0.2
;
echo
x
)
| ./concio001
testsuite/tests/ghc-regress/lib/IO/all.T
View file @
52aa5af5
...
...
@@ -88,3 +88,5 @@ clean(['tmp'])
test
('
countReaders001
',
expect_broken
(
629
),
compile_and_run
,
[''])
clean
(['
countReaders001.txt
'])
test
('
concio001
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory test.concio001
'])
test
('
concio001.thr
',
normal
,
run_command
,
['
$MAKE -s --no-print-directory test.concio001.thr
'])
testsuite/tests/ghc-regress/lib/IO/concio001.stdout
0 → 100644
View file @
52aa5af5
child
parent
testsuite/tests/ghc-regress/lib/IO/concio001.thr.stdout
0 → 100644
View file @
52aa5af5
child
parent
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment