Test failure on debian sparc (big endian)
http://experimental.ftbfs.de/fetch.p...ile=log&as=raw
g++ -o build/release/tests/endian.o -c Source/Tests/endian.cpp...
Source/Tests/endian.cpp:36:47: warning: no newline at end of file
g++ -o build/release/tests/mmap.o -c Source/Tests/mmap.cpp
g++ -o build/release/tests/specmatch.o -c Source/Tests/specmatch.cpp
g++ -o build/release/tests/textrunner.o -c Source/Tests/textrunner.cpp
Source/Tests/textrunner.cpp:22:2: warning: no newline at end of file
g++ -o build/release/tests/required/dirreader.o -c Source/dirreader.cpp
g++ -o build/release/tests/required/growbuf.o -c Source/growbuf.cpp
g++ -o build/release/tests/required/mmap.o -c Source/mmap.cpp
g++ -o build/release/tests/test build/release/tests/endian.o build/release/tests/mmap.o build/release/tests/specmatch.o build/release/tests/textrunner.o build/release/tests/required/dirreader.o build/release/tests/required/growbuf.o build/release/tests/required/mmap.o -ldl -lcppunit
/build/buildd/nsis-2.14/build/release/tests/test
..F..
endian.cpp:31:Assertion
Test name: EndianTest::testFixEndian
equality assertion failed
- Expected: 2018915346
- Actual : 305419896
Failures !!!
Run: 4 Failure total: 1 Failures: 1 Errors: 0
Install file: "Source/exehead/uninst.ico" as ".test/Stubs/uninst"...
Install file: "build/release/stub_zlib/stub_zlib.exe" as ".test/Stubs/zlib"
Install file: "build/release/stub_zlib_solid/stub_zlib.exe" as ".test/Stubs/zlib_solid"
Install file: "Source/Tests/preprocessor.nsi" as ".test/Tests/preprocessor.nsi"
Install file: "license.txt" as ".test/license.txt"
Install file: "build/release/makensis/makensis" as ".test/makensis"
Install file: "nsisconf.nsh" as ".test/nsisconf.nsh"
test_scripts(["test-scripts.log"], [".test"])
.test/makensis .test/Examples/FileFunc.nsi
Error initalizing CEXEBuild: invalid default uninstall icon
scons: *** [.test/Examples/FileFunc] Error 1
.test/makensis .test/Examples/FileFuncTest.nsi
Error initalizing CEXEBuild: invalid default uninstall icon
scons: *** [.test/Examples/FileFuncTest] Error 1
.test/makensis .test/Examples/Library.nsi
Error initalizing CEXEBuild: invalid default uninstall icon
scons: *** [.test/Examples/Library] Error 1
The first error is caused because -D__BIG_ENDIAN__ isn't passed to the compiler when compiling the tests. I'm not sure how to share results of the existing endianness test with the sconscript that builds and runs the tests.
The second error is fairly weird, I guess it is caused by not byte-swapping results from fread in generate_uninstall_icon_data?