Changeset 2233
- Timestamp:
- Mar 27, 2010, 3:18:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/README
r2232 r2233 98 98 files, split the test into several independent sub-functions. 99 99 100 C++ tests 101 --------- 102 103 Use the test::Suite class liberally. See other tests for examples of 104 typical usage. Add the test to EXTRA_PROGRAMS in Makefile.am. 105 106 Shell tests 107 ----------- 108 109 Use 'required=...' for setting a space delimited list of required 110 tools (see other tests and common_defs.sh). Include common_defs.sh, 111 with '. ./common_defs.sh'. 112 113 Add test to 'DISTRIBUTED_TESTS' in Makefile.am. In order to get the 114 lazycheck to behave as expected, declare accurate dependencies. If 115 test 'foo.sh', for example, depends on file 'bar.txt', create a make 116 rule: 'foo.sh: bar.txt'. 117 118 Make sure to set svn property 'svn:executable' on test. 100 119 101 120 ======================================================================
Note: See TracChangeset
for help on using the changeset viewer.