Opened 3 years ago

Last modified 2 years ago

#1236 assigned defect

test expects directory Documents in home directory

Reported by: mmaslano Owned by: azawawi
Priority: minor Milestone:
Component: Syntax Checking Version: 0.86
Keywords: Cc:

Description

Padre::Document::Syntax expects directory Documents in home directory. I suppose your tests shouldn't touch real files or directories, but create them in buildroot (blib, t?).

The test passed after adding this directory, but that's not possible on build farm.

Error message:
Can't chdir to /home/petr/Dokumenty: No such file or directory at /home/petr/fedora/perl-Padre/Padre?-0.86/blib/lib/Padre/Document/Perl/Syntax.pm line 105
# Looks like you planned 82 tests but ran 3.
# Looks like your test exited with 2 just after 3.
t/44-perl-syntax.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 79/82 subtests

Versions:
Wx: Wx Version=(0.98) wxWidgets 2.8.11 unicode=(1)

btw I'm not sure about component. I was looking for Tests.

Change History (1)

comment:1 Changed 2 years ago by bowtie

  • Owner set to azawawi
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.