CVS commit: src/testsuite/plain_prog
Status: Alpha
Brought to you by:
jmmv
From: Julio M. M. V. <jm...@us...> - 2004-07-09 11:26:22
|
Module name: buildtool Committed by: jmmv Date: Fri Jul 9 11:26:13 UTC 2004 Added Files: src/testsuite/plain_prog: Config.bt FlatLogic.bt SparseLogic.bt test.sh Log Message: Replace the old and (completely?) useless testsuite with something more sophisticated. The goal is to have a full suite of (regression) tests that verify as most parts of Buildtool as possible (in the aim of TDD). This way one can add new features and check that they not break previous funcionality. It'll also be easier to check all the features before a new version is released. Up until now, it was a PITA, as I had to manually build and install Buildtool in several platforms, and check different projects that use it, all by hand. You can imagine that this is a very error prone (and boring) process. Each test should be able to execute a set of operations and then verify that the results are correct to what's expected. These steps are handled from the 'test.sh' script inside each subdirectory. By running 'test.sh' from the top directory, all tests are executed and a summary is printed at the very end showing which ones went successfully and which ones failed. This still lacks a lot of work (i.e., many more tests have to be added), but the basic functionality is already there. To generate a diff of this commit: cvs rdiff -r0 -r1.1 src/testsuite/plain_prog/Config.bt \ src/testsuite/plain_prog/FlatLogic.bt \ src/testsuite/plain_prog/SparseLogic.bt src/testsuite/plain_prog/test.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |