Commit graph

25 commits

Author SHA1 Message Date
Thomas Faber
7849947ca5 [PSEH_TEST]
- Fix incorrect size in memcmp. Spotted by clang

svn path=/trunk/; revision=64123
2014-09-12 10:31:48 +00:00
Thomas Faber
104275db8c [PSEH_TEST]
- Add test case that uses a significant amount of stack in the except handler
CORE-8469 #resolve

svn path=/trunk/; revision=63959
2014-08-26 21:49:06 +00:00
Pierre Schweitzer
9c0ff4b952 [PSEH2]
Properly declare with register

svn path=/trunk/; revision=63151
2014-05-04 09:43:38 +00:00
Timo Kreuzer
73512e7ad4 [PSEH_TEST]
#if out a test for C++. This test only shows the limitations of PSEH and does not provide a satisfying result anyway.

svn path=/trunk/; revision=62629
2014-04-05 16:49:17 +00:00
Timo Kreuzer
2afcfa6dbd [PSEH2_TEST}
Use the tests with C++, too.

svn path=/trunk/; revision=62620
2014-04-05 14:24:16 +00:00
Timo Kreuzer
fe029c9c69 [PSEH2_TEST]
Add another test for non-volatile values. Note that PSEH does NOT work like real SEH here, but this is expected and can not be fixed without special compiler support. Do NEVER DO this kind of stuff inside SEH blocks! Use volatile variables in this case.

svn path=/trunk/; revision=62268
2014-02-20 20:20:26 +00:00
Timo Kreuzer
1dce7e61b1 [PSEH2_TEST]
Add a test that fails with PSEH3

svn path=/trunk/; revision=60836
2013-11-02 16:48:45 +00:00
Amine Khaldi
c71475e3bb * Addendum to r58214.
svn path=/trunk/; revision=58290
2013-02-05 17:54:22 +00:00
Timo Kreuzer
5171e4abb2 [PSEH2_TEST]
Fix build with PSEH3

svn path=/trunk/; revision=58056
2012-12-30 13:35:30 +00:00
Amine Khaldi
7d3f5052d0 * Addendum to r55855.
svn path=/trunk/; revision=55856
2012-02-25 17:23:58 +00:00
Thomas Faber
4421e839ea [PSEH2_TEST]
- Suppress unhelpful warnings
- Remove unneeded compiler flags

svn path=/trunk/; revision=54495
2011-11-24 14:07:44 +00:00
Jérôme Gardou
e293f3d468 [CMAKE]
- rostests side of r53585

svn path=/trunk/; revision=53586
2011-09-04 17:33:34 +00:00
Jérôme Gardou
9482663bde [CMAKE/ROSTESTS]
Addendum to 51749

svn path=/trunk/; revision=51750
2011-05-14 20:55:36 +00:00
Jérôme Gardou
34d5d94b0a [ROSTESTS/CMAKE]
- addendum to 51731

svn path=/trunk/; revision=51733
2011-05-14 14:03:44 +00:00
Sylvain Petreolle
6d8a71b4a4 [CMAKE]
Add apitests and pseh2_test.


svn path=/trunk/; revision=50277
2011-01-03 11:24:54 +00:00
Stefan Ginsberg
5c57066048 - Remove accidental change from 42918
svn path=/trunk/; revision=43030
2009-09-11 18:18:21 +00:00
Stefan Ginsberg
77fc26f56a - Deprecate TAG() in rostests
svn path=/trunk/; revision=42918
2009-08-24 17:41:36 +00:00
KJK::Hyperion
f5828613f7 Tests to exercise support for calling stack-allocated trampolines. All three tests pass
svn path=/trunk/; revision=42738
2009-08-16 16:50:35 +00:00
KJK::Hyperion
3728596a8e modified pseh2/psehtest.c
We need a bigger boat. Improve the test for bug #4663

svn path=/trunk/; revision=41814
2009-07-08 20:28:33 +00:00
KJK::Hyperion
d6dcda9708 modified tests/pseh2/psehtest.c
Don't use ok() when we mean trace()
   Fix the stack after corruption of the registration list
   Revised figures: "only" FOURTY of ninety-three tests fail with a corrupted registration list

svn path=/trunk/; revision=41811
2009-07-08 19:40:54 +00:00
KJK::Hyperion
dfccee750d modified tests/pseh2/psehtest.c
Test case for bug #4663 (still unsolved)
   New sanity check for correct unlinking of the frame. !!!EIGHTY TESTS OUT OF NINETY-THREE CURRENTLY FAIL THIS!!!

svn path=/trunk/; revision=41810
2009-07-08 19:30:02 +00:00
KJK::Hyperion
7c38c73a99 modified tests/pseh2/psehtest.c
Don't obscure the names of testcases with macro trickery. It gets old fast
   Regression test for #4004 (fixed in r38668)

svn path=/trunk/; revision=38669
2009-01-09 16:38:28 +00:00
KJK::Hyperion
030aa56625 modified tests/pseh2/psehtest.c
finally_13 test re-enabled, as it doesn't crash anymore
   finally_14 test fixed. Now we know how exceptions thrown in a __finally are supposed to be handled
   PSEH test suite now has 91 tests and passes all of them with both GCC and Visual C++

svn path=/trunk/; revision=38461
2008-12-30 04:04:51 +00:00
KJK::Hyperion
456b1c9e58 Now a single test suite with 89 tests, instead of 89 test suites with 1 test each
Added dummy implementations of sanity checks for compilers/architectures I didn't write them for yet. Long story short: now compiles and runs with Visual C++, both x86 and x64
Added copyright/license header

svn path=/trunk/; revision=38339
2008-12-24 23:22:04 +00:00
KJK::Hyperion
dbd93ad414 PSEH 2 test suite - around 90 tests so far, and more coming
svn path=/trunk/; revision=38311
2008-12-23 19:47:30 +00:00