It seems to epicfail on my machine
>> No ././test_fail_TEST_cleanup.sh to run
>>> No ././test_fail_TEST_setup.sh to run
>>> test ./test_fail_TEST
Test program ./test_fail_TEST:
* "test the test code: this should fail": .!{
test_fail_TEST.cc:43: in virtual void test_cases::FailTest::run(): Expected
'stringify("this comparison")' = 'this comparison' to equal 'stringify("should
fail")' = 'should fail' (difference starts at offset 0, got 'should fai',
expected 'this compa') (no further information)
} NOT OK
(repeat): .!{
test_fail_TEST.cc:43: in virtual void test_cases::FailTest::run(): Expected
'stringify("this comparison")' = 'this comparison' to equal 'stringify("should
fail")' = 'should fail' (difference starts at offset 0, got 'should fai',
expected 'this compa') (no further information)
} NOT OK>>> test ./test_fail_TEST returned 1
>>> exiting with error for test ./test_fail_TEST
>>> cleanup for test ./safe_ofstream_TEST
>>> setup for test ./safe_ofstream_TEST
>>> test ./safe_ofstream_TEST
Test program
/var/tmp/paludis/sys-apps-paludis-0.34.3/work/paludis-0.34.3/paludis/util/.libs/lt-safe_ofstream_TEST:
* "new file": .. OK (0ms)
* "existing file": .. OK (0ms)
* "existing sym": .. OK (0ms)
* "existing dir": . OK (0ms)
* "existing unwriteable file": .!{
safe_ofstream_TEST.cc:105: in virtual void test_cases::ExistingPermTest::run():
Expected exception of type 'SafeOFStreamError' not thrown
} NOT OK
* "write fail": ... OK (0ms)
>>> test ./safe_ofstream_TEST returned 1
>>> exiting with error for test ./safe_ofstream_TEST
/var/tmp/paludis/sys-apps-paludis-0.34.3/work/paludis-0.34.3/paludis/util/safe_ifstream_TEST.epicfail:
line 1: syntax error near unexpected token `>'
/var/tmp/paludis/sys-apps-paludis-0.34.3/work/paludis-0.34.3/paludis/util/safe_ifstream_TEST.epicfail:
line 1: `>>> cleanup for test /safe_ifstream_TEST'
I'm using gcc 4.3.3
CFLAGS= -O2 -march=native -pipe
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ciaran McCreesh
Sent: February 9, 2009 6:07 PM
To: [email protected]; [email protected]
Subject: [paludis-user] Paludis 0.34.3 Released
Paludis 0.34.3 has been released:
* Unfortunately std::ifstream and std::ofstream are allowed to fail
in unobvious ways when given a duff file. In particular, gcc won’t
error out when a std::ifstream is created for a directory until
the first read occurs. So we write our own stream buffer classes
that do error checking and throw useful exceptions on error, and
use those instead.
--
Ciaran McCreesh
This message is intended only for the use of the person or organization to
which it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If the reader of
this message is not the intended recipient, or responsible for delivering the
message to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify the
sender immediately by email and delete the original message immediately. The
sender, its subsidiaries and affiliates, do not accept liability for any
errors, omissions, corruption or virus in the contents of this message or any
attachments that arise as a result of e-mail transmission. Thank you.
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user