Commit 5882c76b authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Make a non-profiling version of test cabal01

parent d1ffdb8f
......@@ -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
......
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')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment