[Scons-dev] Tests fails
Tom Tanner (BLOOMBERG/ LONDON)
ttanner2 at bloomberg.net
Mon Mar 3 04:19:52 EST 2014
On the OSX one, it looks like you don't have SWIG and RANLIB installed and it's not recognising that it hasn't. I seem to remember having to install a lot of software on my linux (Ubuntu) box in order to get the tests to run clean. If that's the case, I'd imagine it's a bug really.
The leaky-handles test is possibly an issue with OSX not behaving quite like other linuxes. In order to detect how many handles are open in a forked subshell, it runs
ls /proc/$$/fd | wc -l
and expects that to return 3 (stdin, stdout, stderr). If it doesn't, then either
1) python isn't closing files in a child process properly
2) OSX doesn't have a proc/<pid>/fd directory
3) OSX has other standard handles.
4) I've written the test wrong and it doesn't gracefully exit for non posix systems.
I don't have access to an OSX system so I can't really tell, though if it (os.name) returns 'posix' that should work.
Cheers
TT
----- Original Message -----
From: scons-dev at scons.org
To: scons-dev at scons.org
At: Mar 2 2014 15:35:46
I ran what I believe is the full SCons test suite on Fedora 20 and OSX
Mavericks. On Fedora 20 I get the following fails not related to D
tooling:
test/Fortran/F95FLAGS.py
test/Fortran/SHF95FLAGS.py
test/Java/multi-step.py
test/Java/swig-dependencies.py
test/QT/Tool.py
test/QT/generated-ui.py
test/QT/installed.py
test/QT/up-to-date.py
on OSX, I get the following non-D fails.
test/Java/JAVAH.py
test/Java/RMIC.py
test/Java/multi-step.py
test/Java/nested-classes.py
test/Java/swig-dependencies.py
test/LEX/live.py
test/RANLIB/RANLIB.py
test/RANLIB/RANLIBFLAGS.py
test/Repository/Java.py
test/Repository/RMIC.py
test/SWIG/SWIG.py
test/SWIG/SWIGFLAGS.py
test/SWIG/SWIGOUTDIR-python.py
test/SWIG/SWIGOUTDIR.py
test/SWIG/SWIGPATH.py
test/SWIG/build-dir.py
test/SWIG/generated_swigfile.py
test/SWIG/implicit-dependencies.py
test/SWIG/live.py
test/SWIG/module-deduced-name.py
test/SWIG/module-parens.py
test/SWIG/module-quoted.py
test/SWIG/module-spaces.py
test/SWIG/noproxy.py
test/SWIG/remove-modules.py
test/SWIG/subdir.py
test/YACC/live.py
test/import.py
test/leaky-handles.py
test/long-lines/signature.py
test/option/debug-count.py
test/option/tree-lib.py
test/scons-time/run/config/python.py
test/sconsign/script/SConsignFile.py
test/sconsign/script/Signatures.py
test/sconsign/script/no-SConsignFile.py
is this expected/acceptable/troublesome/wtf? I have to admit I am
surprised I got any non-D tooling related errors. "no result"s I am
ignoring: I am checking that the D tooling "no result" are reasonable
though.
I also got some D tooling fails which I had not expected, and which I
shall fix asap.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
_______________________________________________
Scons-dev mailing list
Scons-dev at scons.org
http://two.pairlist.net/mailman/listinfo/scons-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20140303/fdf5b2dc/attachment.htm>
More information about the Scons-dev
mailing list