[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49166] "system.tst" fails under Windows
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #49166] "system.tst" fails under Windows |
Date: |
Fri, 23 Sep 2016 11:48:01 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
URL:
<http://savannah.gnu.org/bugs/?49166>
Summary: "system.tst" fails under Windows
Project: GNU Octave
Submitted by: hardy
Submitted on: Fri 23 Sep 2016 11:47:59 AM GMT
Category: Test Suite
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0-rc2
Operating System: Microsoft Windows
_______________________________________________________
Details:
When I do "__run_test_suite__" within Octave, installed via the official
Windows installer from the alpha.gnu.org website (version 4.2.0-rc2) on a Win7
machine, then I get 1 FAIL-ing test result from "system.tst".
Here is the corresponding text from fntests.log:
>>>>> processing system.tst
***** test
[t1, u1, s1] = cputime ();
for i = 1:200
sin (i);
endfor
[t2, u2, s2] = cputime ();
assert (t1, u1 + s1);
assert (t2 == u2 + s2);
assert (t2 >= t1);
assert (u2 >= u2);
assert (s2 >= s2);
!!!!! test failed
ASSERT errors for: assert (t1,u1 + s1)
Location | Observed | Expected | Reason
() 412.9534 412.9534 Abs err 5.6843e-014 exceeds tol 0
***** testif HAVE_GETPWUID
x = getpwuid (getuid ());
assert (x.dir, tilde_expand ("~"));
assert (x.dir, tilde_expand (sprintf ("~%s", x.name)));
assert ("foobar", tilde_expand ("foobar"));
----- skipped test
***** testif HAVE_GETPGRP
assert (getpgrp () > 0);
----- skipped test
***** testif HAVE_GETPPID
assert (getppid () > 0);
----- skipped test
***** testif HAVE_GETEUID
assert (geteuid () >= 0)
----- skipped test
***** testif HAVE_GETUID
assert (getuid () >= 0)
----- skipped test
***** testif HAVE_GETEGID
assert (getegid () >= 0)
----- skipped test
***** testif HAVE_GETGID
assert (getgid () >= 0)
----- skipped test
***** testif HAVE_GETPWENT
s = getpwent ();
endpwent ();
assert (isstruct (s)
&& isfield (s, "name")
&& isfield (s, "passwd")
&& isfield (s, "uid")
&& isfield (s, "gid")
&& isfield (s, "gecos")
&& isfield (s, "dir")
&& isfield (s, "shell"));
----- skipped test
***** testif HAVE_GETPWUID
x = getpwent ();
y = getpwuid (x.uid);
endpwent ();
assert (strcmp (x.name, y.name) && x.uid == y.uid && x.gid == y.gid);
----- skipped test
***** testif HAVE_GETPWNAM
x = getpwent ();
y = getpwnam (x.name);
endpwent ();
assert (strcmp (x.name, y.name) && x.uid == y.uid && x.gid == y.gid);
----- skipped test
***** testif HAVE_SETPWENT
x = getpwent ();
setpwent ();
y = getpwent ();
endpwent ();
assert (strcmp (x.name, y.name) && x.uid == y.uid && x.gid == y.gid);
----- skipped test
***** testif HAVE_GETGRENT
x = getgrent ();
endgrent ();
assert (isstruct (x)
&& isfield (x, "name")
&& isfield (x, "passwd")
&& isfield (x, "gid")
&& isfield (x, "mem"));
----- skipped test
***** testif HAVE_GETGRGID
x = getgrent ();
y = getgrgid (x.gid);
endgrent ();
assert (strcmp (x.name, y.name) && x.gid == y.gid);
----- skipped test
***** testif HAVE_GETGRNAM
x = getgrent ();
y = getgrnam (x.name);
endgrent ();
assert (strcmp (x.name, y.name) && x.gid == y.gid);
----- skipped test
***** testif HAVE_SETGRENT
x = getgrent ();
setgrent ();
y = getgrent ();
endgrent ();
assert (strcmp (x.name, y.name) && x.gid == y.gid);
----- skipped test
Additional notes:
* When I try "test system.tst" this does not seem to call the test at all. How
do I call this single test?
* When I paste only the relevant test code
[t1, u1, s1] = cputime ();
for i = 1:200
sin (i);
endfor
[t2, u2, s2] = cputime ();
assert (t1, u1 + s1);
assert (t2 == u2 + s2);
assert (t2 >= t1);
assert (u2 >= u2);
assert (s2 >= s2);
into an m-file, then this runs totally fine. No errors in this case.
* I have not tried to run the full test suite for a second time, because it
takes so horrendously long.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49166>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49166] "system.tst" fails under Windows,
Hartmut <=