repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add logging and assertions on output to cyclical test
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
JS
/
JsSourcesExe
/
js-arch.test.hs
blob
1fed749bdb8eadf820ce3868cf5f97eb787a5498
1
import
Test
.
Cabal
.
Prelude
2
3
main
=
setupAndCabalTest
$
do
4
skipUnlessGhcVersion
">= 9.6"
5
skipUnlessJavaScript
6
skipIfWindows
7
8
res
<-
cabal
'
"v2-run"
[
"demo"
]
9
assertOutputContains
"Hello JS!"
res