[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #42740] Some tests inevitably fail in a chroot
From: |
Yavor Doganov |
Subject: |
[bug #42740] Some tests inevitably fail in a chroot |
Date: |
Sat, 12 Jul 2014 11:09:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?42740>
Summary: Some tests inevitably fail in a chroot
Project: GNUstep
Submitted by: yavor
Submitted on: Sat 12 Jul 2014 02:09:54 PM EEST
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Tests/GNUmakefile has an obvious thinko which leads to some NSBundle tests to
fail, among others:
base/NSBundle/general.m:
Failed test: general.m:76 ... -executablePath returns an executable path
(real bundle)
Failed test: general.m:81 ... +bundleWithIdentifier returns correct
bundle
The second issue is when HOME is non-writable, non-existing directory. This
test fails then:
base/Functions/NSGeometry1.m:
Failed test: NSGeometry1.m:112 ... In MacOSX geometry compat mode
In a standard sbuild/buildd environment, stdin is redirected to /dev/null and
I believe this is the reason for these tests to fail:
base/NSRunLoop/performers.m:
Failed test: performers.m:49 ...
-performSelector:target:argument:order:modes: only sends the message once
Failed test: performers.m:65 ...
-performSelector:target:argument:order:modes: orders performers correctly
Failed test: performers.m:89 ... -cancelPerformSelector:target:argument:
works
base/NSRunLoop/thread.m:
Failed test: thread.m:193 ... A loop with an input source will block
And finally, network connection is not guaranteed to be available.
Attached is a patch that addresses some of these issues.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 12 Jul 2014 02:09:54 PM EEST Name: testsuite-fixes.patch Size: 2kB
By: yavor
<http://savannah.gnu.org/bugs/download.php?file_id=31705>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42740>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #42740] Some tests inevitably fail in a chroot,
Yavor Doganov <=