setTestOpts([when(fast(), skip), js_skip])

test('hpc_report_multi_001', extra_files(['.hpc/', 'hpc_sample.tix']), run_command,
     ["{hpc} report hpc_sample --include=Geometry --per-module"])
test('hpc_report_multi_002', extra_files(['.hpc/', 'hpc_sample.tix']), run_command,
     ["{hpc} report hpc_sample --exclude=Geometry --per-module"])
test('hpc_report_multi_003', extra_files(['.hpc/', 'hpc_sample.tix']), run_command,
     ["{hpc} report hpc_sample --include=Geometry --per-module --decl-list"])

test('hpc_markup_multi_001', extra_files(['../Geometry.hs', '.hpc/', 'hpc_sample.tix']), run_command,
     ["{hpc} markup --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_001/.hpc --destdir=markup_multi_001"
      " hpc_sample --include=Geometry"])
test('hpc_markup_multi_002', extra_files(['../CSG.hs', '../Construct.hs', '../Data.hs', '../Eval.hs', '../Geometry.hs', '../Illumination.hs', '../Intersections.hs', '../Interval.hs', '../Main.hs', '../Misc.hs', '../Parse.hs', '../Pixmap.hs', '../Primitives.hs', '../RayTrace.hs', '../Surface.hs', '.hpc/', 'hpc_sample.tix']), run_command,
     ["{hpc} markup --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_002/.hpc --destdir=markup_multi_002"
      " hpc_sample --exclude=Geometry"])
test('hpc_markup_multi_003', extra_files(['../CSG.hs', '../Construct.hs', '../Data.hs', '../Eval.hs', '../Geometry.hs', '../Illumination.hs', '../Intersections.hs', '../Interval.hs', '../Main.hs', '../Misc.hs', '../Parse.hs', '../Pixmap.hs', '../Primitives.hs', '../RayTrace.hs', '../Surface.hs', '.hpc/', 'hpc_sample.tix']), run_command,
     ["{hpc} markup --hpcdir=tixs/.hpc --hpcdir=hpc_markup_multi_003/.hpc --destdir=markup_multi_003"
      " hpc_sample --fun-entry-count"])

test('hpc_show_multi_001', extra_files(['.hpc/', 'hpc_sample.tix']), run_command,
     ["{hpc} show hpc_sample"])
test('hpc_show_multi_002', extra_files(['.hpc/', 'hpc_sample.tix']), run_command,
     ["{hpc} show hpc_sample --include=Geometry"])
