From dd1b1b443c26f40b57653c96ae0bd45464f23f72 Mon Sep 17 00:00:00 2001 From: Ian Lynagh <ian@well-typed.com> Date: Thu, 24 Jan 2013 17:01:37 +0000 Subject: [PATCH] Rename subdir/tough2 test to tough2 It's now classified as a multimod_compile_and_run so that we can tell it where its source file is. --- tests/function2/test.T | 7 ++++--- tests/function2/{subdir => }/tough2.stdout | 0 2 files changed, 4 insertions(+), 3 deletions(-) rename tests/function2/{subdir => }/tough2.stdout (100%) diff --git a/tests/function2/test.T b/tests/function2/test.T index 04f39b6..5337ca2 100644 --- a/tests/function2/test.T +++ b/tests/function2/test.T @@ -8,10 +8,11 @@ hpc_prefix = "perl ../hpcrun.pl --clear --exeext=" + config.exeext + " --hpc='" # subdirectory and (b) it is a literate file. We had a bug in this # area caused by the handling of line pragmas in the preprocessed # source file. -test('subdir/tough2', +test('tough2', [ literate, extra_clean(['Main.hs.html', 'hpc_index.html', 'hpc_index_alt.html', - 'hpc_index_exp.html', 'hpc_index_fun.html', 'tough2.tix']), + 'hpc_index_exp.html', 'hpc_index_fun.html', + 'subdir/tough2.hi', 'subdir/tough2.o', 'tough2.tix']), cmd_prefix(hpc_prefix), omit_ways(['ghci'] + prof_ways) ], # profile goes in the wrong place - compile_and_run, ['-fhpc']) + multimod_compile_and_run, ['subdir/tough2.lhs', '-fhpc']) diff --git a/tests/function2/subdir/tough2.stdout b/tests/function2/tough2.stdout similarity index 100% rename from tests/function2/subdir/tough2.stdout rename to tests/function2/tough2.stdout -- GitLab