summaryrefslogtreecommitdiff
path: root/src/tet3/tcm/ictp.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-24tet3: if TET_RESFILE is not in the env, guess it from the program name.xts-0.99.0Peter Hutterer1-1/+10
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> [aplattner@nvidia.com: fixed whitespace to match surrounding code] Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2011-04-12more void cast removalPeter Hutterer1-25/+25
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-04-18tet: Fix "srcFile defined but not used" warnings.Aaron Plattner1-4/+0
These global arrays are used by the error-reporting macros to define the source file. I guess it's because using __FILE__ everywhere generated tons of copies of the file path in .data on ancient compilers. Nowadays, they end up with only one copy in .rodata. To facilitate that, make the arguments to the error reporting functions const. Propagate constness to eliminate additional warnings. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-18tet: Fix "sccsid defined but not used" warnings.Aaron Plattner1-4/+0
For example: addarg.c:18: error: ‘sccsid’ defined but not used These strings are seriously outdated, unused, and cause warnings. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-24tet: Pass the results file name through the environmentDan Nicholson1-55/+10
Instead of having the test program calculate the the results file and potentially getting out of sync with tcc, grab the name of the file from the TET_RESFILE environment variable.
2009-09-16tet: Actually generate the results files in the results directoryDan Nicholson1-8/+24
The results files (test logs) were being created in the build tree at the location of the test program. That's wrong. Now, tcc sets the environment variable TET_RESDIR, which the test program will use for initializing it's log.
2009-09-10Renaming sync/ to XSyncPeter Hutterer1-2/+2
2009-06-24Add config.h headers to all C files and mc stubsDan Nicholson1-0/+4
This should allow the autoconf defines to be used consistently.
2009-06-13tet: Create results file from test program nameDan Nicholson1-5/+33
When the results file is always named "tet_xres", we can't have multiple results files in the same directory. Instead, derive the results file from the test program name. It would be best if the scenario name was used, but I don't think that's available at the time the file is created.
2009-05-09tcc: Exit with a failure code if any of the tests failedDan Nicholson1-1/+1
tcc was always exiting successfully so long as all the processes it was governing were completing. However, we want it to fail if any of the processes (tests) fail. Changes have been made throughout the code to pass up results of tests to tcc. The tet_addresult function allows multiple integer return codes to be handled by prefering failing codes.
2005-10-31Importing TET 3.3h (unsupported) sources from ↵jamey1-0/+888
http://tetworks.opengroup.org/tet/tet3.3h-unsup.src.tgz. Omitted the contrib directory: we don't care, and the license situation wasn't entirely clear.