Commit 92802a28 authored by Ben Gamari's avatar Ben Gamari 🐢

Fix RTS stats

parent c3d3e812
......@@ -320,9 +320,9 @@ buildRules nofib@Build{..} = do
need [takeDirectory out </> "config.txt"]
need [replaceExtensions out exe]
let test = unoutput out
rtsStatsOut = out <.> "stats"
(stdin, args) <- liftIO $ getTestCmdline nofib test
executable <- liftIO $ IO.canonicalizePath $ output </> test </> "Main" <.> exe
let rtsStatsOut = executable <.> "stats"
out' <- liftIO $ IO.canonicalizePath out
cmd_ (Cwd test) (EchoStdout False) (StdinBS stdin)
"valgrind" "--tool=cachegrind" cachegrind_args ("--cachegrind-out-file="++out')
......
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