Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5882c76b
Commit
5882c76b
authored
Jul 21, 2007
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make a non-profiling version of test cabal01
parent
d1ffdb8f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
testsuite/tests/ghc-regress/cabal/cabal01/Makefile
testsuite/tests/ghc-regress/cabal/cabal01/Makefile
+1
-1
testsuite/tests/ghc-regress/cabal/cabal01/all.T
testsuite/tests/ghc-regress/cabal/cabal01/all.T
+12
-1
No files found.
testsuite/tests/ghc-regress/cabal/cabal01/Makefile
View file @
5882c76b
...
...
@@ -20,7 +20,7 @@ cabal01: setup
$(GHC_PKG_INPLACE)
--user
unregister
test;
\
fi
./setup
configure
-v0
--prefix
=
`
pwd
`
/install
--with-compiler
=
$(TEST_HC)
--with-hc-pkg
=
$(GHC_PKG_INPLACE)
--enable-library-profiling
./setup
configure
-v0
--prefix
=
`
pwd
`
/install
--with-compiler
=
$(TEST_HC)
--with-hc-pkg
=
$(GHC_PKG_INPLACE)
$(PROF)
./setup
build
-v0
./setup
copy
-v0
--copy-prefix
=
`
pwd
`
/install-tmp
ls
install-tmp
...
...
testsuite/tests/ghc-regress/cabal/cabal01/all.T
View file @
5882c76b
setTestOpts
(
only_compiler_types
(['
ghc
']))
test
('
cabal01
',
compose
(
req_profiling
,
compose
(
ignore_output
,
expect_broken_if_platform
(
1196
,
'
i386-unknown-mingw32
'))),
run_command
,
['
$MAKE cabal01
'])
test
('
cabal01
',
compose
(
ignore_output
,
expect_broken_if_platform
(
1196
,
'
i386-unknown-mingw32
')),
run_command
,
['
$MAKE cabal01 PROF=
'])
if
default_testopts
.
cleanup
!=
'':
runCmd
('
$MAKE -C
'
+
in_testdir
('')
+
'
clean
')
test
('
cabal01prof
',
composes
([
req_profiling
,
ignore_output
,
expect_broken_if_platform
(
1196
,
'
i386-unknown-mingw32
')]),
run_command
,
['
$MAKE cabal01 PROF=--enable-library-profiling
'])
if
default_testopts
.
cleanup
!=
'':
runCmd
('
$MAKE -C
'
+
in_testdir
('')
+
'
clean
')
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