Skip Menu |

This queue is for tickets about the ODF-lpOD CPAN distribution.

Report information
The Basics
Id: 130537
Status: new
Priority: 0/
Queue: ODF-lpOD

People
Owner: Nobody in particular
Requestors: tom [...] eborcom.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.126
Fixed in: (no value)



Subject: Tests sometimes fail when run in parallel
From the command line I ran: HARNESS_OPTIONS=c:j8 cpan ODF::lpOD This uses perl's cpan client to install the module and uses "j8" to run tests in parallel. However, ODF::lpOD expects the writer tests to run before the reader tests otherwise the tests fail as seen in CPAN Testers reports such as http://www.cpantesters.org/cpan/report/a0127208-2358-11e7-8526-a39e8df4c15e The attached patch ensures the tests always run in the correct order, so those of us who use parallel testing no longer encounter problems.
Subject: 0001-The-writer-tests-have-to-run-first.patch
From 3289c51c313bdabdc640b9174f6b16113235a971 Mon Sep 17 00:00:00 2001 From: Tom Hukins <tom@eborcom.com> Date: Thu, 19 Sep 2019 09:46:20 +0000 Subject: [PATCH] The writer tests have to run first --- t/testrules.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 t/testrules.yml diff --git a/t/testrules.yml b/t/testrules.yml new file mode 100644 index 0000000..94c243b --- /dev/null +++ b/t/testrules.yml @@ -0,0 +1,3 @@ +seq: + - seq: t/test01_write.t + - par: ** -- 2.23.0