Open
Bug 747613
Opened 14 years ago
Updated 9 years ago
Unable to run testrunner.pl
Categories
(Testopia :: General, defect)
Tracking
(Not tracked)
NEW
3.0
People
(Reporter: florijn.peter, Assigned: gregaryh)
Details
Attachments
(1 file)
|
3.53 KB,
patch
|
Details | Diff | Splinter Review |
Setup
Bugzilla 4.2.1 / Testopia 2.5
After the upgrade of Testopia I try to run the testrunner.pl testscript provided in
extensions/Testopia directory.
This script fails with
Can't locate Bugzilla/Extension/Testopia/Test/Constants.pm in @INC (@INC contains: CODE(0x7ff1121f57d8) . t ../.. /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12) at testrunner.pl line 35.
BEGIN failed--compilation aborted at testrunner.pl line 35.
Tried to figure out how to influence usae lib to find it.
No success.
Seems like the testscripts need some documentation and some updates as well.
Comment 1•14 years ago
|
||
Tests are severely broken. There are many errors in them. I have a patch which fixes your specific error, but another error appears immediately:
t/SE_environments.t .. Global symbol "%Config" requires explicit package name at /opt/perl/lib/5.14.2/i686-linux/lib.pm line 10.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 2.4
Comment 2•14 years ago
|
||
With this patch applied, do you also see the error I mentioned in my comment above?
| Reporter | ||
Comment 3•14 years ago
|
||
Applied above mentioned patch
Got the same error:
t/SE_environments.t .. Global symbol "%Config" requires explicit package name at /System/Library/Perl/5.12/darwin-thread-multi-2level/lib.pm line 10.
Global symbol "%Config" requires explicit package name at /System/Library/Perl/5.12/darwin-thread-multi-2level/lib.pm line 11.
Global symbol "%Config" requires explicit package name at /System/Library/Perl/5.12/darwin-thread-multi-2level/lib.pm line 12.
Compilation failed in require at t/SE_environments.t line 25.
BEGIN failed--compilation aborted at t/SE_environments.t line 25.
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
| Reporter | ||
Comment 4•14 years ago
|
||
Google told me somebody suggested a work around by adding my %Config = ();
Just before use Config.
Adding this to t/SE_environments.t advances the test but now halts on another file with the same error. Patched this the sameway and it advances and halts at the next.
Stopped here for now.
This must be a generic problem, not necessary related to Testopia.
| Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → 2.6
You need to log in
before you can comment on or make changes to this bug.
Description
•