[Scons-dev] python3-port passes all test with python 2.7 on linux.. win32 has issues

Bill Deegan bill at baddogconsulting.com
Thu May 12 22:59:27 EDT 2016


Greetings,

It does appear that test/packaging/rpm/cleanup.py is unstable.
I did some investigating and found the following. See red below.
It seems the logic which returns the list of files for inclusion in the
gzipped tarball which is fed to rpmbuild can change the order in the list,
thus when it's rebuilt in the test, it rebuilds the tarball..

There's an issue on win32 in every testcase.
I'll take a look at that tomorrow.
Assumming we can get all tests passing, I'd be ready to merge down to
default this weekend.

Any thoughts?

-Bill

1/1 (100.00%) /usr/bin/python -tt test/packaging/rpm/cleanup.py
STDOUT
=========================================================================
1,7c1,11
< scons\:\ Reading\ SConscript\ files\ \.\.\.\
< scons\:\ done\ reading\ SConscript\ files\.\
< scons\:\ Building\ targets\ \.\.\.\
< scons\:\ \`\.\'\ is\ up\ to\ date\.\
< scons\:\ \`\-\-debug\=explain\'\ is\ up\ to\ date\.\
< scons\:\ done\ building\ targets\.\
< .*
---
> scons: Reading SConscript files ...
> SOURCE:/bin/main
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: rebuilding `foo-1.2.3.tar.gz' because the dependency order changed:
>                old: ['foo-1.2.3/SConstruct', 'foo-1.2.3/src/main.c',
'foo-1.2.3/foo-1.2.3.spec', '/bin/tar']
>                new: ['foo-1.2.3/src/main.c', 'foo-1.2.3/SConstruct',
'foo-1.2.3/foo-1.2.3.spec', '/bin/tar']
> tar -zc -f foo-1.2.3.tar.gz foo-1.2.3/src/main.c foo-1.2.3/SConstruct
foo-1.2.3/foo-1.2.3.spec
> scons: rebuilding `foo-1.2.3-0.src.rpm' because `foo-1.2.3.tar.gz' changed
> TAR_OPTIONS=--wildcards LC_ALL=C rpmbuild -ta --buildroot
/tmp/testcmd.29037.aQmlfg/rpm_build_root
/tmp/testcmd.29037.aQmlfg/foo-1.2.3.tar.gz
> scons: done building targets.
FAILED test of /home/bdbaddog/scons/scons/src/script/scons.py
    at line 614 of /home/bdbaddog/scons/scons/QMTest/TestCommon.py
(_complete)
    from line 710 of /home/bdbaddog/scons/scons/QMTest/TestCommon.py (run)
    from line 391 of /home/bdbaddog/scons/scons/QMTest/TestSCons.py (run)
    from line 428 of /home/bdbaddog/scons/scons/QMTest/TestSCons.py
(up_to_date)
    from line 88 of test/packaging/rpm/cleanup.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160512/5c6654fb/attachment.html>


More information about the Scons-dev mailing list