tools.profiler.sampling.tests: call gc beforehand to ensure no random samples are collected

locals-and-roots
Björn Lindqvist 2016-05-19 01:54:24 +02:00
parent 08c2e3a32d
commit 0394a141d3
1 changed files with 1 additions and 1 deletions

View File

@ -22,5 +22,5 @@ gc
[ "resource:basis/tools/memory/memory.factor" run-file ] profile
(get-samples) length 0 >
! Should clear it
[ ] profile (get-samples) length
gc [ ] profile (get-samples) length
] unit-test