summaryrefslogtreecommitdiff
path: root/Examples/README
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@glug.org>2000-09-04 02:27:18 +0000
committerThien-Thi Nguyen <ttn@glug.org>2000-09-04 02:27:18 +0000
commite7f251acdec3ec02aae010e5a36f40955841ccf7 (patch)
tree8f3448608454b9f336ece6d3ba3494cbd646e01d /Examples/README
parent59ec687725274ed72b85c19662fd79b8eeb692f2 (diff)
downloadswig-e7f251acdec3ec02aae010e5a36f40955841ccf7.tar.gz
Add simple instructions for making an example do double-duty
as part of the testing framework. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/README')
-rw-r--r--Examples/README13
1 files changed, 9 insertions, 4 deletions
diff --git a/Examples/README b/Examples/README
index 555963869..3a476a79a 100644
--- a/Examples/README
+++ b/Examples/README
@@ -11,13 +11,14 @@ notes related to each example.
The Examples directory is currently quite incomplete because it
is being reorganized. A more complete set of examples can be found
-in the SWIG1.1p5 distribution (most of which should still work with
+in the SWIG1.1p5 distribution (most of which should still work with
SWIG1.3).
Note: All of the examples rely upon the Makefile in this directory.
You may need to edit it to reflect the configuration of your machine
in case the configure script guesses incorrect settings.
+
*** Special note concering C++ ***
The configure script is currently unable to handle all of the possible
@@ -38,8 +39,12 @@ the rules of thumb for making C++ work:
- RTM (sorry)
-
-
-
+*** Special note for SWIG Maintainers ***
+When you add an example, consider arranging for the example to be also
+useful as part of the SWIG testing framework. To do this, include in
+the example makefile a target "check" ("check: all" is sufficient for a
+first pass), and add an invocation to ../Makefile.in under target
+"check-examples" (or whatever is appropriate). Later, we can add or
+expand the actions under target "check" to do more in-depth testing.