Test failures for the `profasm` way when BUILD_PROF_LIBS=YES
When running validate --slow
, which also builds libraries the profiling way now (see #11496 (closed)), a lot of tests are failing for test ways profasm
and profthreaded
.
To reproduce, set BUILD_PROF_LIBS=YES
in mk/build.mk
and run make
in toplevel directory. Then run:
make test CLEANUP=1 WAY=profasm TEST="T2552 cgrun045 T5626 cgrun051 cgrun016 cgrun059 T2120 T11193 T9078 overflow3 overflow2 overflow1 T10728 T7919 T11049 T5550 conc021 SplicesUsed T5654b-O1 T5654b-O0 T2552 Rules1 T3220 T7837 ColInference3 hpc_fork ffi008 fptrfail01 TH_spliceViewPat overloadedrecfldsrun04 overloadedlabelsrun04 arr004 arr007 arr008 arr003 assert T8089 readFloat stm060 T5628 tough T7411 qq007 qq008 qq009"
(some of the above tests might be failing for other reasons, but most should be about this issue)
Here is an example failure:
--- ./codeGen/should_run/cgrun045.stderr.normalised 2016-01-31 16:34:03.831816885 +0100
+++ ./codeGen/should_run/cgrun045.run.stderr.normalised 2016-01-31 16:34:03.831816885 +0100
@@ -1,3 +1,6 @@
cgrun045: hello world!
CallStack (from HasCallStack):
error, called at cgrun045.hs:<line>:<column> in <package-id>:Main
\ No newline at end of file
+CallStack (from -prof):
+ Main.main (cgrun045.hs:6:1-52)
+ Main.CAF (<entire-module>)
\ No newline at end of file
*** unexpected failure for cgrun045(profasm)
Is this expected behavior? The double callstacks look a little weird to me.
Trac metadata
Trac field | Value |
---|---|
Version | 7.11 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Test Suite |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | gridaphobe |
Operating system | |
Architecture |