Commit graph

52 commits

Author SHA1 Message Date
Wolfgang Bumiller
62af1659eb adding testcase for various parentheses and ternary combinations which to test the newly refactored code; includes some cases not hit by xonotic 2013-01-18 15:22:53 +01:00
Wolfgang Bumiller
8697fa59f3 Added counter-stability test to the varargs testcase 2013-01-17 10:32:43 +01:00
Wolfgang Bumiller
a5029a510a test for vec/float 2013-01-13 20:49:27 +01:00
Wolfgang Bumiller
61b777f575 vararg testcases 2013-01-12 16:37:26 +01:00
Dale Weiler
f6197a965c Better enumeration test 2013-01-10 20:50:42 +00:00
Wolfgang Bumiller
4a063d3518 enum testcase 2013-01-10 21:38:32 +01:00
Wolfgang Bumiller
16e789419d testcase for mul_vf/fv 2013-01-08 21:55:34 +01:00
Wolfgang Bumiller
3f3ed9b6f0 added a testcase for -Olocal-temps 2013-01-07 19:09:15 +01:00
Dale Weiler
a421d9a33b Implemented computed goto + added goto test for testsuite (tests both normal and computed goto statements). 2013-01-02 21:32:57 +00:00
Wolfgang Bumiller
8331a2982d tests for __VA_ARGS__ 2013-01-02 14:16:42 +01:00
Wolfgang Bumiller
9315577be6 noref testcase must use -Wno-uninitialized-global 2012-12-28 19:09:06 +01:00
Wolfgang Bumiller
fcdff3180a Tests for the previous vector-liferange change 2012-12-24 12:43:16 +01:00
Wolfgang Bumiller
041f8a86d7 utf8 tests 2012-12-23 10:23:42 +01:00
Wolfgang Bumiller
eb952f1199 fix -fshort-logic to cast to true boolean values 2012-12-22 20:05:15 +01:00
Wolfgang Bumiller
7cf0ba5aa8 'noreturn' is now an attribute and parsed as [[noreturn]] 2012-12-22 18:09:56 +01:00
Wolfgang Bumiller
949cd9bb06 Test cases for -fcorrect-logic 2012-12-22 17:55:55 +01:00
Wolfgang Bumiller
d858237010 Adding truth-flags testsuite for strings 2012-12-22 17:36:06 +01:00
Dale Weiler
0be55824d4 Implemented preprocessing error directive tests (should fail) 2012-12-21 04:48:01 +00:00
Wolfgang Bumiller
712be84bba Testcases for -ftrue-empty-strings and -ffalse-empty-strings 2012-12-20 20:43:58 +01:00
Wolfgang Bumiller
79f3f980e9 vector initialization tests 2012-12-20 14:12:22 +01:00
Wolfgang Bumiller
a301796186 Added tests for 'noreturn' 2012-12-20 12:00:39 +01:00
Wolfgang (Blub) Bumiller
dd6f415a04 Tests for perl-logic _types_ 2012-12-18 16:57:38 +01:00
Dale Weiler
60807b677c Fix testsuite. Also added an additional test to the ternary stuff 2012-12-16 22:07:33 +00:00
Wolfgang (Blub) Bumiller
36fe4e2729 noref -compile testcase 2012-12-04 12:50:38 +01:00
Dale Weiler
4d1514257e Added preprocessor test 2012-12-02 23:16:44 +00:00
Dale Weiler
41881823b7 Add whitespace to ternary-fte template so it matches (expected behaviour) 2012-12-02 12:03:02 +00:00
Wolfgang (Blub) Bumiller
d39df54f8a Updating ternary testcase to use -fcorrect-ternary - added fte-style test as well for it 2012-12-02 11:52:25 +01:00
Wolfgang (Blub) Bumiller
b966cd4f4d More ternary fixes 2012-12-01 00:50:04 +01:00
Wolfgang (Blub) Bumiller
e6928c6b78 Checking in test for nested ternaries; this is more a test of the ast than the parser 2012-11-26 14:12:56 +01:00
Dale Weiler
967254f7f2 Fix the testsuite to properly error on failed loads 2012-11-25 21:12:26 +00:00
Wolfgang (Blub) Bumiller
4b71b74c6a Add the array tests, seem to have forgotten to add those... 2012-11-25 21:41:30 +01:00
Wolfgang (Blub) Bumiller
2884556fe3 multiple dots to start a field type, ie ..float for a fieldpointer field 2012-11-25 17:37:54 +01:00
Wolfgang (Blub) Bumiller
7cd6a477f8 Typedef testcases 2012-11-25 15:33:03 +01:00
Wolfgang (Blub) Bumiller
0d33939b1b operator &~= 2012-11-23 14:39:05 +01:00
Wolfgang (Blub) Bumiller
122e80cc4d operators &= and |= 2012-11-23 14:28:11 +01:00
Wolfgang (Blub) Bumiller
553f3df5df *= and /= operators 2012-11-23 14:24:58 +01:00
Wolfgang (Blub) Bumiller
5867167a70 Fixing operator precedence of suffices 2012-11-23 12:32:07 +01:00
Wolfgang (Blub) Bumiller
448d4ebd75 operator tests 2012-11-23 12:29:52 +01:00
Wolfgang (Blub) Bumiller
2f672cce1d Adding short-logic testcase 2012-11-22 20:32:40 +01:00
Wolfgang (Blub) Bumiller
014ae1425e Test for extended parameters 2012-11-22 19:36:45 +01:00
Wolfgang (Blub) Bumiller
c5f8fbb871 Collapsing the switch tests into 1 2012-11-22 19:28:45 +01:00
Wolfgang (Blub) Bumiller
c0d46ba893 drop the E line from break.tmpl 2012-11-22 19:28:38 +01:00
Wolfgang (Blub) Bumiller
0500181327 Collapse the break tests into 1 2012-11-22 19:25:45 +01:00
Wolfgang (Blub) Bumiller
57e7303cf4 Adding break/continue testcases 2012-11-20 00:21:03 +01:00
Wolfgang (Blub) Bumiller
6bc72a0262 *sigh* 2012-11-20 00:20:42 +01:00
Wolfgang (Blub) Bumiller
62ff522013 Fixing switch testcase 7 2012-11-20 00:16:49 +01:00
Wolfgang (Blub) Bumiller
5778b6ffb6 switch testcases 2012-11-19 23:50:47 +01:00
Dale Weiler
091173341e Added test for variadic arguments 2012-11-19 02:11:24 +00:00
Dale Weiler
55491bbc23 Added more tests, fixed existing ones, and some more test system changes. 2012-11-17 09:51:55 +00:00
Dale Weiler
49cb2bcda2 Actually add the tests 2012-11-17 08:31:23 +00:00