setTestOpts(compose(only_compiler_types(['ghc']),
		    compose(omit_ways(['ghci']),
			    skip_if_fast)))

hpcsample = 'hpc_sample'

test('hpc_report_multi_001', normal, run_command, \
	["'" + config.hpc + "' report " + hpcsample + " --include=Geometry --per-module"])
test('hpc_report_multi_002', normal, run_command, \
	["'" + config.hpc + "' report " + hpcsample + " --exclude=Geometry --per-module"])
test('hpc_report_multi_003', normal, run_command, \
	["'" + config.hpc + "' report " + hpcsample + " --include=Geometry --per-module --decl-list"])

test('hpc_markup_multi_001', normal, run_command, \
	["'" + config.hpc + "' markup --srcdir=../ " + hpcsample + " --include=Geometry"])
test('hpc_markup_multi_002', normal, run_command, \
	["'" + config.hpc + "' markup --srcdir=../ " + hpcsample + " --exclude=Geometry"])
test('hpc_markup_multi_003', normal, run_command, \
	["'" + config.hpc + "' markup --srcdir=../ " + hpcsample + " --fun-entry-count"])

test('hpc_show_multi_001', normal, run_command,
     ["'" + config.hpc + "' show " + hpcsample])
test('hpc_show_multi_002', normal, run_command,
     ["'" + config.hpc + "' show " + hpcsample + " --include=Geometry"])

# XXX We used to do clean_o_hi(), but that doesn't work any more
# Fix cleaning properly

