Commit graph

98 commits

Author SHA1 Message Date
Dale Weiler
835659ac48 Don't ignore return result from test_perform. 2013-01-30 06:17:57 +00:00
Dale Weiler
36c5722273 Rename 2013-01-30 05:35:07 +00:00
Dale Weiler
d201cfe6b4 Work in progress options cleanup. 2013-01-30 05:24:30 +00:00
Dale Weiler
531fbaf28c Remove user-defined success/failure messages for the testsuite. Instead print an aligned to console string containing the tmpl file name. This closes #90. 2013-01-27 08:39:42 +00:00
Dale Weiler
c750828632 Fix the testsuite bug, and implemented QCFLAGS enviroment variable support for setting the compile flags (the .tmpl rules takes precedence). 2013-01-02 22:16:02 +00:00
Dale Weiler
467a4740da Fix some issues 2013-01-02 16:34:55 +00:00
Dale Weiler
29db4a44ed Happy new years! 2013-01-01 05:08:55 +00:00
Dale Weiler
a6f51264fd Fixed another possible implementation specific bug thanks to this progressive splint idea :) 2012-12-28 12:43:08 +00:00
Dale Weiler
e4b8df2dc6 Fix another warning 2012-12-28 12:36:15 +00:00
Dale Weiler
d51a6ab3db Whitespace 2012-12-23 09:10:31 +00:00
Dale Weiler
5bc815c63f Revert "Whitespace fixes"
This reverts commit 4580dcf1ea.
2012-12-23 09:10:07 +00:00
Dale Weiler
4580dcf1ea Whitespace fixes 2012-12-23 08:42:53 +00:00
Dale Weiler
13003bf6af Wrapper around FILE to take advantage of MSVC "secure" CRT. We don't actually defend bounds checks (we just hack in the few ones to silent MSVC .. and to pass WinRT "native code" rules) 2012-12-23 06:05:22 +00:00
Dale Weiler
fa401b6f56 Cleanups and make compile with clang again with no warnings. 2012-12-22 08:22:50 +00:00
Dale Weiler
7d2a2f2ade cleanups and fixes that cppcheck found 2012-12-22 08:07:54 +00:00
Dale Weiler
c9e3c29a25 testsuite compiles on windows now (but doesn't work). Still need to implement bidirectional piping on stdout/stderr/stdin.. Which for some reason is incredibly stupidly complicated on windows. You need to setup SECURITY_ATTRIBUTES for each handle, do crazy handle duplication, and forking via CreateThread. Meanwhile the whole "concept" of threading is entierly broken in fundamental design on windows, which means you constantly need to store the current process handles for backup, and "inherit" from child process. It's just stupid, provide unix pipes via close/open and dup. Like normal people (they're simple and sane). 2012-12-21 01:59:34 -05:00
Dale Weiler
3c003bc168 Get gmqcc/qcvm compiling on windows again. Plus work in progress support for the testsuite on windows (does not compile yet). 2012-12-21 01:00:51 -05:00
Dale Weiler
3e8435783c More fixes 2012-12-20 08:45:54 +00:00
Dale Weiler
2bf2991ecb Typos 2012-12-19 21:37:37 +00:00
Dale Weiler
757617f89f Implemened -fail procedure type for testsuite. Essentially performs compilation on the idea that the compilation should fail, for the test to succeed, otherwise the test actually fails. 2012-12-19 21:35:47 +00:00
Wolfgang (Blub) Bumiller
a5e0542f95 cmd_options -> opts_cmd_t to make testsuite and executor compile again 2012-12-18 11:46:15 +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
f9b1d057b5 Moving all the global opts_ variables into a struct, now there's one global 'opts' struct 2012-12-06 13:23:53 +01:00
Dale Weiler
0dfd3136e5 Fix testsuite for -compile cases 2012-12-04 11:56:20 +00:00
Dale Weiler
8aff0f76c0 Fixes 2012-12-02 12:01:36 +00:00
Dale Weiler
628ed253b3 Improved testsuite diagnostics 2012-12-02 11:21:01 +00:00
Dale Weiler
79b8435877 Fix testsuite 2012-12-02 10:57:04 +00:00
Dale Weiler
ca52ecc20a Remove trailing whitespace for Blub. 2012-11-26 11:12:06 +00:00
Dale Weiler
967254f7f2 Fix the testsuite to properly error on failed loads 2012-11-25 21:12:26 +00:00
Wolfgang (Blub) Bumiller
93ae1a65fb Fixing propogate->propAgate typo in test.c 2012-11-25 15:39:49 +01:00
Wolfgang (Blub) Bumiller
de2e2bd6d3 s/succeed/succeeded/ 2012-11-25 15:36:20 +01:00
Wolfgang (Blub) Bumiller
f132166f46 Simplify some condition in the tester 2012-11-25 15:35:04 +01:00
Dale Weiler
81bb87c49b Sign conversion fixes in exec.c 2012-11-23 06:23:20 +00:00
Dale Weiler
20d65da321 change choice of diagnostics for ftepp to use lex_ctx instance. Cleaned up C++ style comments, and some other things ... 2012-11-23 02:29:01 +00:00
Dale Weiler
fcc57a1185 Fix memory leaks 2012-11-22 21:38:14 +00:00
Dale Weiler
fed86b73fd oops 2012-11-22 18:14:03 +00:00
Dale Weiler
79bac33a40 Remove requirement for E 2012-11-22 18:12:47 +00:00
Dale Weiler
ec50d8508e Make blub happy 2012-11-21 20:31:41 +00:00
Dale Weiler
1a5447ae8f less verbosity from test suite, just the way blub wants it 2012-11-21 20:26:18 +00:00
Dale Weiler
be8981a5c3 Implemented multi-line comparitive tests, fixed output of stdout/stderr pair logs. Some other cleanups, and stuff 2012-11-20 06:06:46 +00:00
Dale Weiler
245908f491 Added command line parsing to test-suite 2012-11-19 02:05:18 +00:00
Dale Weiler
b1c27e3bf2 stdout/stderr logging functional now. 2012-11-19 00:22:57 +00:00
Dale Weiler
4e85dfa71e Test suite now logs stdout/stderr to respective files 2012-11-18 22:59:23 +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
d0c6e0a481 sigh 2012-11-17 08:54:24 +00:00
Dale Weiler
e062c847cb Fix test suite 2012-11-17 08:50:09 +00:00
Dale Weiler
56987b41eb Test system works, and added some working tests! 2012-11-17 08:10:31 +00:00
Dale Weiler
bf3011a28d Actually commit the new test stuff 2012-11-17 02:55:33 +00:00