#6743: cygwin metaticket: port Sage to Microsoft Windows (via Cygwin): stage 1
--
make building Sage automatic
-----------------------------------+----------------------------------------
Reporter: was | Owner: was
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-5.9
Component: porting: Cygwin | Resolution:
Keywords: sd31 sd32 | Work issues:
Report Upstream: N/A | Reviewers: Jean-Pierre Flori, Dmitrii
Pasechnik, Karl-Dieter Crisman, Mike Hansen, William Stein, Luis Tabera
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------------------
Comment (by kcrisman):
Other than the expected numerical ones, all that remains is
{{{
sage -t sage/libs/gap/element.pyx
**********************************************************************
File "sage/libs/gap/element.pyx", line 1327, in
sage.libs.gap.element.GapElement_Function.__call__
Failed example:
libgap_exec('echo hello from the shell > /dev/null')
Expected nothing
Got:
The system cannot find the path specified.
**********************************************************************
1 item had failures:
1 of 26 in sage.libs.gap.element.GapElement_Function.__call__
[256 tests, 1 failure, 4.6 s]
sage -t sage/structure/sage_object.pyx
**********************************************************************
File "sage/structure/sage_object.pyx", line 1215, in
sage.structure.sage_object.picklejar
Failed example:
if uid==0:
raise OSError('You must not run the doctests as root, geez!')
else: sage.structure.sage_object.picklejar(1, dir + '/noaccess')
Expected:
Traceback (most recent call last):
...
OSError: ...
Got:
<BLANKLINE>
**********************************************************************
1 item had failures:
1 of 10 in sage.structure.sage_object.picklejar
[152 tests, 1 failure, 5.1 s]
sage -t sage/parallel/decorate.py
**********************************************************************
File "sage/parallel/decorate.py", line 559, in sage.parallel.decorate.fork
Failed example:
print "this works"; g()
Expected:
this works...
<BLANKLINE>
------------------------------------------------------------------------
Unhandled SIG...
------------------------------------------------------------------------
'NO DATA'
Got:
this works
'NO DATA'
**********************************************************************
1 item had failures:
1 of 18 in sage.parallel.decorate.fork
[90 tests, 1 failure, 14.4 s]
sage -t sage/tests/cmdline.py
**********************************************************************
File "sage/tests/cmdline.py", line 415, in
sage.tests.cmdline.test_executable
Failed example:
ret
Expected:
0
Got:
-6
*******************************************************************
}}}
and the more long
{{{
Killed due to segmentation fault
**********************************************************************
Tests run before process failed:
sage: from sage.tests.interrupt import return_exception ## line 74 ##
sage: @return_exception
def raise_interrupt():
raise KeyboardInterrupt("just testing") ## line 75 ##
sage: raise_interrupt() ## line 78 ##
KeyboardInterrupt('just testing',)
sage: sig_on_count() ## line 80 ##
0
sage: import sage.tests.interrupt ## line 105 ##
sage: try:
sage.tests.interrupt.interrupt_after_delay()
factor(10^1000 + 3)
except KeyboardInterrupt:
print "Caught KeyboardInterrupt" ## line 106 ##
Caught KeyboardInterrupt
sage: sig_on_count() ## line 112 ##
0
sage: from sage.tests.interrupt import * ## line 123 ##
sage: test_sig_off() ## line 124 ##
sage: sig_on_count() ## line 125 ##
0
sage: from sage.tests.interrupt import * ## line 134 ##
sage: test_sig_on() ## line 135 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 137 ##
0
sage: from sage.tests.interrupt import * ## line 146 ##
sage: test_sig_str() ## line 147 ##
sage: sig_on_count() ## line 151 ##
0
sage: from sage.tests.interrupt import * ## line 165 ##
sage: test_sig_on_cython() ## line 166 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 168 ##
0
sage: from sage.tests.interrupt import * ## line 181 ##
sage: test_sig_on_cython_except() ## line 182 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 184 ##
0
sage: from sage.tests.interrupt import * ## line 197 ##
sage: test_sig_on_cython_except_all() ## line 198 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 200 ##
0
sage: from sage.tests.interrupt import * ## line 209 ##
sage: test_sig_check() ## line 210 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 212 ##
0
sage: from sage.tests.interrupt import * ## line 222 ##
sage: test_sig_check_inside_sig_on() ## line 223 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 225 ##
0
sage: from sage.tests.interrupt import * ## line 235 ##
sage: test_sig_retry() ## line 236 ##
10
sage: sig_on_count() ## line 238 ##
0
sage: from sage.tests.interrupt import * ## line 253 ##
sage: test_sig_retry_and_signal() ## line 254 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 256 ##
0
sage: from sage.tests.interrupt import * ## line 273 ##
sage: test_sig_on_no_except() ## line 274 ##
42
sage: sig_on_count() ## line 276 ##
0
sage: from sage.tests.interrupt import * ## line 301 ##
sage: test_sig_str_no_except() ## line 302 ##
sage: sig_on_count() ## line 306 ##
0
sage: from sage.tests.interrupt import * ## line 324 ##
sage: test_sig_check_no_except() ## line 325 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 327 ##
0
sage: from sage.tests.interrupt import * ## line 342 ##
sage: test_old_sig_off() ## line 343 ##
sage: sig_on_count() ## line 344 ##
0
sage: from sage.tests.interrupt import * ## line 353 ##
sage: test_old_sig_on() ## line 354 ##
KeyboardInterrupt()
sage: sig_on_count() ## line 356 ##
0
sage: from sage.tests.interrupt import * ## line 365 ##
sage: test_old_sig_str() ## line 366 ##
sage: sig_on_count() ## line 370 ##
0
sage: from sage.tests.interrupt import * ## line 383 ##
sage: test_signal_segv() ## line 384 ##
sage: sig_on_count() ## line 388 ##
0
sage: from sage.tests.interrupt import * ## line 397 ##
sage: test_signal_fpe() ## line 398 ##
sage: sig_on_count() ## line 402 ##
0
sage: from sage.tests.interrupt import * ## line 411 ##
sage: test_signal_ill() ## line 412 ##
sage: sig_on_count() ## line 416 ##
0
sage: from sage.tests.interrupt import * ## line 425 ##
sage: test_signal_abrt() ## line 426 ##
sage: sig_on_count() ## line 430 ##
0
sage: from sage.tests.interrupt import * ## line 439 ##
sage: test_signal_bus() ## line 440 ##
sage: sig_on_count() ## line 444 ##
0
sage: from sage.tests.interrupt import * ## line 460 ##
sage: test_dereference_null_pointer() ## line 461 ##
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6743#comment:237>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.