Dale Weiler
|
a1f1ec6d65
|
Fix testsuite
|
2013-08-26 13:05:54 -04:00 |
|
Dale Weiler
|
ccd8f1acc6
|
Added style + indent rule, fixed some indenting as well
|
2013-08-19 02:16:16 +00:00 |
|
Dale Weiler
|
c64005966f
|
Remove some trailing whitespace
|
2013-08-17 23:43:41 +00:00 |
|
Dale Weiler
|
772dbfae26
|
Make it compile in visual studio again, without warnings.
|
2013-08-16 09:03:36 +00:00 |
|
Wolfgang Bumiller
|
3ece4a964f
|
remove the 'opts' global from test.c and exec.c as opts.c defines it and is linked into both the testsuite and qcvm
|
2013-08-14 12:09:26 +02:00 |
|
Dale Weiler
|
bee14a6df7
|
Some bug fixes
|
2013-08-14 07:19:49 +00:00 |
|
Dale Weiler
|
69c4dce477
|
Testsuite now returns the correct value on test failures (also prints how many tests failed .. if any fail)
|
2013-08-01 07:20:02 +00:00 |
|
Dale Weiler
|
6c0c7aac0f
|
cherry-pick diagnostics testsuite into cooking. We can now create compiler diagnostic tests, i.e if the compiler errors on syntax, we can match the error messages.
|
2013-07-28 00:02:48 +00:00 |
|
Dale Weiler
|
d411d60685
|
Eeasy fix for that
|
2013-07-21 22:07:22 +00:00 |
|
Dale Weiler
|
2bfea938b3
|
One last one
|
2013-07-21 22:00:07 +00:00 |
|
Dale Weiler
|
bbffdde2dc
|
Fix some bugs and a memleak in the testsuite.
|
2013-06-22 01:56:22 +00:00 |
|
Dale Weiler
|
063c50fce4
|
More bug fixes and dead code elimination
|
2013-06-22 01:23:59 +00:00 |
|
Dale Weiler
|
d39fb653aa
|
Fix some more bugs, and use dup2 because dup leaks on some implementations.
|
2013-06-22 01:14:13 +00:00 |
|
Dale Weiler
|
684112474b
|
cppcheck had the right idea, but the wrong scope on this one.
|
2013-06-21 23:29:50 +00:00 |
|
Dale Weiler
|
11179a2a71
|
Major header reworking, this respects the namespaces properly. Makes object dependency more obvious, allows for better make caches, and prevents misuse of library features, i.e use con_* instead of printf.
|
2013-06-04 02:47:07 +00:00 |
|
Dale Weiler
|
06cccbb646
|
Fix a divide by zero error
|
2013-06-02 09:50:39 +00:00 |
|
Dale Weiler
|
9af3c502da
|
Major utility rewrite for compiler memory utilization statistics. Cleanups everywhere, no more NOTRACK stuff, all allocates are tracked. Major identifier cleanups as well.
|
2013-06-02 08:21:06 +00:00 |
|
Dale Weiler
|
0b6269f607
|
column printing for warnings and errors now
|
2013-05-30 19:36:01 +00:00 |
|
Dale Weiler
|
f892b32335
|
Major export cleanup. Anything that was exported but wasn't used outside where it was implemented has been turned into static, and their exports have been removed. This actually makes the compiler compile slightly faster.
|
2013-05-29 03:29:04 +00:00 |
|
Wolfgang Bumiller
|
4c4aa5534c
|
dup is marked as warn-unused-result
|
2013-04-27 17:51:51 +02:00 |
|
Dale Weiler
|
10dd7aacfe
|
Apply some static where it belongs
|
2013-04-25 03:34:42 +00:00 |
|
Wolfgang Bumiller
|
3a4aba0b31
|
Grrrr
|
2013-04-24 17:47:42 +02:00 |
|
Dale Weiler
|
8ffdfbfd97
|
A nicer way of doing this
|
2013-04-24 14:08:58 +00:00 |
|
Dale Weiler
|
5d88216f38
|
remove irrelevant comment
|
2013-04-24 14:06:43 +00:00 |
|
Dale Weiler
|
19c57c03cc
|
free the memory for asprintf
|
2013-04-24 14:05:09 +00:00 |
|
Dale Weiler
|
a0f6b00a15
|
Shitty testsuite support for windows the hacky way because there exists no sane simple way of redirecting pipes without a heafty chunk of code.
|
2013-04-24 14:04:00 +00:00 |
|
Dale Weiler
|
489ad486bc
|
Get it compiling in visual studio again.
|
2013-04-24 01:43:53 +00:00 |
|
Dale Weiler
|
160e7cf7ee
|
Remove trailing whitespace
|
2013-04-21 10:24:55 +00:00 |
|
Dale Weiler
|
07e335fdb8
|
Better output on failure
|
2013-04-21 06:46:39 +00:00 |
|
Dale Weiler
|
e27eebe0f9
|
More preprocessor testsuite support and our first preprocessor test!
|
2013-04-21 06:36:52 +00:00 |
|
Dale Weiler
|
c53fa31a0a
|
More preprocessor testing support for the testsuite.
|
2013-04-21 06:23:40 +00:00 |
|
Dale Weiler
|
79282bfee0
|
Initial preprocessor procedure option for testsuite implemented.
|
2013-04-21 06:20:17 +00:00 |
|
Dale Weiler
|
57d2876021
|
I did it, I did it, I did it, horray!, Thanks Dora .. I mean Hirato.
|
2013-04-21 06:09:20 +00:00 |
|
Dale Weiler
|
485866552d
|
Some work in progress preprocessing test work
|
2013-04-21 05:50:21 +00:00 |
|
Wolfgang Bumiller
|
46752af74b
|
parser_const_string now uses hashtables; hashtables may want to dup an empty string without it becoming NULL - also replacing ir_strdup with the new util_ one
|
2013-04-17 18:23:30 +02:00 |
|
Dale Weiler
|
18fad16a7d
|
cleanups
|
2013-04-14 01:41:13 +00:00 |
|
Dale Weiler
|
7ba7fd5968
|
Fet rid of explicit file stream flushes, streams are flushed on exit, which we can always gurantee.
|
2013-04-14 01:32:29 +00:00 |
|
Dale Weiler
|
ccc2eb3298
|
More function flatening
|
2013-04-14 01:14:14 +00:00 |
|
Dale Weiler
|
bd54fe03b9
|
Get rid of the bullshit log stuff
|
2013-03-07 22:09:14 +00:00 |
|
Dale Weiler
|
f2380a2faa
|
They see me roll 'n, casting, so far they just think I'm implicit casting dirty, implicity casting dirty ..
|
2013-03-07 21:38:46 +00:00 |
|
Dale Weiler
|
9f06e0e017
|
Print the number for the test itself in the test-suite. The log10 can be improved.
|
2013-02-25 10:01:36 +00:00 |
|
Dale Weiler
|
b5ead871ef
|
Consider cppchecks (performance) warnings.
|
2013-02-10 13:47:50 +00:00 |
|
Dale Weiler
|
8d59d7029d
|
Cleanup cargocult directory and file specific things, to fs.c (renamed file.c which also contains directory handling stuff). Also cleaned up some stuff, and added proper end comments to conditional inclusion stuff.
|
2013-02-08 12:06:59 +00:00 |
|
Dale Weiler
|
ecd9e3be97
|
Make the testsuite C++ compatible.
|
2013-02-06 10:52:09 +00:00 |
|
Dale Weiler
|
a1fac66587
|
Added definition file for test-suite, used by default by the test system. To override the defs globally, use -defs=file from the command line for the test-suite. To override the defs per-file, use F: -no-defs flag in the test template file.
|
2013-01-30 08:04:56 +00:00 |
|
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 |
|