install examples

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32143 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-02-13 12:47:05 +00:00
parent 5898fc0ac6
commit 091dc5af99
3 changed files with 10 additions and 4 deletions

View file

@ -6,6 +6,8 @@
* TestFramework/README:
Change test status reports to friendlier text.
Record file and line number for each test.
* GNUmakefile.in:
install examples.
2011-01-13 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -140,7 +140,9 @@ INSTANCE_DOC_MAKE_FILES = autogsdoc.make gsdoc.make install_files.make \
javadoc.make latex.make texi.make
TEST_FRAMEWORK_FILES = \
GNUmakefile.in Testing.h ObjectTesting.h README
GNUmakefile.in Testing.h ObjectTesting.h README \
example1.m example2.m example3.m example4.m example5.m \
example6.m example7.m
# Decide which version of the GNUstep.conf file we are going to
# install; the standard one, or the strict gnustep-make v2 one ?

View file

@ -102,9 +102,11 @@ actual test code.
Groups of tests should be placed between calls to the START_SET() and
END_SET() macros.
You should look at the example test files in the same directory as
this README for how to write test cases, and you should examine Testing.h
to see full documentation of the range of macros provided.
You should look at the example test files in the
$GNUSTEP_MAKEFILES/TestFramework directory
for how to write test cases, and you should examine Testing.h
iin the same directory to see full documentation of the range
of macros provided.
The main workhorse of the test framework is the pass() function, which has
two arguments ... first an integer expression, and second a string