Commit 1046b794 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add a test for -with-rtsopts

parent b75b809f
......@@ -496,3 +496,9 @@ rtsOpts:
echo "No RTS opts"
-./rtsOpts +RTS -C0 2>&1
.PHONY: withRtsOpts
$(RM) withRtsOpts$(exeext) withRtsOpts.hi withRtsOpts.o
"$(TEST_HC)" -v0 --make withRtsOpts -with-rtsopts=--info
./withRtsOpts | head -1
......@@ -335,3 +335,6 @@ test('3674', ignore_output, run_command,
test('rtsOpts', normal, run_command,
['$MAKE -s --no-print-directory rtsOpts'])
test('withRtsOpts', normal, run_command,
['$MAKE -s --no-print-directory withRtsOpts'])
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