To match the other tests, round the test duration to an intger value
so the test reports are consistent.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
end_time = time.time()
ptestsuite = "rust"
- self.ptest_section(ptestsuite, duration = end_time - start_time, logfile = builddir + "/summary.txt")
+ self.ptest_section(ptestsuite, duration = int(end_time - start_time), logfile = builddir + "/summary.txt")
filename = builddir + "/summary.txt"
test_results = parse_results(filename)
for test in test_results: